WordPress.org

Ready to get started?Download WordPress

Forums

Custom Community
Need to Optimise width-calculators.php (1 post)

  1. MRPshop
    Member
    Posted 8 months ago #

    Hi Friends,
    My website DiscussPoint.com is hosted in HostGator there are Process Limit of 25 simultaneosly yesterday i had around 70-75 Visitors at a time but after sometime i got 500 Error page because my website exceeded the 25 Processes limit.

    I checked the error log and also contacted with HostGator support they told me that one of the file is executing continuously, that file is the problem please optimise that file.

    Here is the Error Log, as you can see that only one php file (except index.php) width-calculators.php is excecuting many times.

    Sat Dec 07 15:30:02 2013] uid 30855 (discussp) has more than 20 processes (danger zone) TOTAL: 25
    [Sat Dec 07 15:30:02 2013] uid 30855 (discussp) processes:
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/index.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/index.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/index.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/wp-content/themes/custom-community/_inc/css/width-calculators.php
    ---> (discussp) /usr/bin/php /home3/discussp/public_html/index.php
    -----

    Please tell me how can i optimise this file or is there anything that causing the problem.

    Regards,
    Ankit

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.