vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   PHP Optimization (https://vborg.vbsupport.ru/showthread.php?t=265083)

creative-friend 06-12-2011 12:25 PM

PHP Optimization
 
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......

Quote:

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

Quote:

Originally Posted by nitra1000 (Post 2207646)
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

Quote:

Originally Posted by Adrian Schneider (Post 2207865)
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

Quote:

Originally Posted by Adrian Schneider (Post 2208297)
There probably are some optimizations you could make...

What type of hosting package do you have?

Its Shared Hosting Package.


All times are GMT. The time now is 05:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01044 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete