Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2009, 08:54 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default hosting problem

We can see in the logs that the serverload was normal until around 23:15:
...
10:50:03 PM 0 271 1.54 1.52 1.34
11:00:01 PM 11 228 1.20 2.02 1.87
11:10:01 PM 6 232 2.07 1.75 1.80
11:22:25 PM 0 712 46.38 55.42 34.00
Average: 4 213 1.48 1.55 1.38
...

Then it jumped up to over 55 which is very high - below 5 is normal. Over 60 and the server will go down.

I can see alot of processes like theese was running:
...
User:beneamat PID:22711 Run Time:190(secs) Memory:133760(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/member.php
User:beneamat PID:22716 Run Time:188(secs) Memory:134284(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22718 Run Time:188(secs) Memory:134284(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22723 Run Time:184(secs) Memory:133772(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22724 Run Time:184(secs) Memory:133772(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22727 Run Time:184(secs) Memory:133768(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22730 Run Time:184(secs) Memory:133752(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/index.php
User:beneamat PID:22731 Run Time:184(secs) Memory:133768(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22732 Run Time:184(secs) Memory:133772(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22748 Run Time:178(secs) Memory:133776(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
User:beneamat PID:22768 Run Time:172(secs) Memory:133772(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/beneamat/public_html/misc.php
....

The above is just an example of at least 60 processes with the same name (misc.php) that was running at the same time.

But all looks ok now - so I guess it was Your script that couldn't handle to many visitors.

Can this be true? What to do to prevent it next time?
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 05:52 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.03103 seconds
  • Memory Usage 2,191KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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