Jump to content

Mobilepedia website tuning: Difference between revisions

From TetraWiki
No edit summary
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[category:Mobilepedia]]
[[category:KLOXO]]


== '''MobilePedia Website Tuning''' ==
== '''MobilePedia Website Tuning''' ==
Line 12: Line 14:
'''Solution / Process'''
'''Solution / Process'''


Note: As this is '''kloxo based site''' but we have done some apache level changes in httpd.conf buy cli
Server Information:
VPS kloxo based Server
OS : CentOs 6.4 x86_64
Ram : 2 GB
Main Services Running : tcpserver, named, php, xinetd, httpd, mysql, nrpe, kloxo
 
Note: As this is '''kloxo based site''' but we have done some apache level changes in httpd.conf by cli


We have add the below parameter in httpd.conf :
We have add the below parameter in httpd.conf :

Latest revision as of 08:23, 13 June 2014


MobilePedia Website Tuning[edit]

Issue

The issue reported by customer is slowness in website

Understanding / Observation

As the page taking time to open is of around 60-70 secs, as on the page there is lot of calulations happening at the code level as told by customer,And we analyse the system at the excution time cpu utilization of mysql goes to 90-100 % and even memory cunsumption is also high, got the issue with,the free memory left.

Solution / Process

Server Information:

VPS kloxo based Server 
OS : CentOs 6.4 x86_64
Ram : 2 GB
Main Services Running : tcpserver, named, php, xinetd, httpd, mysql, nrpe, kloxo

Note: As this is kloxo based site but we have done some apache level changes in httpd.conf by cli

We have add the below parameter in httpd.conf :

StartServers       3
MinSpareServers    3
MaxSpareServers   10
ServerLimit      50
MaxClients       50
MaxRequestsPerChild  2000
KeepAlive  off
Timeout 40

save & exit;

restart the httpd and then observer cpu utilization come to 80-90 % and very small difference in free memory left but the execution time of the web pages repoted got minimised to 20-30 secs in our network.