You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kapetanakis Giannis <bi...@edu.physics.uoc.gr> on 2008/10/16 12:04:51 UTC

[users@httpd] MaxClients

Hi all,

I'm using Fedora's apache 2.2.9 with prefork MPM.
I'm having trouble geting my maximum allowed clients more than 1024.

I have set

ServerLimit      2048
MaxClients       2048

But I never see more than 1024 processes of httpd.

Soft, hard limit for open files for the apache user is 8192
fs.file-max = 372661

Any ideas?

Thanks in advance

Giannis






---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] MaxClients

Posted by Kapetanakis Giannis <bi...@edu.physics.uoc.gr>.
Kapetanakis Giannis wrote:
> Hi all,
>
> I'm using Fedora's apache 2.2.9 with prefork MPM.
> I'm having trouble geting my maximum allowed clients more than 1024.
>
> I have set
>
> ServerLimit      2048
> MaxClients       2048
>
> But I never see more than 1024 processes of httpd.
>
> Soft, hard limit for open files for the apache user is 8192
> fs.file-max = 372661

Just for the record it was more easy than I though.

I had the right limit for open file descriptors (ulimit -n)
but I didn't had the right limit for number of processes (ulimit -u)


Giannis


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org