Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Brian Haley <Brian.Haley@nospam_hp.com>
Subject: Re: netstat issue on Tru64. Kernel bug?
Date: Mon, 07 Jun 2004 19:53:10 GMT	[thread overview]
Message-ID: <GI3xc.3113$f67.2423@news.cpqcorp.net> (raw)
In-Reply-To: <3e0374e6.0406070210.3fd61a66@posting.google.com>

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. 

<snip>



  reply	other threads:[~2004-06-07 19:53 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 [this message]
2004-06-08  7:34   ` Loic Domaigne
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