Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
httpd process hogging CPU; need help! Details »»
httpd process hogging CPU; need help!
Version: , by X-Fan X-Fan is offline
Developer Last Online: Apr 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-23-2002 Last Update: Never Installs: 0
 
No support by the author.

G'day all,

I'm needing help with tracking down an httpd process that is regularly chewing up over 90% of the CPU of the server my vBulletin forums reside on. I'm no UNIX/SQL/PHP expert, so whilst I can see and kill the troublesome process, I've no idea how to track down what is causing it!

I'm running vBulletin v2.2.8 with vbPortal v3.0 Upgrade pr8.1 for vBulletin 2.2.4 and 4images v1.7 with vBulletin v2.x Integration, and can provide a full list of the hacks I've installed so as to help track down the problem.

I'm really needing help with this. My site was down for all but 30 minutes today, and it's killing us! :speechless:

Please help!!!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-23-2002, 02:23 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by X-Fan
Do either vBHome or vBIndex provide such functionality?
Yes, they can. In fact, you can do it WITHOUT a portal system, with 2 hacks found here. I'll PM you my forums site so you can see how I run a "portal" page on my forums index.php with NO portal system (after being a user of vBPortal for a while).

Quote:

And how on earth would I uninstall vbPortal, since it's so integrated into vBulletin?
Easy - just delete the files, and remove 2 lines from index.php and global.php. You can just look at the text file on www.phpportals.com that tells you how to manually install it, so you can uninstall it.

Quote:

I can't check the current server load/stats or users online as that rogue httpd process is preventing me from loading up the site or logging into the admin (being on 56k doesn't help either!), but usually the server load is around 4-5 and there's usually 100+ users online at any given time.
100+ users with a server load of 4-5 is too high for a dedicated server.

I have about the same as you, up to 250 at once, and my server load is never above 3. Remember, 4-5 server load means that your CPU is overloaded by 4 to 5 times or 400-500% - 0.1 means 10% of your CPU being used. 1 means 100% of your CPU being used.

Upgrade to dual-CPUs if you haven't yet.
Reply With Quote
  #13  
Old 10-23-2002, 02:33 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Current server load stats (after the host rebooted the server):

2.56, 2.26, 1.55 160 users online (40 members & 120 guests).

4.88, 2.86, 1.95 164 users online (43 members & 121 guests).

5.30, 3.36, 2.20 172 users online (44 members & 128 guests).

2.27, 2.86, 2.16 169 users online (46 members & 123 guests).

3.12, 3.01, 2.22 173 users online (48 members & 125 guests).

4.36, 3.34, 2.37 173 users online (48 members & 125 guests).

(The above is over about a 5 minute period.)

And from what I can see, vbPortal is prevalent in more than just those two files, especially as I use topics (and would like to retain that functionality as well). Then there's the matter of getting vbPortal out of the SQL database, too. (I'm a real newbie at the tech stuff if you can't guess!)

Also, I'm not seeing any option in the vbPortal admin to turn debug mode on.

{Edited to add extra server load stats).
Reply With Quote
  #14  
Old 10-23-2002, 02:35 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's in the vB Admin CP, vBulletin Options settings section.
Reply With Quote
  #15  
Old 10-23-2002, 02:40 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not seeing a link to that section...
Reply With Quote
  #16  
Old 10-23-2002, 02:42 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by X-Fan
I'm not seeing a link to that section...
Go to Admin CP, click on vBulletin Options, scroll down and you will see the Debug option.
Reply With Quote
  #17  
Old 10-23-2002, 02:46 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's no vBulletin Options... only vBulletin (which goes to the vb admin).
Reply With Quote
  #18  
Old 10-23-2002, 02:50 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Server load update...

2.98, 2.88, 2.56 190 users online (48 members & 142 guests).

3.39, 3.06, 2.66 192 users online (49 members & 143 guests).

3.55, 3.11, 2.69 183 users online (48 members & 135 guests).

Now from what I know, that's a little high but not too high that it would cause problems (especially with near 200 users online).
Reply With Quote
  #19  
Old 10-23-2002, 02:51 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am talking about the vB Admin CP, not vBPortal one.
Reply With Quote
  #20  
Old 10-23-2002, 03:09 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, no debug mode in the options.
Reply With Quote
  #21  
Old 10-23-2002, 12:11 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What the- you're right! It's gone! I could have sworn that there was an option to turn debug on for your server in the vB Admin CP - it may have been removed in the more recent versions. Mmm... you may have to switch it on in your server's config.
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 12: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.04541 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete