Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2008, 03:45 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How To Optimize Script (Pls. Help Urgent!)

hi to all...i'm totally no knowledge about all of this...so want to please anyone out there and guide me how to solve this problem...and also need best advice too how to avoid this problem next time...

my site is being suspended from host server due to server overload...


Code:
top - 00:24:25 up 7 days, 56 min,  3 users,  load average: 18.10, 47.62, 32.36
Tasks: 212 total,   9 running, 202 sleeping,   0 stopped,   1 zombie
Cpu(s): 72.8% us, 23.6% sy,  0.0% ni,  3.3% id,  0.3% wa,  0.0% hi,  0.0% si
Mem:   2075740k total,  1396092k used,   679648k free,    83252k buffers
Swap:  2096472k total,    18348k used,  2078124k free,   753436k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
19524 mysite  19   0 31884  17m 6284 R  6.6  0.9   0:00.20 /usr/bin/php /home/mysite/public_html/cmps_index.php
19530 mysite  19   0 29708  15m 6256 R  6.6  0.8   0:00.20 /usr/bin/php /home/mysite/public_html/misc.php
19534 mysite  19   0 32692  17m 6256 R  6.6  0.9   0:00.20 /usr/bin/php /home/mysite/public_html/cmps_index.php
19533 mysite  19   0 30760  16m 6216 R  6.3  0.8   0:00.19 /usr/bin/php /home/mysite/public_html/arcade.php
19519 mysite  19   0 29848  15m 6244 R  5.3  0.8   0:00.16 /usr/bin/php /home/mysite/public_html/horoscopes.php



top - 00:24:40 up 7 days, 56 min,  3 users,  load average: 16.16, 45.74, 31.99
Tasks: 212 total,  14 running, 198 sleeping,   0 stopped,   0 zombie
Cpu(s): 78.7% us, 21.3% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   2075740k total,  1432124k used,   643616k free,    83712k buffers
Swap:  2096472k total,    18348k used,  2078124k free,   755664k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
19676 mysite  19   0 32172  17m 6276 R 12.0  0.9   0:00.36 /usr/bin/php /home/mysite/public_html/cmps_index.php
19666 mysite  20   0 31452  15m 6228 R  6.6  0.8   0:00.20 /usr/bin/php /home/mysite/public_html/misc.php
19679 mysite  19   0 31424  15m 6252 R  6.3  0.8   0:00.19 /usr/bin/php /home/mysite/public_html/misc.php
19689 mysite  18   0 30068  15m 6252 R  6.3  0.8   0:00.19 /usr/bin/php /home/mysite/public_html/misc.php
19667 mysite  19   0 30320  15m 6216 R  5.6  0.8   0:00.17 /usr/bin/php /home/mysite/public_html/awards.php
19688 mysite  19   0 32152  15m 6212 R  4.0  0.8   0:00.12 /usr/bin/php /home/mysite/public_html/cmps_index.php
19653 mysite  21   0 32792  17m 6244 R  3.3  0.9   0:00.34 /usr/bin/php /home/mysite/public_html/cmps_index.php
19693 mysite  18   0 28520  14m 5964 R  3.3  0.7   0:00.10 /usr/bin/php /home/mysite/public_html/register.php
thanks in advance for anybody's help and i really appreciate it...

best regards...
Reply With Quote
  #2  
Old 08-12-2008, 03:00 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you need help optimizing your server, you should post in the Server Configuration forum over at vb.com. Make sure you read and post all the required information outlined in this thread - [Required]: Info for optimisation / troubleshooting requests [31/03/08 update]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:14 AM.


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.03559 seconds
  • Memory Usage 2,167KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete