Date: Mon, 28 Aug 2000 11:23:01 -0700 (PDT) From: "James E. Pace" <jepace@pobox.com> To: freebsd-questions@freebsd.org Subject: Scaling Apache? Message-ID: <Pine.BSF.4.21.0008281122050.537-100000@localhost>
next in thread | raw e-mail | index | archive | help
I've got a 2 way Pentium III / 550MHz system with 1GB of memory running 4.1-STABLE. For a project I'm working on, I need to have a webserver handle thousands (and 10's of thousands) of simultaneous connections. To do this, it seems the best way is to have lots and LOTS of apache's httpds running at all times. In apache's httpd.conf, I want to set "Start Servers" to a big number. When I set this to 1000, at boot time, I get a message: pmap_collect: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC And evetually, under load, the system will panic. I've tried boosting PMAP_SHPGPERPROC, but the message doesn't go away (at 2000+) (or the machine panics at boot with 20000). Other tweeks I've tried (for perhaps related issues): options NMBCLUSTERS=131072 # 1024 * 128 and these sysctls: net.inet.ip.portrange.last=64000 kern.ipc.somaxconn=4000 net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=65536 Anyway, I don't know where to go from here, so if someone could steer me in the right direction, and tell me how to get apache scaled... Thanks James Pace -- This letter brought to you by: ************************************* ** James E. Pace <jepace@pobox.com> ** ** http://www.pobox.com/~jepace ** ******************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008281122050.537-100000>