View Single Post
  #6  
Old 09-18-2008, 12:17 AM
mute mute is offline
 
Join Date: Dec 2002
Location: Phoenixville, PA
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by azn_romeo_4u View Post
Your server is better than mine in terms of memory. I have a 2.5ghz dual quad harpertown with 4 gigs of ram. Here's what I learned. My server gets 20k visitors per day and over 5million file requests per day.

Install Memcache - brilliant. I was getting crashes the same as you "mysql has gone away" like 100 of these per day but I allocated 1 gig of memory to memcache and the messages have dropped down to like 4-10 per day.

Better HDD - Scsi for faster rpm and I/O wait. Forums that have a ton of visitors usually have high I/O wait. 10k rpm scsi drive works so much better than a normal 7200rpm sata. I ran my forum about two year ago on a Dual Xeon 2.8ghz (old 2003 models) 36gb scsi drive with 2gb ram with about 40-60% of the visitors I have now and it worked out good! But wouldn't be able to handle my website now. Scsi drives are very good. I don't have one now though T_T too expensive with my host.

Like FRDS said, httpd.conf, my.cnf, and php.ini memcache, and apc could be good. If you have 45 bucks to spare try www.litespeedtech.com I here it works very very very well. Free 15 day trail with 2 cores running.

But first I would try to increase the memory amount that you allocate to memcache if you have this installed. Since you have 8 gigs of ram, 2gigs to memcache should be good I think.
Actually, if you're just using the built in memcache functionality in vBulletin, you don't need more than 64 megabytes of memory allocated for memcache. By default, the amount of information stored in memcache by vBulletin (the datastore) is very small. Allocating more memory for memcache when vBulletin isn't storing anything but the datastore in it is a waste.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01080 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)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)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete