Hi,

These files are generated by each woa bootstrap cmd file to parse the command 
line args and are generally deleted upon the task's completion.
The name of each file is composed this way :  <application's 
name>-<random>-<number>.txt/cmd
The number is fixed in the cmd, the only "variable" part is the random number.
Based on the files in my Temp dir, i suspect that the ms-dos %RANDOM% generator 
is not so random : 
I think that when starting multiple instances at the same time, more that one 
random part with the same value is generated.
This way, one instance is overwriting existing cmd files... which results in 
inconsistent batch scripts and leads to infinite loops we get on our production 
servers.
Note that we didn't had this problem on Win2K but only on Win2K3.
Adding a timestamp to the temp files should solve the problem

Regards

Frédéric JECKER
GIP s...@ris

Le 5 janv. 2010 à 05:32, Cheong Hee (Gmail) a écrit :

> Hi Frederic
>  
> I have not seen this problem in WO5.2/Win2K.  But then I am using Apache not 
> IIS.  I am just curious could it due to IIS that is the one keep writing the 
> file.  Just 2c.
>  
> Cheers
>  
> Cheong Hee
> ----- Original Message -----
> From: Frédéric JECKER
> To: [email protected]
> Sent: Monday, January 04, 2010 10:44 PM
> Subject: Strange temporary files behaviour
> 
> Hi,
> 
> On some of our production servers, wotaskd creates temporary files that 
> randomly keep on growing until a total server crash.
> We are running WO 5.2/IIS/Win2K3.
> 
> The C:\Document ans settings\USER\Local Settings\Temp folder contains two 
> kind of files :
> ".cmd" files named after the application's instances followed by an ID ex : 
> Application-11538-1.cmd
> Their content is variable ie : 
> 
> @echo off
> :PARSARGS
> if not '%1'=='' (
> echo %1 >> 
> C:\DOCUME~1\Symaris\LOCALS~1\Temp\ApplicationCariatides-11538-8.TXT 
>     shift
>     goto :PARSARGS
> )
> set JVARGS=
> for /F "tokens=*" %%a in ('findstr /R "\-D.*EqualsDelimiterToken.*" 
> C:\DOCUME~1\Symaris\LOCALS~1\Temp\ApplicationCariatides-11538-8.TXT') do if 
> not '%%a'=='' set JVARGS=!JVARGS!%%a 
> if defined JVARGS echo %JVARGS:EqualsDelimiterToken==% > 
> C:\DOCUME~1\Symaris\LOCALS~1\Temp\ApplicationCariatides-11538-10.TXT 
> set NONXARGS=
> for /F "tokens=*" %%a in 
> (C:\DOCUME~1\Symaris\LOCALS~1\Temp\ApplicationCariatides-11538-8.TXT) do if 
> not '%%a'=='' set NONXARGS=!NONXARGS!%%a
> if defined NONXARGS echo %NONXARGS:EqualsDelimiterToken==% >> 
> C:\DOCUME~1\Symaris\LOCALS~1\Temp\ApplicationCariatides-11538-9.TXT 
> 
> For each ".cmd" file a text file is generated containing the app command line 
> args (the textfile is merely generated by the cmd file)
> 
> Sometimes (I didn't find out why), something gets wrong and the text file 
> keeps on growing growing growing.... 
> 
> What are these files for ? is it possible to deactivate their execution ... 
> or solve the growing problem ;-)
> Maybe a clue, some of the ".cmd" files content seems like it has been 
> overwritten and contains duplicates parts/labels.. which could maybe lead to 
> infinite loops.
> 
> Thanks
> 
> Frédéric JECKER
> GIP s...@ris
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-deploy/chng34%40gmail.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to