logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: is it possible to set ThreadsPerChild in virtual host level
Author
pjbalajimca@gmail.com



Joined: 16 Jun 2014
Posts: 4
Location: India

PostPosted: Wed 05 Oct '16 7:45    Post subject: is it possible to set ThreadsPerChild in virtual host level Reply with quote

Team,

I created two virtual host in apache but I want to set the Threadsperchild and MaxConnectionsPerChild directives for each virtual host. is it possible to assign in the below foramt ? please suggest your feed back and input.



<VirtualHost *:100>
ThreadsPerChild 200
MaxConnectionsPerChild 200000
</virtualHost>


<VirtualHost *:200>
ThreadsPerChild 40
MaxConnectionsPerChild 1000
</virtualHost>

Note : I am running my server in windows OS.

Thanks in advance.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Wed 05 Oct '16 12:39    Post subject: Reply with quote

You tried ?

See docu : Is only valid in server conf, not virtual host.
Back to top
pjbalajimca@gmail.com



Joined: 16 Jun 2014
Posts: 4
Location: India

PostPosted: Thu 06 Oct '16 15:51    Post subject: Reply with quote

Thanks for response. I did not tried , just ask the suggestion to use in the mentioned format.
Back to top


Reply to topic   Topic: is it possible to set ThreadsPerChild in virtual host level View previous topic :: View next topic
Post new topic   Forum Index -> Apache