I have a server running CentOS 7.1 with WHM/Cpanel with 16GB, 8 CPU processors, and I've been having problem with multiple accesses concurrent, it seems it is not allowing, this is the Apache Configuration I set on Apache through the WHM (and right after, restarted apache).
The configuration is set correctly, but it still doesn't allow more than 20 multiple connections, I'm running a simple PHP script for testing.
test.php
<?php sleep(100); ?>
And then I run in the browser 20 tabs of this same page, so it keeps connected running multiple instances.
And then I run the page simple.php on a browser in another computer using another internet connection
<?php echo "Hello"; ?>
And it hangs on a lot to load the page (it is probably waiting in a queue, instead of just running), and when I close 10 of the tabs of the test.php page, the simple.php runs instantly as it should, but if I reopen 10 tabs of the test.php, same thing happens, the simple.php takes a lot of time to load.
My server gets a lot of access but it gets so slow to load the pages when I'm having multiple accesses. (even with plenty memory free and CPU Usage percentage very low).
What should I do to allow more connections without apache queuing the HTTP PHP Requests?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.