Date: Fri, 02 Jun 2006 08:42:02 -0400 From: Charlie Root <freebsd-questions-local@be-well.ilk.org> To: Frank Bonnet <f.bonnet@esiee.fr> Cc: freebsd-questions@freebsd.org Subject: Re: limiting apache thru login.conf ? Message-ID: <ac8vsp9h.fsf@be-well.ilk.org> In-Reply-To: <447EB839.8070103@esiee.fr> (Frank Bonnet's message of "Thu, 01 Jun 2006 11:49:45 %2B0200") References: <447EB839.8070103@esiee.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
Frank Bonnet <f.bonnet@esiee.fr> writes: > I'm in troubles with a webmail using apache ( squirrelmail ) > that seems to eat a lot of ressources of the machine then > really slowing it down. > > Does anyone has tried to limit ressources "eaten" by apache > using the /etc/login.conf file for the www user ? > > The apache.sh launching script use the /usr/bin/limits command > but there is no special entry for the www user in login.conf > file . You could always create one, but I don't think it would help your case very much. There's no guarantee that squirrelmail's usage would be the part that got curbed. As a programmer, I would be more inclined to find and fix the problem. Short of that, periodically restarting the server would be the obvious approach. Using limits would help keep other (presumably more critical?) processes from being harmed by Apache's excesses...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac8vsp9h.fsf>