Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have youtube proxy site http://playit.pk, the issue is that whenever users increase over 500 at an instant the server gets really slow. I am using MPM Worker module and have tried several configs..

Current one is:

<IfModule mpm_worker_module>
ServerLimit          40
StartServers         10
MaxClients           2000
MinSpareThreads      25
MaxSpareThreads      75
ThreadsPerChild      50
MaxRequestsPerChild  0
</IfModule>

other configurations are:

Timeout 20
KeepAlive On
MaxKeepAliveRequests 100

Main server is only responsible for request handling, no streaming takes place here.

With the above configuration, still there is delay and apache shows around 1000 requests currently being processed.

share|improve this question

1 Answer 1

Use fastCGI

FcgidMinProcessesPerClass 0

FcgidMaxProcessesPerClass 700

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.