[axxs-sysadmin] 31 find processes stuck - nzindy

andy nicholson intothemist at gmail.com
Mon Apr 9 09:39:10 UTC 2007


hey
you shld be able to find out directly , if process are running from cron
by using "pstree -p"
and xferencing pids

On 09/04/07, Cameron Gregg <cam at earthanarchy.org> wrote:
>
> I've just rebooted the server, it was maxxed out.
>
> [cam at axxs cam]$ uptime
>   23:06:11 up 20 days,  9:37,  1 user,  load average: 88.03, 84.02, 69.87
> [cam at axxs cam]$
>
> It looks like a cron job for nzindy that uses the find command is
> getting stuck
>
> [cam at axxs cam]$ ps -ef | grep nzindy | grep find | wc -l
> 31
> [cam at axxs cam]$
>
> total procs:
>
> [cam at axxs cam]$ ps -ef | grep nzindy | wc -l
> 92
> [cam at axxs cam]$
>
> procs look like this:
>
> nzindym  10793 10792  0 22:57 ?        00:00:00 /bin/sh -c
> $HOME/private/chmod_inaccessible.sh >
> $HOME/private/chmod_inaccessible.log 2> /dev/null
> nzindym  10807 10742  0 22:57 ?        00:00:00 /bin/sh
> /home/httpd/vhosts/indymedia.org.nz/private/chmod_inaccessible.sh
> nzindym  10808 10807  0 22:57 ?        00:00:00 find
> /home/httpd/vhosts/indymedia.org.nz/httpdocs/ -perm 600 -type f
> nzindym  10843 10793  0 22:57 ?        00:00:00 /bin/sh
> /home/httpd/vhosts/indymedia.org.nz/private/chmod_inaccessible.sh
> nzindym  10845 10843  0 22:57 ?        00:00:00 find
> /home/httpd/vhosts/indymedia.org.nz/httpdocs/ -perm 600 -type f
> nzindym  10893 10892  0 22:58 ?        00:00:00 /bin/sh -c
> $HOME/private/chmod_inaccessible.sh >
> $HOME/private/chmod_inaccessible.log 2> /dev/null
> nzindym  10903 10893  0 22:58 ?        00:00:00 /bin/sh
> /home/httpd/vhosts/indymedia.org.nz/private/chmod_inaccessible.sh
> nzindym  10904 10903  0 22:58 ?        00:00:00 find
> /home/httpd/vhosts/indymedia.org.nz/httpdocs/ -perm 600 -type f
>
> I imagine these jobs are run from cron, as there were no users logged in
> except me.
>
>
> Cam
> _______________________________________________
> axxs-sysadmin mailing list
> axxs-sysadmin at lists.indymedia.org
> http://lists.indymedia.org/mailman/listinfo/axxs-sysadmin
>


-- 
andy nicholson
+61 406 306 715


More information about the axxs-sysadmin mailing list