From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f0e7e8b4cbdbdad4 X-Google-Attributes: gidfa528,public Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.magma.ca!news.magma.ca.POSTED!not-for-mail NNTP-Posting-Date: Tue, 08 Jun 2004 20:15:16 -0500 Date: Tue, 08 Jun 2004 21:15:14 -0400 From: Mario Stargard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, ja, de MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: netstat issue on Tru64. Kernel bug? References: <3e0374e6.0406070210.3fd61a66@posting.google.com> <3e0374e6.0406072334.f574b00@posting.google.com> In-Reply-To: <3e0374e6.0406072334.f574b00@posting.google.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 209.217.122.220 X-Trace: sv3-d9fp5+zrlJNPMlqSG1WgVMRoIU7FukYan5G2sjFA1uNhAQZU783OoHBlbCh4auTsD2cBivf7tP8RUv2!n50lJFgm3mVguSggZZhhu4EG+wHTHayyqhirl67P1Wfw0znITJFAJDSydzOV4JCH7WYrLsKBdQU= X-Complaints-To: abuse@magma.ca X-DMCA-Complaints-To: abuse@magma.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: g2news1.google.com comp.unix.tru64:99 -----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-----