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

First of all, vBPortal is a huge resource hog - it can use up to 100 over queries on your homepage. I don't know anything about 4images. As to which httpd process, look at your server logs, and find out what is being called again and again (or get your host to investigate this).
Reply With Quote
  #3  
Old 10-23-2002, 01:03 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin, do you mean it can use up to 100 queries on the vbPortal index.php page, or on the vBulletin index.php page?
Reply With Quote
  #4  
Old 10-23-2002, 01:44 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBPortal index.php - each latest thread is 1 query, and all the templates are queried unless you add them to the templatesused="" in index.php (which is not added properly by default). When I was using it, I found out that that index page had over 200 queries!!!

Your site is down now.

Try this URL to see the queries on your vBPortal index:

http://x-mencomics.com/xfan/index.php?showqueries=1

If it doesn't work, it means you are using a newer version of vB - in which case, turn debug mode ON in your Admin CP and try that URL again.

Remember to turn debug mode back to OFF - leaving it on is a security risk.
Reply With Quote
  #5  
Old 10-23-2002, 01:49 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'd try that, but that process is once again hogging 90+% of the CPU. I can't even ssh in to reboot the server my site is on!

This is so incredibly frustrating, and it's really hurting my site (which is my full-time job). I'm at a loss as to what to do to resolve this.
Reply With Quote
  #6  
Old 10-23-2002, 01:54 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Being unfamiliar with UNIX, I'm wondering what a single httpd process entails. Is it just one user viewing a particular page, or does it encompass a bunch of page requests?

It's just one httpd process that's regularly hogging the CPU, and I really need to find out what's causing it to do that.
Reply With Quote
  #7  
Old 10-23-2002, 01:55 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you on a dedicated server? I suggest you post this problem on vB.com in their server forum, and see if eva2000 and other server gurus can help. Mind you, vB.com may not support you as your board is hacked.

Also, get your host to reboot the server for you.

By the way, I see you are a fellow Aussie. I'm in Melbourne.
Reply With Quote
  #8  
Old 10-23-2002, 02:01 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin, yep, it's a dedicated server.

I'll try posting at vb.com, but you're right, I likely won't get help as it's a hacked board.

As for rebooting, my site's host is likely sick of getting reboot requests from me!

Thanks for taking the time to try and help. It's very much appreciated; especially from a fellow Aussie! (I'm in Adelaide).
Reply With Quote
  #9  
Old 10-23-2002, 02:08 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your site is getting busy, I suggest changing from a resource-hungry addon like vBPortal to something that is just a minor add-on to vB like vBHome Lite or vBIndex. Or upgrade your server.

What is your current server load? Your current server stats? How many users online at once?

Anyway, the people at vB.com are good - they can offer you better advice.
Reply With Quote
  #10  
Old 10-23-2002, 02:13 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin, the only real reasons I use vbPortal are 1) for its banner admin system, as I sell ad space on my site, and 2) for its ability to list the most recent articles from specified forums on the front page, as my site is predominantly a news site.

Do either vBHome or vBIndex provide such functionality?

And how on earth would I uninstall vbPortal, since it's so integrated into vBulletin?

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.
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 01:21 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.04616 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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_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