AnswerBun.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!

Related Questions

Apache reverse proxy from root to context

1  Asked on December 13, 2021 by jzonthemtn

   

Barman: rsync wal archival stalls on some files

1  Asked on December 13, 2021 by thoro

       

Unable to port forward via ssh on windows

1  Asked on December 13, 2021 by justtryingnottofail

     

git clone does not work in (sshfs) mapped drive in windows

0  Asked on December 13, 2021 by dhanabal-m

     

OpenSSL – error in SSLv2/v3 read client hello A

1  Asked on December 13, 2021 by tuyen-nguyen

   

Prevent port change on redirect in nginx

5  Asked on December 11, 2021 by arbales

       

PHP-FPM does not automatically start after reboot

3  Asked on December 11, 2021 by steveedson

         

Postgres roles best practice implementation

1  Asked on December 11, 2021 by jp-beaudry

   

Rinetd failing to run

1  Asked on December 11, 2021 by opad

   

Nagios service check interval based on host type

2  Asked on December 11, 2021 by sebastien-prudhomme

 

Cannot connect to Linux Samba share from Windows 10

15  Asked on December 11, 2021 by pngl

       

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP