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 ..."
 
No edit summary
Line 8: Line 8:
''' 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
Note: As this is '''kloxo based site''' but we have done some apache level changes in httpd.conf buy cli


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


  StartServers      3
  StartServers      3
Line 27: Line 25:
  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.

Revision as of 07:23, 13 June 2014

MobilePedia Website Tuning

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

Note: As this is kloxo based site but we have done some apache level changes in httpd.conf buy 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.