From: brent w. <bw...@in...> - 2000-11-10 23:01:45
|
Hmm - attached are a couple of patches that may help cleanup properly in error cases. The one for httpd.tcl seems mandatory, but the one for cgi.tcl I can't see how it fixes the "Too many cgi" problem. >>>petrus vloet said: > Hi Brent, > > Although cgi is running I have the feeling it is not so stabil as before. > > I adapted Dave Maggianos Bugtracking Database and wrapped it and have now +/ - 15 users accessing this tool > > One of them reported following error: > > Got the error Service Temporarily Unavailable > while trying to obtain /oca/a/bugt.cgi. > Too many CGI's > > The error file got many such entries: > > [07/Nov/2000:15:34:57] nosock bgerror {Tue Nov 07 15:34:57 MET 2000 > can't unset "data": no such variable > while executing > "unset data" > (procedure "HttpdCloseFinal" line 14) > invoked from within > "HttpdCloseFinal $sock" > (procedure "Httpd_SockClose" line 44) > invoked from within > "Httpd_SockClose sock8 1 timeout" > ("after" script)} > [07/Nov/2000:15:35:16] sock8 timeout /oca/a/bugt.cgi > [07/Nov/2000:15:35:49] sock8 timeout > [07/Nov/2000:15:35:49] sock8 CloseError {can not find channel named "sock8" } > [07/Nov/2000:15:35:49] nosock bgerror {Tue Nov 07 15:35:49 MET 2000 > can't unset "data": no such variable > while executing > "unset data" > (procedure "HttpdCloseFinal" line 14) > invoked from within > "HttpdCloseFinal $sock" > (procedure "Httpd_SockClose" line 44) > invoked from within > "Httpd_SockClose sock8 1 timeout" > ("after" script)} > [07/Nov/2000:15:36:07] sock8 timeout /oca/a/bugt.cgi > [07/Nov/2000:15:36:08] sock8 Error 504 /oca/a/bugt.cgi {Too many CGI's} /oc a/a/bugt.cgi > [07/Nov/2000:15:36:16] sock8 Error 504 /oca/a/bugt.cgi {Too many CGI's} /oc a/a/bugt.cgi > > Do these entries cause an unproper cleaning of the Cgi array? > > What can cause an overflow ? > > The operations do not take that long. > > For what do I have to look for in David Maggianos code. > > Forget to close a socket for example? > > Another indices might be that rather often there comes a popup window with t he message > > ... contained no data .. > > I will not restart server and bugt to clean up everything. > > I'm getting acustomed with your debug URL. > > For debugging purposes I can print out some additional stuff when this happe ns again in the future. > > Piet > > -- > #-------With best regards, Mit freundlichen Gruessen, Met vriendelijke groet, ------ > # Piet Vloet > # Siemens AG Austria > # Boschstrasse 10 Phone : +43-51707-42906 > # A-1190 Vienna Fax : +43-51707-52606 > # mailto:pet...@si... WWW:http://www.siemens.at > > > -- Brent Welch <bre...@in...> http://www.interwoven.com |