Log in

View Full Version : PHP Optimization


creative-friend
06-12-2011, 12:25 PM
Hello guys

Today i have received this Email from my hosting saying all this........

Can any1 please help me with it pleasee....my site is down aswell and i am receiving lots and lots Email from memberss.......

Here is the thing which they wrote......

I apologize, but I was forced to suspend the directory "/home/public_html/" as multiple scripts inside it were causing a a high load on the server, and due to it affecting all of the other accounts on the system, I forced to take immediate action for the health of the server.

Please be aware, we do not disable directories like this except in rare cases where multiple scripts are causing issues, and we believe this is the only way to stop the server from crashing.

Unfortunately I do not have any specific recommendations for these scripts, however, in general, adding some sort of caching mechanism, where the script does not need to generate a new page with every request, helps to lower the over load that a script will cause. Likely the original author or support group of the software that you are using will be able to help you to understand how to add something of this nature.

Disasterpiece
06-13-2011, 12:17 AM
changing your host may be a good idea if the forum gets too huge for the machine.

creative-friend
06-13-2011, 01:47 AM
I Recently changed it.......

Isnt there anything else which i can do??

nitra1000
06-14-2011, 02:45 PM
Check that all possible caching options are being used (see server optimization in admincp > Options)

Look up optimization of vbulletin (theres a few guides out there, a good one by Digital Point may be useful)

But I'd recommend switching hosts and/or upgrading hosting package

creative-friend
06-14-2011, 11:18 PM
Check that all possible caching options are being used (see server optimization in admincp > Options)

Look up optimization of vbulletin (theres a few guides out there, a good one by Digital Point may be useful)

But I'd recommend switching hosts and/or upgrading hosting package

Thanks Alot for your reply sir

i will have a look but changing the host is very hard for me because i recently changed it and it was a damn headache.

Adrian Schneider
06-14-2011, 11:30 PM
Any host who leaves it that vague is pretty clueless, IMO.

How big is your forum (members, posts, threads, avg. people online)?
What modifications do you have installed?

creative-friend
06-15-2011, 11:11 PM
Any host who leaves it that vague is pretty clueless, IMO.

How big is your forum (members, posts, threads, avg. people online)?
What modifications do you have installed?


well i have about 29000 members not many comes online....about 150+...... thread 62690.......posts 619911.....and all the normal mods i have on my forum....like top stats.....visitors in x hours....threads starters in x hour......vb experience......u know all the normal ones.

HMBeaty
06-15-2011, 11:17 PM
I would definately find a new host....

Adrian Schneider
06-16-2011, 12:26 AM
There probably are some optimizations you could make...

What type of hosting package do you have?

creative-friend
06-29-2011, 11:25 PM
There probably are some optimizations you could make...

What type of hosting package do you have?

Its Shared Hosting Package.

Pandemikk
06-29-2011, 11:31 PM
Your forum has outgrown most shared hosting tbh. If you still want to keep shared hosting you're going to need to ditch any budget hosting like GoDaddy and go for a company with less clients. LiquidWeb is good but there are better ones. Do some research.

EquinoxWorld
07-03-2011, 11:24 PM
We have around half a million posts too and over 200+ members average and have a VPS. Shared hosting with that many actives simply will do NOT do, I'm surprised you haven't crashed earlier. Shared hosting is for newbie boards (no offense to anyone using a shared package but it is what it is, no shared hosting will allow you what you have now without some sort of problems. Also form the sound of how many members you have your hosts has been TOO patient with you If I may say so, bet you've had that package for some time now.