Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2005 14:16:50 +0100
From:      "Sander Holthaus - Orange XL" <info@orangexl.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 4.10 and Apache 2.0.5x: setting limits
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAKyp4ptCu/EW6/gcge57xl8KAAAAQAAAAV0s9fHKHCki8hXBycajOUQEAAAAA@orangexl.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAKyp4ptCu/EW6/gcge57xl8KAAAAQAAAAV0s9fHKHCki8hXBycajOUQEAAAAA>