TransWikia.com

Takes long time to load the login page from Apache web server

Server Fault Asked by Manny0606 on December 15, 2020

We have an Apache web server 2.2.22 installed in Ubuntu 12.04.4. The site uses PHP pages and MySQL as database in a dedicated DB server.

Once in a while, we face slowness connecting our site and see that the site page loading time is increased. It takes 10 seconds to 30 seconds to display the login page. This happens for a few minutes then the website page loading is fast for an hour or two and then the issue happens again like this all day. The server is hosted by a third party vendor and confirmed with their support that there is no issue with the data center network.

The CPU & Memory resources are not utilized much and the disk I/O seems normal. I searched internet for the similar issue and checked a few Apache settings like Hostnamelookup Off and MaxRequestPerChild setting. All look fine.

Will there be anything I need to check at the Apache settings.? This issue started recently. There was no configuration change but the website loads slow. Please help me to fix this issue.

One Answer

It is most likely not a configuration issue in apache, php, or mysql, but instead some other activity on the server causing the periodic slowness. Check for other processes running in that window where the site is slow. Given the environment you mentioned, I bet something is running on that server periodically like a cron job doing a backup or someone running AWStats with way too much log retention.

Answered by Andrew Domaszek on December 15, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP