[SunHELP] (no subject)

Subhasis Gupta subhasisg at yahoo.com
Fri Aug 23 00:21:47 CDT 2002


Hi All,
I am having a problem with one of my web servers. We
are running web server on one of the boxes. Some of
the cgi programs connect to the database and fetch
some details for the client. But many a time due to
the database being slow, there is a timeout and the
child processes are still staying alive. At any point
of time I am getting the following output if I give a
ps -ef:
12102 12101   TS  29  0 12:28:26 ?        0:08
oracleUTIGEN
(DESCRIPTION=(LOCAL=YES)(ADDRESS=PROTOCOL=beq)))
wwwcheck 12098 12073   TS  70  0 12:28:26 ?       
0:00 /usr/ns-home/cgi-bin/003 3 1003771857
wwwcheck 12101 12098   TS  85  0 12:28:26 ? 0:00
COMMAND DISPLAYED HERE
There are many rown like this and once we shutdown the
web server, these processes get killed. 
I have added the following line : 
trap "kill -9 $$; exit" 1 2 3 4 5 6 7 8 10 11 12 13 14

in the cgi program. But still the processes are not
getting killed. 
Can anyone please help?

Thanks to all,
Subhasis
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



More information about the SunHELP mailing list