Thread View: news.software.nntp
2 messages
2 total messages
Started by Raul Zighelboim
Sun, 22 Jun 1997 00:00
news server crash...
Author: Raul Zighelboim
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
32 lines
1412 bytes
1412 bytes
Hello there! My news server died last night. This is what I found on the log files: Jun 22 01:53:00 kiyoko /kernel: Out of mbuf clusters - increase maxusers! I am running inn 1.5.1 under FreeBSD 2.2.2-Release. What I find odd about this, is that the server has been running fine for over a year under FreeBSD 2.1.7, and that 'maxusers' is set to 196 already. I upgraded to 2.2.2 friday afternoon. I run news.daily at 1:00 am. Any sugestions in how to prevent this from happening again ? Thanks. This is the system: FreeBSD 2.2.2-RELEASE #0: Sun Jun 22 04:11:17 CDT 1997 CPU: Pentium Pro (198.95-MHz 686-class CPU) Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,<b11>,MTRR,PGE,MCA,C MOV> real memory = 268435456 (262144K bytes) ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci0:13 de0 <Digital 21140A Fast Ethernet> rev 32 int a irq 11 on pci0:14
Re: news server crash...
Author: Matt Dillon
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
48 lines
2174 bytes
2174 bytes
:In article <01bc7f17$9230d360$827e1bcc@rodia>,
:Raul Zighelboim <nospam@communique.net> wrote:
:>
:>Hello there!
:>
:>My news server died last night. This is what I found on the log files:
:>
:>Jun 22 01:53:00 kiyoko /kernel: Out of mbuf clusters - increase maxusers!
:>
:>I am running inn 1.5.1 under FreeBSD 2.2.2-Release.
:>
:>What I find odd about this, is that the server has been running fine for
:>over a year under FreeBSD 2.1.7, and that 'maxusers' is set to 196 already.
:>
:>I upgraded to 2.2.2 friday afternoon. I run news.daily at 1:00 am.
:>
:>Any sugestions in how to prevent this from happening again ?
:>
:>Thanks.
It's probably the number of network mbufs.
First, the tcp send&receive buffer size. It's in two places... a
sysctl (net.inet.tcp.sendspace and net.inet.tcp.recvspcae), and
also in the default route. The default is 16KBytes, which means
16Kx2 is allocated for each network connection. If you have a lot
of connections, aka a newsreader box, you can run the kernel out of
network mbufs.
Try reducing the buffer size:
sysctl -w net.inet.tcp.sendspace=4096
sysctl -w net.inet.tcp.recvspace=4096
route -n change default -recvpipe 4096 -sendpipe 4096
If that doesn't work, try increasing the number of mbufs for the
network by recompiling the kernel and adding the option:
options "NMBCLUSTERS=4096" #network mbufs
If that doesn't work, see if you can figure out what the kernel is running
out of by running vmstat -m at regular intervals.
-Matt
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