oecgi2 - orphaned (OpenInsight 32-Bit)
At 13 JAN 2010 11:50:20AM Paxton Scott wrote:
Greetings!
I use Apache2 and oecgi2 with a 3 oengine license. Works fine, mostly.
Occasionaly, something goes wrong, and a copy of oecig2 is abandoned
and never closes. Have to use Task Manager to close it.
I think this happens when the browser makes another request (usually a search) before the results of the first is returned.
I wonder if there are techniques to detect an abandoned oecgi2 and means to close it.
Any ideas?
Have fun!
Paxton
At 13 JAN 2010 01:31PM Jared Bratu wrote:
When this happens issue the command:
netstat -a -n -o
The -o argument will tell you the owning PID. Correlate the PID from task manager to any open TCP ports. Once you have the IP address associated with the hung connection you could look back in the server logs to see what the connection did.
Also, apache should have a max run time parameter for CGI. I believe it is max_execution_time. Apache should clean up CGI apps if they exceed this setting.
At 14 JAN 2010 01:35PM Paxton Scott wrote:
Jared,
Just what I wanted to know! Thanks.
Have fun!
Paxton