Date: Sun, 17 Aug 2003 11:14:10 -0500 From: Dustin Puryear <dpuryear@usa.net> To: Rus Foster <rghf@fsck.me.uk>, questions@freebsd.org Subject: Re: Which process are waiting for I/O? Message-ID: <5.2.1.1.0.20030817111037.02be2e60@pop.netaddress.com> In-Reply-To: <20030810142709.K1213@thor.65535.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 02:28 PM 8/10/2003 -0700, Rus Foster wrote: >Hi All, >I've got a box which is getting high loads as process are starting waiting >for I/O but I can't track down the process as I think they stop/start >quickly. Any ideas of how to track it down? Yes. You need to enable process accounting using accton: # accton /var/account/acct Let the processes that you suspect are causing issues run for a bit. Next, use sa to determine what the heck is going on. You can get a lot of detail out of sa so make sure to read the manpage. You may also want to run bsdsar (in ports) to watch for higher-level issues while using sa to get the real detail. /var/account/acct is going to grow pretty fast. Be sure to rotate it if you plan on leaving process accounting enabled after your troubleshooting. --- Dustin Puryear <dustin@puryear-it.com> Puryear Information Technology, LLC <http://www.puryear-it.com> Providing expertise in the management, integration, and security of Windows and UNIX systems, networks, and applications.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.1.1.0.20030817111037.02be2e60>