4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: dilkebol on March 12, 2009, 03:20:58 PM

Title: high CPU use (high load on the server)
Post by: dilkebol on March 12, 2009, 03:20:58 PM
My host told me that my site is consuming high CPU usage about 20 % .
I am using shared server.
SO I changed from disabled captcha to below one.
-Captcha is enabled to stop spamming using send as ecard . (8 digit captcha)
-Comments are also captcha enabled (8 digit captcha)
-Registration is also captcha enabled (8 digit captcha)
-Image download only available to reg. users.
-send as ecard only available to reg. users.
-image upload only for admin
-FTP password  changed to 24 digits & & all webmail accounts deleted(only default one is there )
-keywords which are automatically creates hyperlink to search page is also disabled in order to stop load on sql database.i.e.only keywords are there no hyperlink.
Getting below 1000 visitors per day.
Still my host is saying high CPU use.
 command : [php]<defunct>
is causing high CPU %
Anyone help please.
Thanks in advance
Title: Re: high CPU use (high load on the server)
Post by: V@no on March 12, 2009, 03:40:23 PM
Just googled around for [php]<defunct> and came to conclusion that this is more related to problem on the server rather then to a script.
Title: Re: high CPU use (high load on the server)
Post by: Bogdan on March 28, 2009, 05:49:39 PM
My host told me that my site is consuming high CPU usage about 20 % .
I am using shared server.
SO I changed from disabled captcha to below one.
-Captcha is enabled to stop spamming using send as ecard . (8 digit captcha)
-Comments are also captcha enabled (8 digit captcha)
-Registration is also captcha enabled (8 digit captcha)
-Image download only available to reg. users.
-send as ecard only available to reg. users.
-image upload only for admin
-FTP password  changed to 24 digits & & all webmail accounts deleted(only default one is there )
-keywords which are automatically creates hyperlink to search page is also disabled in order to stop load on sql database.i.e.only keywords are there no hyperlink.
Getting below 1000 visitors per day.
Still my host is saying high CPU use.
 command : [php]<defunct>
is causing high CPU %
Anyone help please.
Thanks in advance


Caching feature is active and working? Also, your pictures are large ( 800 - 1000 KB )?
Title: Re: high CPU use (high load on the server)
Post by: comicart on January 22, 2015, 06:48:44 PM
I'm also getting this problem at times.

| Top Process | 78.0 | /usr/bin/php /home/comicart/public_html/index.php |
| Top Process | 60.0 | [php] <defunct> |
| Top Process | 56.0 | [php] <defunct> |

And the note from my server management saying
Quote
the traffic and the badly optimized php scripts of comicartcommunity.com (the defunct php processes) are causing high loads in the server which causes critical services to fail.  We would suggest having the website developer take a look into the php coding to better optimize it.

I've made many changes/add-ons over the years. I'm sure I need to go back and strip some out.