PDA

View Full Version : Go above 20 processes and your website will be down.



bpeh
05-19-2007, 09:32 PM
hi,

I am sharing my personal experience with everyone in bluehost and wrote an article on it, http://sitecritic.net/articleDetail.php?id=269

i am not sure if disabling a website if it has more than 20 processes running concurrently in the back end is a new feature that bluehost implements. I had never have this problem before.

My site was down for 8 hrs before I found out the problem. bluehost tech guys told me the server was overloaded and asked me to wait for the site to be up. I waited and it was not up. Hours later, another tech guy told me that my website could be down if i have > 20 processes running in my backend. True enough, the problem lies in my script. Assuming if I am not a teckie person, i would not have solve the problem, and I dont believe bluehost staff would want to help to debug the script. For those who experience the same thing, you may find the answer in my article.

just to share.

cheers.

aceofspades
05-19-2007, 09:38 PM
hi,

I am sharing my personal experience with everyone in bluehost and wrote an article on it, http://sitecritic.net/articleDetail.php?id=269

i am not sure if disabling a website if it has more than 20 processes running concurrently in the back end is a new feature that bluehost implements. I had never have this problem before.

My site was down for 8 hrs before I found out the problem. bluehost tech guys told me the server was overloaded and asked me to wait for the site to be up. I waited and it was not up. Hours later, another tech guy told me that my website could be down if i have > 20 processes running in my backend. True enough, the problem lies in my script. Assuming if I am not a teckie person, i would not have solve the problem, and I dont believe bluehost staff would want to help to debug the script. For those who experience the same thing, you may find the answer in my article.

just to share.

cheers.

yah i am currently having the same problem with e107. I get terrible, "i love ur site now look at mine" spam. So i had to uninstall because i barely used it :eek:

charlesgan
05-19-2007, 09:51 PM
20 concurrent process or sql request is consider high, if they remain active for long duration, and you will see the cpu usage quota error page when you accessing the website.

second advice is to use the optimised script. :)

TinyLnk
05-19-2007, 10:56 PM
make sure your script is exiting when finished and closing mysql connections otherwise it may hang there forever. If you dont know where your script is hanging, you can put in print statements in different parts of the script to figure out where it is getting stuck at. When creating a script you need to make sure to watch the processes to see if they are ending. Sometimes you dont realize its hung up untill youve refreshed it 30 times and get a cpu error.

Setting up a local server for testing is a good idea because you can debug your scripts before you submit them to the host and realize they dont work. It can be a pain but worth it if your site is used by a lot of people. Also, make sure to backup your files before putting up the new ones. If you dont you may end up breaking your site and spending a lot of time getting it back up.

bpeh
05-20-2007, 03:08 AM
I am not sure if bluehost business is developing faster than the hardware. The server load is always 4.0++ and disk space > 85%.

Is this healthy??

----------------------
postgresql up
imap up
exim-26 up
entropychat up
exim (exim-4.63-1_cpanel_maildir) up
eximstats up
mysql (4.1.21-standard-log) up
pop up
spamd up
lfd up
ftpd up
httpd (1.3.37 (Unix)) up
cpsrvd up
syslogd up
antirelayd up
Server Load 4.13 (4 cpus)
Memory Used 66.1 %
Swap Used 0.02 %
Disk sdb1 (/) 53 %
Disk sdc1 (/home) 86 %
Disk sdd1 (/backup) 75 %
Disk sde1 (/backup/cpbackup/weekly) 64 %
--------

TinyLnk
05-20-2007, 12:42 PM
ouch i guess i got lucky and got on a newer server that isnt filled up yet -.-


ftpd up
syslogd up
spamd up
pop up
mysql (5.0.27-standard-log) up
postgresql up
cpsrvd up
exim (exim-4.63-1_cpanel_maildir) up
antirelayd up
entropychat up
exim-26 up
imap up
httpd (1.3.37 (Unix)) up
eximstats up
Server Load 1.23 (4 cpus)
Memory Used 30.3 %
Swap Used 0.75 %
Disk sda1 (/) 14 %
Disk sdb1 (/home) 15 %
Disk sdc1 (/backup) 17 %
Disk sdd1 (/backup/cpbackup/weekly) 3 %

akmedia
10-31-2007, 06:21 PM
I have a 6 IMAP email accounts and somehow using Mail.app (Mac OS X) to check those boxes along with a few POP accounts generates upwards of 20 processes which renders my Website unusable. This is driving me crazy and may indeed drive me away from BlueHost.

It seems I can either check my email via IMAP OR have the PHP and CGI scripts work on my Website but not both.

I find this inexcusable and will at least check out email-only hosting options.