On Thu, Jun 12, 2003 at 07:10:37PM +0800, Aris  Santillan wrote:
> yeah thats it. it stays for a long time that the system slows down.
> ive to restart the service running

Does shutting down the service (Apache) kill all Apache processes, even
those that were in state D? If it does, then that means they did not
really get stuck in state D, and that maybe they're just loaded
(excessive logging, perhaps?).

A process that's "truly" stuck in state D will be immune to
"/etc/init.d/apache stop", or even kill. That's why state D is
uninterruptible. You can't kill them until they get out of that state.

So, which is it?

Run Apache. Notice the processes stuck in state D (take note of process
IDs please). "/etc/init.d/apache stop". Wait awhile. Check for remnant
Apache processes. None? Investigate why your Apache processes are doing
the IO they're doing. Check your logs. Maybe you're logging too much?

If remnant Apache processes remain in state D, try killing them with
SIGKILL. Wait awhile. If that doesn't work then consider doing an
extensive memory scan with MemTest86. An hour or two, at least for at
least one full pass on your entire physical memory. Which reminds me:
I'll have to do that some time on our box that's been getting kernel
panics every 50 days of uptime or so. Irk.

 --> Jijo "Can't Sleep... Grrr..."

-- 
Federico Sevilla III  : http://jijo.free.net.ph      : When we speak of free
Network Administrator : The Leather Collection, Inc. : software we refer to
GnuPG Key ID          : 0x93B746BE                   : freedom, not price.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to