FreeBSD 4.10 and Apache 2.0.5x: setting limits
Sander Holthaus - Orange XL
info at orangexl.com
Wed Feb 9 05:16:46 PST 2005
You can set the limits (ulimit) for Apache 2 through a variable
(apache2limits_args enabled by apache2limits_enable) in rc.conf. If enabled,
it uses, by default, the limits for login-class daemon as found in
/etc/login.class;
daemon:\
:coredumpsize@:\
:coredumpsize-cur=0:\
:datasize=infinity:\
:datasize-cur@:\
:maxproc=512:\
:maxproc-cur@:\
:memoryuse-cur=64M:\
:memorylocked-cur=64M:\
:openfiles=1024:\
:openfiles-cur@:\
:stacksize=16M:\
:stacksize-cur@:\
:tc=default:
I take it these settings are quite general, and may not be sufficient (to
restrictive or not). So I was wondering what kind of limits other users are
using. And how those settings scale or depend on various configurations?
Googling, or Apache: Definitive Reference / Apache Cookbook do not seem to
provide any clues here :-(
Kind Regards,
Sander Holthaus
More information about the freebsd-questions
mailing list