Report this

What is the reason for this report?

2 requests at the same time on the same browser problem

Posted on April 20, 2014

Hello, i have a problem with my server while i’m trying to open 2 requests at the same time on the same browser…

for example: i’m trying to open a specific page and as long as he runs i can’t open a different page on the server in the new window until the first page has finished loading

is there a way to fix it?

I have on the droplets CentOS 6.3 x64 and i just installed: php (v 5.3.3) apache (Apache/2.2.15 (CentOS)) mysql (5.1.67) webmin

without any change of the configuration setting

Here is the info page

http://www.solcrm.com/info.php

Thank you very much!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Is there some kind of resource heavy php operation going on in that page? It looks like you have the mpm_prefork module loaded. What are its settings? <br> <br>Could you post the block starting with “# prefork MPM” from your /etc/httpd/conf/httpd.conf file?

Hello, <br>here is the block: <br> <br> <br># prefork MPM <br># StartServers: number of server processes to start <br># MinSpareServers: minimum number of server processes which are kept spare <br># MaxSpareServers: maximum number of server processes which are kept spare <br># ServerLimit: maximum value for MaxClients for the lifetime of the server <br># MaxClients: maximum number of server processes allowed to start <br># MaxRequestsPerChild: maximum number of requests a server process serves <br><IfModule prefork.c> <br>ServerLimit 1000 <br>MaxClients 1000 <br></IfModule> <br> <br> <br># worker MPM <br># StartServers: initial number of server processes to start <br># MaxClients: maximum number of simultaneous client connections <br># MinSpareThreads: minimum number of worker threads which are kept spare <br># MaxSpareThreads: maximum number of worker threads which are kept spare <br># ThreadsPerChild: constant number of worker threads in each server process <br># MaxRequestsPerChild: maximum number of requests a server process serves <br><IfModule worker.c> <br>StartServers 4 <br>MaxClients 300 <br>MinSpareThreads 25 <br>MaxSpareThreads 75 <br>ThreadsPerChild 25 <br>MaxRequestsPerChild 0 <br></IfModule> <br> <br> <br> <br>thank you

Try changing the prefork values to: <br> <br><pre> <br><IfModule mpm_prefork_module> <br> StartServers 5 <br> MinSpareServers 5 <br> MaxSpareServers 10 <br> MaxClients 150 <br> MaxRequestsPerChild 0 <br></IfModule> <br></pre> <br> <br>and restart apache.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.