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!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: Brian Haley User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: netstat issue on Tru64. Kernel bug? References: <3e0374e6.0406070210.3fd61a66@posting.google.com> In-Reply-To: <3e0374e6.0406070210.3fd61a66@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Mon, 07 Jun 2004 19:53:10 GMT NNTP-Posting-Host: 16.141.88.143 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1086637990 16.141.88.143 (Mon, 07 Jun 2004 12:53:10 PDT) NNTP-Posting-Date: Mon, 07 Jun 2004 12:53:10 PDT Organization: Hewlett-Packard Company Xref: g2news1.google.com comp.unix.tru64:95 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. You can maybe get this info using the audit subsystem, here's an example I cut/pasted: # auditd -o o ; to enable the auditd # auditmask -s cmd_name msgget msgsnd msgrcv ; audit syscalls After the message queue fills: # audit_tool `auditd -dq` ; view data (note the csh syntax) Which shows in this case the user with ruid 10 ran msgget_test which exercised the msgget syscall: audit_id: 10 ruid/euid: 10/10 pid: 656405 ppid: 656382 cttydev: (6,1) cmd name: msgget_test event: msgget key: IPC_PRIVATE flag: 0x200 : creat id: 0x81 result: 129 (0x81) cpu, seq#: 0x0, 1 ip address: xxx.xxx.xxx.xxx (xxxx) timestamp: Mon Nov 24 11:45:02.51 2003 EST If audit is not supported by your kernel, you can doconfig a new kernel with DEC_AUDIT or run the "sysman auditconfig". Manpages are available for each of the above utilities. A "best practices" manual on Debugging with Audit is also available at: http://h30097.www3.hp.com/docs/best_practices/BP_AUDIT/TITLE.HTM Good luck, -Brian Loic Domaigne wrote: > Hello Everybody, > > Usually (wanabee) programmers claim compiler and OS responsible for > their programs not working properly... But this time, I feel that's > might be really a kernel issue, rather than a broken application. > > I posted a summary some times ago on the Tru64 manager mailing list, > but didn't get any answer so far. The experiment below has been > conducted on Tru64 4.0F. I would be interested to know if this netstat > issue persists on newer Tru64 (5.x). > > Any comments are appreciated, especially if I fool myselves with the > "example program". > > > Cheers, > Loic.