Jump to content

Mobilepedia website tuning: Difference between revisions

From TetraWiki
Amit (talk | contribs)
Created page with " == '''MobilePedia Website Tuning''' == '''Issue''' The issue reported by customer is slowness in website ''' Understanding / Observation ''' As the page taking time to ..."
 
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[category:Mobilepedia]]
[[category:KLOXO]]


== '''MobilePedia Website Tuning''' ==
== '''MobilePedia Website Tuning''' ==
Line 4: Line 6:
'''Issue'''
'''Issue'''


The issue reported by customer is slowness in website
The issue reported by customer is slowness in website


''' Understanding / Observation '''
''' 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,
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.
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'''
'''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


We have add the below parameter in httpd.conf :
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
  StartServers      3
Line 27: Line 34:
  Timeout 40
  Timeout 40


save & exit;
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
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.
  got minimised to 20-30 secs in our network.

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.