httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tompa Tamas <tamas.to...@kirowski.com>
Subject [users@httpd] apache2 perchild problem
Date Thu, 26 Feb 2004 14:14:13 GMT
Hello,

Here is another apache2 perchild problem:

When we assign a process number for a user, the maximum requests is equals 
this number, so if we configure the process numbers = 2, the apache can 
reserve 2 requests for this virtualhost, and no more.

How is it possible? Why can't reserver more requests for a child process?

(ChildPerUserID Directive : Specify user ID and group ID for a number of child 
processes)

Our configuration file important lines are the following:
----------------
<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
</IfModule>

--------

ChildPerUserID user1 group1 2
ChildPerUserID user2 group2 2

<VirtualHost xy2>
    ServerName xy1
    AssignUserID user1 group1
</VirtualHost>

<VirtualHost xy2>
    ServerName xy2
    AssignUserID user2 group2
</VirtualHost>

Thank you,
Tompa Tamás
--
Senior Software Engineer
kirowski
1075 Budapest, Károly körút 9.
www.kirowski.com | tel: +36 1 4112200 | fax: +36 1 4112299


---------------------------------------------------------------------
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


Mime
View raw message