{{tag>category:"OpenInsight 32-Bit" author:"Paxton Scott" author:"Jared Bratu"}} [[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]] ==== 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 [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=9F7003B739757987852576AA005C7FBF|View this thread on the Works forum...]]