[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] Defunct



Hello,

It has to be an update.  I had mentioned it a while back, with not much response.  I am having the same issue with my Raq 4s after installing the December and January patches.  Unfortunatly, I applied them one right after another, so I don't know which on caused the issue.  I tried uninstalling the "Apache & mod_ssl Security Update 2.0.1 " pkg, but it didn't help.

Anyway, to get around it, I just added a cron job to kill them.  The normal kill doesn't work, cause the process is already Defunct, but if you do it like this, it should work:

Create a .sh script:
#!/bin/sh
kill -9 `ps -ef | grep defunct | grep FILENAME(of defunct process) | awk '{print $3}'`

So, if the process is called banner.cgi it would look like this:

#!/bin/sh
kill -9 `ps -ef | grep defunct | grep banner.cgi | awk '{print $3}'`


Then, add it to crontab to run every 15 minutes or more often if you have a lot of hits.

Hope this helps.
James

The following message was sent by "Wai Chong, Wong" <waichong@xxxxxxxxxxx> on Fri, 20 Feb 2004 17:07:02 +0800.

> Anyone know <defunct> process keep on happening raq 550?
> 
> Anyway to tackle this?
> _______________________________________________
> cobalt-security mailing list
> cobalt-security@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-security
> 





---------------------------------------------------------------
http://www.customlynx.com - Low cost web authoring and hosting!
Get your FREE E-mail address or give them out! (culymail.com)