lkml.org 
[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: help!! tons of Z processes in 2.4.x (x > 3)
On Tue, 4 Sep 2001, Alan Cox wrote:

> > Since 2.4.6-ac[45] until 2.4.9-ac7 I keep on getting processes in Z
> > state, mainly identd (spawned from an identd daemon), galeon (the gnome
> > browser) and mysqld.
>
> Sounds like user mode problems to me. Z is a zombie - its waiting for its
> parent to wake up and collect its exit code. Look at their ppid see what
> the parent is and is doing

(only relevant parts included)
$ ps -eo pid,stat,pcpu,nwchan,wchan=WIDE-WCHAN-COLUMN -o args

2051 S 0.0 140d0c do_poll \_ /usr/bin/galeon-bin
2052 S 0.0 140d0c do_poll \_ /usr/bin/galeon-bin
2053 S 0.0 105e8b rt_sigsuspend \_ /usr/bin/galeon-bin
2318 Z 0.0 11872e do_exit \_ [galeon-bin <defunct>]
2319 Z 0.0 11872e do_exit \_ [galeon-bin <defunct>]
2320 Z 0.0 11872e do_exit \_ [galeon-bin <defunct>]
2331 Z 0.0 11872e do_exit \_ [galeon-bin <defunct>]

2087 S 0.0 118af1 wait4 /bin/sh /usr/bin/safe_mysqld
2114 S 0.0 1406c6 do_select \_ /usr/libexec/mysqld
2116 S 0.0 140d0c do_poll \_ /usr/libexec/mysqld
2117 S 0.0 105e8b rt_sigsuspend \_ /usr/libexec/mysqld
2118 S 0.0 105e8b rt_sigsuspend \_ /usr/libexec/mysqld
2124 Z 0.0 11872e do_exit \_ [mysqld <defunct>]
2174 S 0.0 1d1ed8 tcp_data_wait \_ /usr/libexec/mysqld
2308 S 0.0 1f2e1c unix_stream_data_ \_ /usr/libexec/mysqld

It looks like they don't exit gracefully :(

> Yep - it doesnt really exist except as a process slot

> > If I run the redhat-7.1 kernel (kernel-2.4.3-12) this doesn't
> > happen, so I deduce it has something to do with recent changes.
> > I'm surprised that I'm the only one with this problem.
>
> So far you are

In fact I've noticed that it also happens with rh71 kernel rpm.

Pau

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.082 / U:4.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site