Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #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
  #2  
Old 09-16-2009, 09:08 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do you mean "YOUR" script ?
Reply With Quote
  #3  
Old 09-16-2009, 09:16 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know, they told me that, maybe vB or something with it
I asked him what he suggest, and he told me this:

Hello again, some scripts have "cache" plugins that can help alot - but I'm unsure if Your script has some modules or plugins that You can use.

I do know one Wordpress site that we had issues with, overloading a server due his site used too much memory and CPU when he had alot of visitors but when he activated a plugin called "wp-cache" his site didn't use much at all, so that was solved that way.
Reply With Quote
  #4  
Old 09-16-2009, 09:22 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could be a malformed plugin/hack.

As you arent a massively large forum, it could be down to bad scripting, or corrupt databases.

Easiest solution is to disable all of your plugins, monitor server load, and then re - enable them one at a time,

Try Lynnes suggestion:

https://vborg.vbsupport.ru/showpost....63&postcount=6
Reply With Quote
  #5  
Old 09-16-2009, 09:33 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know, but tonight was important for users on forum, so suddenly just BOOM like when you jump on digg
Reply With Quote
  #6  
Old 09-16-2009, 09:38 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<never been on social bookmarking sites.

I would check your mods tho
Reply With Quote
  #7  
Old 09-16-2009, 09:44 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TimberFloorAu View Post
<never been on social bookmarking sites
oftopic, but when you get on first page, your hosting is down in only one minute, and require few days to get up again (until you get out from the first page)
Reply With Quote
  #8  
Old 09-16-2009, 09:47 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

youve lost me now ? explain please
Reply With Quote
  #9  
Old 09-16-2009, 09:55 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What? I understand what you told me to do.
I just posted you what happens if you get on digg.com first page because you said you dont know what's that.
Reply With Quote
  #10  
Old 09-16-2009, 09:59 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digif View Post
What? I understand what you told me to do.
I just posted you what happens if you get on digg.com first page because you said you dont know what's that.

Ahh sorry your talking about Digg.

Right, well I dont know, lol.. Digg has never appealed to me.
Neither to be honest has Twitter FaceBook or other social mumbo jumbo.

Ste
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:37 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.03815 seconds
  • Memory Usage 2,241KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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