mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Debugging process hanging in D status and not responding to SIGKILL
@ 2007-12-21 15:38 Christian Hammers
  2007-12-21 16:18 ` Ray Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Hammers @ 2007-12-21 15:38 UTC (permalink / raw)
  To: linux-kernel

Hello

Occasionally all my apache2 processes hang in "D" process status where they are
no longer responsible to SIGKILL which makes the server almost un-rebootable.
The processes usually vanish after about 15-30min.

I know that this usually means "I/O wait" somewhere deep inside a kernel 
function where signals are not handled.

But using "strace -p <pid>" I can only see that the last called function is
flock() (according to /proc/<pid>/fd somebody produced a deadlock when using 
PHP sessions). But flock() normally terminates on SIGTERM and SIGKILL.

Could it be a problem with my SCSI driver who's involed in the flock process?
The problem usually occurs on two other webserver at the same time, one using
the same hardware and one being a Dell 6850 with Dell PERC RAID, though.

How can I get further debugging information that could give me a hint?

The system:
	Kernel: 2.6.22-3-amd64 (modified by Debian distribution)
	CPU: Quad Dualcore Intel(R) Xeon(R) E5310  @ 1.60GHz, 8GB RAM
	M/B: Transtec Server with Intel 5000 Series Chipset
	SCSI: 3ware Inc 9550SX SATA-RAID with firmware FE9X 3.08.00.016

bye,

-christian-

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Debugging process hanging in D status and not responding to SIGKILL
  2007-12-21 15:38 Debugging process hanging in D status and not responding to SIGKILL Christian Hammers
@ 2007-12-21 16:18 ` Ray Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Ray Lee @ 2007-12-21 16:18 UTC (permalink / raw)
  To: Christian Hammers; +Cc: linux-kernel

On Dec 21, 2007 7:38 AM, Christian Hammers <ch@lathspell.de> wrote:
> Hello
>
> Occasionally all my apache2 processes hang in "D" process status where they are
> no longer responsible to SIGKILL which makes the server almost un-rebootable.
> The processes usually vanish after about 15-30min.
>
> I know that this usually means "I/O wait" somewhere deep inside a kernel
> function where signals are not handled.
>
> But using "strace -p <pid>" I can only see that the last called function is
> flock() (according to /proc/<pid>/fd somebody produced a deadlock when using
> PHP sessions). But flock() normally terminates on SIGTERM and SIGKILL.
>
> Could it be a problem with my SCSI driver who's involed in the flock process?
> The problem usually occurs on two other webserver at the same time, one using
> the same hardware and one being a Dell 6850 with Dell PERC RAID, though.
>
> How can I get further debugging information that could give me a hint?

Do an

   echo t >/proc/sysrq-trigger

and see what it shows.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-21 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-21 15:38 Debugging process hanging in D status and not responding to SIGKILL Christian Hammers
2007-12-21 16:18 ` Ray Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®