* Ultrix problem: "cant get mbufs"
@ 1998-07-30 4:00 Massimo Macucci
0 siblings, 0 replies; 4+ messages in thread
From: Massimo Macucci @ 1998-07-30 4:00 UTC (permalink / raw)
We have an old Decstation 3100 that is used as a WWW server. It has a
relatively heavy load, because between 1 Gbyte and 2 Gbytes of data are
retrieved every day by visitors of our WEB site.
If I kill and restart the httpd demon every night, the Decstation works
fine for a few days (otherwise a hidden file grows so large that no disk
space is left). However, every week or so, a new problem has started appearing:
the message "cant get mbufs" appears on the console, and, unless the machine
is rebooted right away, a hardware reset becomes necessary, because everything
get completely frozen.
Does anybody know the meaning of this error message and what I could do
to fix this problem?
Thank you in advance
Massimo Macucci
In order to send me e-mail, replace "nodump" with "massimo" in the
return address. This is done to prevent automated collection of
e-mail addresses by spammers. No junk-commercial mail will be tolerated.
nodump@mercurio.iet.unipi.it Tel. +39 50 568537
Dipartimento di Ingegneria dell'Informazione FAX +39 50 568522
Universita` di Pisa, Via Diotisalvi, 2 I-56126 PISA ITALY
^ permalink raw reply [flat|nested] 4+ messages in thread
* Ultrix problem: "cant get mbufs"
@ 1998-07-30 4:00 Massimo Macucci
1998-07-31 4:00 ` Daniel S. Riley
1998-07-31 4:00 ` Gregg E Economou
0 siblings, 2 replies; 4+ messages in thread
From: Massimo Macucci @ 1998-07-30 4:00 UTC (permalink / raw)
We have an old Decstation 3100 that is used as a WWW server. It has a
relatively heavy load, because between 1 Gbyte and 2 Gbytes of data are
retrieved every day by visitors of our WEB site.
If I kill and restart the httpd demon every night, the Decstation works
fine for a few days (otherwise a hidden file grows so large that no disk
space is left). However, every week or so, a new problem has started appearing:
the message "cant get mbufs" appears on the console, and, unless the machine
is rebooted right away, a hardware reset becomes necessary, because everything
get completely frozen.
Does anybody know the meaning of this error message and what I could do
to fix this problem?
Thank you in advance
Massimo Macucci
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ultrix problem: "cant get mbufs"
1998-07-30 4:00 Massimo Macucci
1998-07-31 4:00 ` Daniel S. Riley
@ 1998-07-31 4:00 ` Gregg E Economou
1 sibling, 0 replies; 4+ messages in thread
From: Gregg E Economou @ 1998-07-31 4:00 UTC (permalink / raw)
rebuilding your kernel with larger buffers (or quantities of them) will
help solve this problem. However, you might want to test the memory-
if ntohign has been changed, then a memory failure might be causing
the problem. At any rate, try rebuilding the kernels with MAXUSERS bigger-
this macro will cause larger numbers of buffers and such to be allocated
in the kernel.
In article <6pq607$ler$1@pisanino.unipi.it>,
Massimo Macucci <massimo@mercurio.iet.unipi.it> wrote:
>We have an old Decstation 3100 that is used as a WWW server. It has a
>relatively heavy load, because between 1 Gbyte and 2 Gbytes of data are
>retrieved every day by visitors of our WEB site.
>
>If I kill and restart the httpd demon every night, the Decstation works
>fine for a few days (otherwise a hidden file grows so large that no disk
>space is left). However, every week or so, a new problem has started appearing:
>the message "cant get mbufs" appears on the console, and, unless the machine
>is rebooted right away, a hardware reset becomes necessary, because everything
>get completely frozen.
>
>Does anybody know the meaning of this error message and what I could do
>to fix this problem?
>
> Thank you in advance
> Massimo Macucci
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ultrix problem: "cant get mbufs"
1998-07-30 4:00 Massimo Macucci
@ 1998-07-31 4:00 ` Daniel S. Riley
1998-07-31 4:00 ` Gregg E Economou
1 sibling, 0 replies; 4+ messages in thread
From: Daniel S. Riley @ 1998-07-31 4:00 UTC (permalink / raw)
To: Massimo Macucci
massimo@mercurio.iet.unipi.it (Massimo Macucci) writes:
> However, every week or so, a new problem has started appearing: the
> message "cant get mbufs" appears on the console, and, unless the
> machine is rebooted right away, a hardware reset becomes necessary,
> because everything get completely frozen.
The kernel memory pool is being exhausted; to fix it, you need to
increase the number of page table entries available to the kernel
memory allocator map. Edit /sys/machine/mips/vmparam.h--towards the
end you'll find a section something like
#if (PHYSMEM/10 < LOW_WATER)
#define KMEMUMAP (LOW_WATER*256+KMEMSLOP)
#else
#if (PHYSMEM/10 > HIGH_WATER)
#define KMEMUMAP (HIGH_WATER*256+KMEMSLOP)
#else
#define KMEMUMAP (PHYSMEM/10*256+KMEMSLOP)
#endif
#endif
Change that to something like
#if (PHYSMEM/10 < LOW_WATER)
#define KMEMUMAP (2*LOW_WATER*256+KMEMSLOP)
#else
#if (PHYSMEM/10 > HIGH_WATER)
#define KMEMUMAP (HIGH_WATER*256+KMEMSLOP)
#else
#define KMEMUMAP (PHYSMEM/5*256+KMEMSLOP)
#endif
#endif
which doubles the PHYSMEM factor for machines with less than 100 MB
of RAM. Build and install a new kernel and reboot.
--
Dan Riley dsr@mail.lns.cornell.edu
Wilson Lab, Cornell University <URL:http://www.lns.cornell.edu/~dsr/>
"History teaches us that days like this are best spent in bed"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-31 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-30 4:00 Ultrix problem: "cant get mbufs" Massimo Macucci
-- strict thread matches above, loose matches on Subject: below --
1998-07-30 4:00 Massimo Macucci
1998-07-31 4:00 ` Daniel S. Riley
1998-07-31 4:00 ` Gregg E Economou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox