Date:  11/12/2010 02:16:08 PM Msg ID:  004215
From:  Martin Martin Thread:  004215
Subject:  Error in a script
Hi,
I got a strange problem. One of my script seem to lock channel.
When I'm looking in the channels status, I can see "BUSY".... then "NOT RESPONDING".
I see the name of the script who blocking the channel.

I have no error in the foxweb control center.

so... I changed the 1st line of my script and the last line with this :
 

=STRTOFILE("START"+CHR(10)+CHR(13),"debug.log", .t.)

[...]
Response.Write(lchtmlout)

=STRTOFILE("END"+TRANSFORM(SECONDS()-lnSeco,"999.99999")+CHR(10)+CHR(13),"debug.log", .t.)



After 2min of users trafic... I open the Log file ... and I can see START and END of each request??
the execution time never go over 0.02000 secound

then when I look in the foxweb control center under fwstart.log
I see :

11/12/2010 17:07:54 Restarting Channel 2
11/12/2010 17:08:08 Killed Channel 3: /statusbar.fwx
11/12/2010 17:08:13 Killed Channel 4: /statusbar.fwx
11/12/2010 17:08:20 Restarting Channel 3
11/12/2010 17:08:24 Restarting Channel 4
11/12/2010 17:08:38 Killed Channel 1: /statusbar.fwx
11/12/2010 17:08:43 Killed Channel 2: /statusbar.fwx
11/12/2010 17:08:50 Restarting Channel 1
11/12/2010 17:08:54 Restarting Channel 2
11/12/2010 17:09:08 Killed Channel 3: /statusbar.fwx
11/12/2010 17:09:13 Killed Channel 4: /statusbar.fwx
11/12/2010 17:09:20 Restarting Channel 3
11/12/2010 17:09:24 Restarting Channel 4
11/12/2010 17:09:38 Killed Channel 1: /statusbar.fwx
11/12/2010 17:09:43 Killed Channel 2: /statusbar.fwx
11/12/2010 17:09:50 Restarting Channel 1
11/12/2010 17:09:54 Restarting Channel 2
11/12/2010 17:10:08 Killed Channel 3: /statusbar.fwx
11/12/2010 17:10:13 Killed Channel 4: /statusbar.fwx
11/12/2010 17:10:20 Restarting Channel 3
11/12/2010 17:10:24 Restarting Channel 4
11/12/2010 17:10:38 Killed Channel 1: /statusbar.fwx
11/12/2010 17:10:43 Killed Channel 2: /statusbar.fwx
11/12/2010 17:10:50 Restarting Channel 1
11/12/2010 17:10:54 Restarting Channel 2
11/12/2010 17:11:08 Killed Channel 3: /statusbar.fwx


So ...
How can I debug that script ?
What causing this error ?

Thanks for your help

Martin