Thread View: news.software.nntp
1 messages
1 total messages
Started by Tom Marazita
Mon, 01 Apr 1996 00:00
innd started killing my HPUX system (long).
Author: Tom Marazita
Date: Mon, 01 Apr 1996 00:00
Date: Mon, 01 Apr 1996 00:00
141 lines
6111 bytes
6111 bytes
Hi folks,
I've recently been experiencing a problem running innd under
HPUX. It seems like a memory leak, but I can't tell where (and I
have installed the HPUX patches as referenced in the innd faq).
At this point I'm stumped. If anyone else is running something
similar, I would really appreciate it if you could drop me a note.
Description of the general problem:
I have a:
HP-UX yuggoth A.09.05 A 9000/712
with the following hardware configuration:
yuggoth# dmesg
Mar 26 13:44
Floating point coprocessor configured and enabled.
I/O System Configuration:
Block TLB entry #4 from 0xf9000000 to 0xf9ffffff allocated.
HPA208LC1024 Bit-Mapped Display (revision 8.04/2) in bus slot 1
Graphics Interface at select code 0x10
Built-In SCSI Single-Ended Interface at select code 0x20: function number 1
Built in LAN controller found at select code 0x20: function number 2
RS-232C Serial Interface at select code 0x20: function number 4
parallel port at select code 0x20: function number 6
Advanced Digital Audio Interface at select code 0x20: function number 8
driver not in kernel: id=83 and my_isc=20
PS2 interface at select code 0x20: function number 11 with 2 ports
System Console is on the ITE
Networking memory for fragment reassembly is restricted to 6221824 bytes
Swap device table: (start & size given in 512-byte blocks)
entry 0 - auto-configured on root device; start = 1641068, size = 40901
0
Core image of 16384 pages will be saved at:
block 959503 on device 0x7201600
B2352A HP-UX (A.09.05) #2: Thu Apr 14 17:55:38 PDT 1994
Memory Information:
Physical: 65536 Kbytes, lockable: 56676 Kbytes, available: 59472 Kbytess
The system currently runs inn1.4unoff4. The system has been
running ok for about 2 years, but recently has been experiencing
problems which I have not been able to identify and which seem to
point me to the kernel. It does nothing other than provide nntp
service (feeding about six sites, and servicing about 20-100
simultaneous readers).
SYMPTOMS
--------
The system runs fine for about 10 hours.
After about ten hours, the load average shoots up to about 80 in
the span of about 30 minutes. At this time the system becomes
completely unresponsive and will not even echo IP packets.
According to ps, no process is using an extraordinary amount of
memory (innd is the largest, and its virtual size is about 30meg,
with about 10meg in core at any time), and there are a total of
about 50 processes with only 2 or 3 in the run queue. The load
does not seem to be coming from cpu usage, which top shows as 90%
idle at failure time.
vmstat shows the system is paging very heavily at the end of this
time. Additionally, "top" indicates the system is making use of
about about 1meg of real memory (much less than the amount in use
it indicates shortly after booting). There are no system log
errors indicating any problem.
About the only abnormal condition I can find is the number of
mbufs in use. From the time the system boots, the networking
subsystem begins accumulating mbufs at the rate of about 10,000
per hour. These mbufs are never deallocated. At the end of a
ten hour period, "netstat -m" shows well over 100,000 mbufs in
use. For example, I just now ran uptime and "netstat -m" on the
system. The result is below:
yuggoth# uptime
1:58pm up 3:33, 2 users, load average: 1.53, 1.66, 1.80
yuggoth# netstat -m
Memory in use:
60 socket structures in use
105 protocol control blocks in use
3 routing table entries in use
2 interface addresses in use
Mbufs in use:
51662 mbufs allocated to data
39 mbufs allocated to packet headers
2 mbufs allocated to socket names and addresses
3 mbufs allocated to <mbuf type 18>
19 mapped pages in use
496 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
Thinking this might be a known kernel problem, I installed
various patches (which includes the patch in the inn faq
regarding a libc memory leak under HPUX 9.x).
drwxr-xr-x 3 bin bin 1024 Mar 21 14:21 PHCO_6597/
drwxr-xr-x 3 bin bin 1024 Mar 21 14:28 PHNE_6855/
The following patch was also installed at an ealier date:
drwxr-xr-x 3 bin bin 1024 Oct 2 09:52 PHCO_5791/
But none of the patches have had any effect.
So, there you have it. mbufs are being consumed and never
unallocated, the system load is low, and memory available to user
process seems to vanish until the system is unable to function.
I have logs showing the process table, memory usage, paging
information, etc. throughout the life of one of these failure
cycles if that will help. The cycles is consistent; we have to
reboot the system about every ten hours.
Has anyone else experienced anything similar? Is anyone else
running a similar setup who would be willing to provide me with
"netstat -m" stats from their system (just to satisfy my
curiosity!)?
Thanks for all of your help!
Tom
===========================================================================
Tom Marazita | Engineering Computing Infrastructure
| CCSE -- 3112 Engineering 1
postmaster@ucsb.edu | University of California
Tel: 805 893-3221 | Santa Barbara, CA 93106-5120
===========================================================================
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads