![]() |
Too many processes index.php - Help wanted!
Hello guys,
I have been having issues with my site for quite some time. I got two people taking a look at it and could not give me an explanation. My site is in a Shared Hosting. Getting traffic of around 20k people a day. I have been getting alerts that my site is running to many processes here and there. It has gotten to the point where I run 22 processes and the following minute just 1. The amount of users online was less than 100, so it is definitively not the traffic. I deactivated all plugins and the issue continued. I activated them one by one and problem seemed solved, but again Processes are up and down. The site is slow or users get the 500 error as the Hosting says I use too many resources. No weird file on the File Manager, I have wordfence installed. ANy idea what it may be? Site is boobsrealm.com. |
Why shared hosting with 20k a day? ..
|
Quote:
|
have you tried a cache plugin?
|
Quote:
|
one of 2 things:
- your hosting sucks - your coding sucks a single page poorly written can easily run up dozens of processes for each hit. if all the content is loading via script, that will add a lot of processes. using mysql will add more. if you want to continue using the worst hosting you can possibly buy, i'd make sure your code is clean and optimized. maybe cache it too. . |
Quote:
|
Quote:
if your site/business is worth anything to you, i'd recommend upgrading to VPS. HG can probably move your site for free. . |
Quote:
|
Quote:
. |
Quote:
|
I have found that the processes issue is one used by shared hosting companies to get around that unlimited everything bullshit that they lured you into signing with. This is almost exclusively if you are using Wordpress. Shared hosting only works with sites that get 10 hits a day. At 10k you are now an upgrade target.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
How can you get 10k visitors with a site that is so slow?
Website speed test Your hosting is hindering your growth, it's making you lose sales and it utterly sucks. |
if your site is a wordpress site I would have a look at your template.. stuff like <?php bloginfo() ?> and other wordpress functions are all using unnecessairy memory etc.. -> simply replace it by the real output (here for ex. Wordpress version etc..) instead of using wordpress functions.
|
Quote:
Look in your logs and see if anyone iframing you or using images. |
I had the same problem with my sites. First empty the caches in cpanel. In my case it was robots and spam companies. Go to your cpanel and access raw log. Download it and open in a text editor. search for "bot" and check the ip ranges. Block these Ips on firewire level. In cpanel it is a button where you can block IPs. Check the list you downloaded for IPs from the same serial like 196.55.14.xxx. If you find many of the same first three number groups it is most likely bots. Check the IP range as well and block it. I did so and it first lowered my UVs of course but improved my ratio, second the websites were free for quality traffic and did not reach its limits.
|
Quote:
yes that si why I need to move the site |
Thanks. will check the logs and the blog info
went out to eat something and my car's engine died because of the cold so waiting for road assistance in the warm Quebec. |
your site took forever to load here your probably losings half your traffic to slow loading its time to upgrade hosting.
|
use cloudflare.com
|
boobsrealm.com does not load for me
|
Quote:
|
Code:
user or root$ kill [pid # shown] then restart your server Linux / Unix: Restart PHP Service Command If the problem persists you have a bad php script on the server (or an 3v1L script). At any rate you cannot do the above so email the host's tech department -- good luck. |
user is on shared hosting there is nothing for them to restart :2 cents::2 cents::2 cents:
Quote:
|
Quote:
|
Quote:
And yes, better hosting fixed the problems most of the time, but so did better code. :upsidedow |
1. your hosting is a joke (it takes 20 seconds to deliver the page)
2. install wp super cache plugin ASAP 3. get a new hosting and migrate the site (VPS or dedicated with SSD drive) btw: nice looking site... interested in link exchange? |
Quote:
If most of your traffic don't view more then one page, here what i'd suggest ( i did it on a host gator shared hosting , i had 100k daily visit while only 5% where viewing more then 1 page yea lot of skimmed traffic ) You make a manual cached file, index.html, all your traffic goes to your home page which is html, then if they view other page they go the the PHP. If that doesnt work, you may try cloudflare, they saved me huge amount of traffic by caching most of the content. If you have 100 active users and all of them making php request it is normal to have many process running. Static html home page is needed if you have too many users. Good cache plugins will make many statics html page which visitor will only view html unless your site actually need to make new php request for every hit.. |
How can you guys suggest ''root'' command when he said he use a shared hosting.... which shared hosting have root access?? VPS OK but shared hosting???
|
Quote:
"At any rate you cannot do the above so email the host's tech department -- good luck." That was my point -- shared hosting sucks. It is usually like living in an apartment building [or housing project] with a few slimeballs that have no respect for the other tenants. If you have no ssh access to your account you cannot check your scripts' processes. You cannot restart a HTTP server as a user -- you can't really do much except make all your php files chmod 500 . You have no way to reenable them 1 by 1 and see if any of your scripts are the issue. |
Quote:
|
Try deactivating wp_cron and setup your own cron job from cpanel. There are a lot of tutorials about that, even on the help page of HG. Also you want to try wp total cache or something similar. Might want to do some cache via .htaccess . Also make sure that you upload your featured images at the dimension that you set in php_the_thumbnail... Don't let wp do the autoresize...
|
Quote:
|
Quote:
thanks. sure email me at [email protected] for the link exchange |
Quote:
|
Hello. It seems some ppl where iframing my site.. seems to be solved now..thanks everybody! And I will still change hosting
|
Quote:
check the plugins if you have wp error I got while visiting your site ERROR 500 - INTERNAL SERVER ERROR Why am I seeing this page? Is there anything that I can do? Understanding Filesystem Permissions How to modify your .htaccess file How to modify file and directory permissions |
Quote:
and yes it almost certainly is the number of users index.php is the home page every single user opens at least one process Call M3Servers and let them fix you up |
Quote:
:mad: |
Get a better host. A $10 VPS at Vultr / DigitalOcean should be able to handle 10k/day using Wordpress no problem if setup properly. If you're not tech savvy, get one from M3 Servers or another decent host. HG is very terrible.
|
Quote:
OH and deleted the plugin that cause the 500... still have the issue, but this time the processes are 1/25.. |
fixed! =)
|
Quote:
. |
Quote:
|
Quote:
|
All times are GMT -7. The time now is 03:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123