Date: Mon, 21 Aug 2006 09:39:11 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Robert Fitzpatrick <lists@webtent.net> Cc: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Periodic processes Message-ID: <20060821143910.GA45306@dan.emsphone.com> In-Reply-To: <1156168481.30474.10.camel@columbus.webtent.org> References: <1156168481.30474.10.camel@columbus.webtent.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 21), Robert Fitzpatrick said: > I have a FreeBSD 6.0 server that the periodic processes don't seem to > complete and build up until our monitor complains about the number of > processes and I killall. How would I go about figuring out which process > is the problem or if there is a cron issue? Can't find any errors in the > messages or cron log. After a few days, this is what I see and have to > kill: > > 26347 ?? Is 0:00.01 /bin/sh -c periodic daily > 26349 ?? I 0:00.01 /bin/sh - /usr/sbin/periodic daily > 26355 ?? I 0:00.02 /bin/sh - /usr/sbin/periodic daily > 26356 ?? I 0:00.00 /bin/sh - /usr/sbin/periodic daily > 26401 ?? I 0:00.01 /bin/sh /etc/periodic/daily/400.status-disks > 28129 ?? I 0:00.01 /bin/sh - /etc/periodic/weekly/310.locate > 28136 ?? IN 0:00.01 /bin/sh /usr/libexec/locate.updatedb > 28140 ?? IN 0:00.01 /bin/sh /usr/libexec/locate.mklocatedb -presort Run "ps axl" and trace what processes are being launched by those periodic scripts (using the PID and PPID columns) until you find one not in an "I" or "S" state. You can also install pstree from ports to make the job a little easier. Judging by the hanging periodic script names, it looks like you may have a filesystem that's hung, possibly an NFS mount where the other system is down. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060821143910.GA45306>