Wednesday, June 22, 2011

Random slow page loading and timeouts resolve!

It took me 2 weeks, but I finally solved a issue that was causing slow page loading and timeouts during peak hours.  This issue caused mininum impact (1-2 minutes) to myVidster, which was the reason why it took so long to resolved.  Being the only developer forces you to prioritize tasks and this was not a critical issue.

By default Apache rotates its logs every 2 hours.  When this happens it issues a graceful restart to the Apache service.  During peak traffic, the Apache service can take a few minutes to catch up to users requests causing slow page loading and timeouts.  I did not notice this because graceful restarts does not reset the server uptime when monitoring the Apache server status page.  It was not notice till I drive into the Apache error_log and saw that the graceful restarts were happening in 2 hour intervals.

As with most issues, a simple Google searched reveal the solution.  Enabling Apache's Piped Logs resolved Apache's need to perform a graceful restart to rotate the logs.  I also made a few tweaks to the logging service to reduce the amount of useless and redundant data that was being logged.

For the end user, this should resolve the periods of slow page loading and timeouts that has been occurring during peak hours.  As always I continue my efforts to make myVidster an enjoyable social experience.


vo ot said...

Flmywap app said...

Their opportunities are so fantastic and working style so speedy. Thank you for sharing the nice article.

Tadacip 20 said...

Slow page loading isn't the worst what could happend with man. Slow and weak erection is a much bigger problem men can face. To handle with erectile dysfunction use the right drugs and restart you sexlife.

Robert Welain said...

Need help with thesis statement building? Learn how to write a good thesis statement at, guys.

kenna said...

They're fairly gentle on laundry. as well as Not Obtain Stuck with Scrap Best Washer Dryers 2018 Popular choices include chrome, wild cherry red, and also onyx. Best Loaded Washer Dryer A clothes washing machine's capacity should top 5 stackable washer See to it you have adequate area for the door to open up fully. click here this will raise your out-of-pocket prices.

Aswin said...

Hello there. I found your web site by the use of Google at the same time as searching for a comparable subject, your site came up. It seems great. I have bookmarked it in my google bookmarks to come back then.

Acupressure Care ProductsPersonal Care ProductsPersonal Care Products Shops in ChennaiAcupressure Care ProductsPersonal Care ProductsPersonal Care Products Shops in ChennaiAcupressure Care Products in ChennaiAcupressure Care Products in IndiaBuy Acupressure Care Products OnlineAcupressure Care Products PricesAcupuncture Needle Shops in Chennai
Acupuncture Needle Prices in ChennaiBuy Acupuncture Needle Online in IndiaAcupuncture NeedlesAcupuncture Needle Products in Chennai
Acupuncture Ring in ChennaiBuy Acupuncture Ring Acupuncture Ring IndiaAcupuncture Ring ShopsAcupressure Foot Roller ShopsAcupressure Mat Shops in ChennaiAcupressure Mat Shops in IndiaSpine Massager in ChennaiBuy Spine Massager Online in India

annismith123 said...

Why Some Pages Load Slow When Using Pi-hole And How To Fix ?
It how to make a Blank Fax Cover Sheet
The Sikhs make up a small but significant proportion of the Indian population of Singapore. They began arriving in Singapore from as early as 1881. Committed to their religion, they set about establishing temples. Today, the Central Sikh Temple is an imposing building, capped by an impressive dome. Where is it located?

Barbara Lineberger said...

fortnite mod candy crush saga mod apk pubg apk