Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Mario Stargard <mario@stargard.ca>
Subject: Re: netstat issue on Tru64. Kernel bug?
Date: Tue, 08 Jun 2004 21:15:14 -0400	[thread overview]
Message-ID: <keudnQpxtsU5-VvdRVn-jw@magma.ca> (raw)
In-Reply-To: <3e0374e6.0406072334.f574b00@posting.google.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Loic Domaigne wrote:
| Hi Brian,
|
|
|>You need to find the rogue process that is writing messages noone is
|>reading (or find why the reader went away), there is no other workaround
|>or fix except for increasing the size of the message queues, which just
|>delays the problem.
|
|
| The difficulty wasn't to find the guilty process (missing reader) but
| why an application - that had nothing to do with the story - suddently
| stopped working properly. This application was using ssh, which in
| turned used netstat...
|
| As you might guess, that was a hell of work to sort this out!
|
|
|
|>You can maybe get this info using the audit subsystem, here's an example
|>I cut/pasted:
|
|
| Yeah, thanks Brian for the info.
| That might be handy on some circumstances!
|
|
| Although you are not supposed to overflow a message queue, IMHO this
| fault should only punish the writer process: when not enough space
| available ==> put writer to sleep state until a reader fetch enough
| data. Other UNIX behave this way, which I would expect BTW.
|
| Here, with that implementation, other (system-wide!) processes got
| punished too (like netstat, lsof, ssh...). Does someone know if this
| "Tru64 specific issue" is reported somewhere?
|
|
| Cheers,
| Loic.

How long did you wait for netstat to return?  I was under the impression
that once the message queue fills, ipc turns to spool files in /var/tmp.
~   This is, of course, three orders of magnitude slower.  This is what
happens in our BEA Tuxedo appserver.

Whether this is fixed somewhere is a matter for the patch documentation.

I have stumbled across a similar bug in the audit subsystem in version
5.  The kernel will refuse to allow new processes to spawn if you kill
the parent auditd without cleaning up the children.  A simple kill -9
will do that.  Don't know if it's related.  I'm just avoiding it.

Cheers,
Mario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAxmSiDMt+/gswqTsRAoU5AJ9+KxpBdhJDvgeT62umGlGeSSabogCghsnm
hgv0eIQRYaYFaM8qC2WcBg8=
=p+It
-----END PGP SIGNATURE-----



  reply	other threads:[~2004-06-09  1:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07 10:10 netstat issue on Tru64. Kernel bug? Loic Domaigne
2004-06-07 19:53 ` Brian Haley
2004-06-08  7:34   ` Loic Domaigne
2004-06-09  1:15     ` Mario Stargard [this message]
2004-06-09  9:00       ` Loic Domaigne
read-only archive

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