hi again, I have now the same problem with a ultra5 running 3.7-release, "[Sun Aug 14 17:41:00 2005] [error] [client 172.26.216.11] (24)Too many open files: couldn't spawn child process: /var/www/puresecure/console/cgi/PureSecure"

thanks in advance.

diego.


----- Original Message ----- From: "diego" <[EMAIL PROTECTED]>
To: "Henning Brauer" <[EMAIL PROTECTED]>
Cc: <misc@openbsd.org>
Sent: Monday, August 08, 2005 9:35 AM
Subject: Re: problem with apache


ok, with sysctl -w kern.maxfiles=50000 should work?
I tried ulimit -n 512, but give the same error.

thanks.

----- Original Message ----- From: "Henning Brauer" <[EMAIL PROTECTED]>
To: "diego" <[EMAIL PROTECTED]>
Cc: "Gerardo Santana Gsmez Garrido" <[EMAIL PROTECTED]>; <misc@openbsd.org>
Sent: Monday, August 08, 2005 8:48 AM
Subject: Re: problem with apache


you are mistaken. apache starts as root and drops privileges to
www:www, that does not mean it inherits the ressource limits from that
login class.

* diego <[EMAIL PROTECTED]> [2005-08-08 13:29]:
yes, www:*:67:67:www:0:0:HTTP Server,,,:/var/www:/sbin/nologin


----- Original Message ----- From: "Gerardo Santana Gsmez Garrido" <[EMAIL PROTECTED]>
To: "diego" <[EMAIL PROTECTED]>
Cc: <misc@openbsd.org>
Sent: Saturday, August 06, 2005 1:30 PM
Subject: Re: problem with apache


>On 8/5/05, diego <[EMAIL PROTECTED]> wrote:
>>Hi all, I have a problem with apache, I have a ibm x225 with 2,5gb of >>ram
>>and xeon 2,67ghz running 3.7-stable with GENERIC kernel, it's run only
>>apache for a intranet with 1k users.
>>I have error
>>
>>"[Fri Aug 5 13:21:30 2005] [crit] [client 172.26.219.191] (24)Too >>many
>>open
>>files: /intranet.jgm.gov.ar/htdocs/.htaccess pcfg_openfile: unable to
>>check
>>htaccess file, ensure it is readable"
>>
>>I add "kern.maxfiles=50000" to sysctl.conf and
>>
>># Setting used by httpd daemon
>>www:\
>>:datasize=infinity:\
>>:maxproc=infinity:\
>>:openfiles-cur=40960:\
>>:openfiles-max=40960:\
>>:openfiles=40960:\
>>:stacksize-cur=500M:\
>>:localcipher=blowfish,8:\
>>:tc=default:
>>
>>to login.conf
>>
>>but I got the same error.
>>
>>thanks in advance.
>>
>>
>>diego.
>>
>>
>
>The only thing I can think of is: are you sure the 'www' user is using
>your 'www' class?
>
>-- >Gerardo Santana Gsmez Garrido
>http://www.openbsd.org.mx/santana/
>"Entre los individuos, como entre las naciones, el respeto al derecho
>ajeno es la paz" -Don Benito Juarez


--
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to