🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Chris van den Berg Thu, 15 May 1997 00:00
Running out of mbufs:INN 1.5.1 SunoS 4.1.3_U1
#17789
Author: Chris van den Berg
Date: Thu, 15 May 1997 00:00
42 lines
2036 bytes
Howdy,

Over the last few days our news server has reported the following to
/var/log/kern and died promptly thereafter (about once every two or 
three hours):

May 14 13:57:44 vmunix: mbuf map full

As well as other messages such as: "no more mbufs".
which cause the machine to go down.

A netstat -m shows mbufs as almost always used up once innd is 
running.
We run SunOS 4.1.3_U1, 128MB RAM, INN 1.5.1, and nntplink with about 
30 newsfeeds, and up to 100 readers.

Yesterday the kernel was recompiled after changing MAX USERS in the 
kernel config to 200 (up from 120), to allow for a larger number
of processes, mbufs, etc., but the machine still goes down with
the same problem.

It appears that we're leaking mbufs, and it's not entirely clear to me 
if this is a SunOS bug, or if it's related to INN.

Article 11755 (INFODOC ID: 11755) from SunSolve suggests that the 
problem may be software related if you find the following:
Boot single user, check mbuf use for kernel.  Go to multi-user mode, 
run software until mbufs run out, bring the system down to multi-user 
mode, run netstat -m, and if mbuf usage decreases (to between 5-35%) 
than the mbuf leaks are software related(that's a slightly shorthand 
version).
We did this, and mbuf usage dropped to about 25% once innd was 
shutdown.

Has anyone else seen related problems or know of possible solutions?
Any help would be greatly appreciated.

Thanks,
Chris van den Berg

Re: Running out of mbufs:INN 1.5.1 SunoS 4.1.3_U1
#17823
Author: Jeff Weisberg
Date: Fri, 16 May 1997 00:00
52 lines
2572 bytes

chrisvdb@ack.berkeley.edu said:
| 
| Over the last few days our news server has reported the following to
| /var/log/kern and died promptly thereafter (about once every two or 
| three hours):
| 
| May 14 13:57:44 vmunix: mbuf map full
| 
| As well as other messages such as: "no more mbufs".
| which cause the machine to go down.

uh, yep. this is typical of running a heavy-duty news server
on a SunOS box.

| A netstat -m shows mbufs as almost always used up once innd is 
| running.
| We run SunOS 4.1.3_U1, 128MB RAM, INN 1.5.1, and nntplink with about 
| 30 newsfeeds, and up to 100 readers.
| 
| Yesterday the kernel was recompiled after changing MAX USERS in the 
| kernel config to 200 (up from 120), to allow for a larger number
| of processes, mbufs, etc., but the machine still goes down with
| the same problem.

changing MAXUSERS will not help. the SunOS kernel has the amount
of mbufs hard coded (2MB).


| It appears that we're leaking mbufs, and it's not entirely clear to me 
| if this is a SunOS bug, or if it's related to INN.
| 
| Has anyone else seen related problems or know of possible solutions?
| Any help would be greatly appreciated.


our solution (short term) was turning off inbound streaming in
INN, this cut our mbuf usage roughly in half.

long term, we are planning on tossing SunOS and installing NetBSD


	--jeff

----------------------------------------------+-------------------------------
OpNet provides high quality, high reliability | Shell, SLIP/PPP, WWW services, 
Internet services in the Philadelphia area    | dedicated connections, custom
                                              | solutions, consulting, etc...
http://www.op.net or call us at 610-520-2880  +-------------------------------

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