Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: loic-dev@gmx.net (Loic Domaigne)
Subject: Re: netstat issue on Tru64. Kernel bug?
Date: 8 Jun 2004 00:34:15 -0700	[thread overview]
Message-ID: <3e0374e6.0406072334.f574b00@posting.google.com> (raw)
In-Reply-To: GI3xc.3113$f67.2423@news.cpqcorp.net

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.


  reply	other threads:[~2004-06-08  7:34 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 [this message]
2004-06-09  1:15     ` Mario Stargard
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