"panic: getnewbuf: locked buf" on heavy load 5.4-STABLE

Chuck Swiger cswiger at mac.com
Fri Sep 16 08:40:54 PDT 2005

Please read "man crash" and the part of the handbook which talks about how to 
obtain a crashdump or backtrace with more information about the panic you see.

You might consider putting both a backtrace and a dmesg from the system on the 
web somewhere, and post links to that.

Alex wrote:
> For some reason my 5.4 STABLE is dying each 4-5 hours with panic above.
> This is big Web server with Apache configured to 1500 MaxClients. All kernel
> tunings suggested for high load servers by freebsd handbook are in place.
> Hardware is Intel server board, P4-3.0 cpu with HT off, 3Gb ram, 1eide, 2sata.

By the way, you don't have enough RAM to handle 1500 concurrent Apache 
processes, even with a minimal config (ie, no SSL, no mod_perl, no PHP).

The busiest site I've ever administered needed between 100 and 150 apache 
children in order to serve a load of ~2 million hits per day.


More information about the freebsd-questions mailing list