Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2008, 09:13 PM
elrafei elrafei is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default powerful-server ==> slow-forum




What are the best possibilities for server in the case of the many members and visitors?

What is the best size required database must not exceed about?

If the server best forum is not good and it hacks Yet there is remarkably slow in the Forum is the solution?


What is the connection speed required for the server?
Reply With Quote
  #2  
Old 09-06-2008, 11:07 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All of those are hypothetical questions which you can't get an accurate answer for
Reply With Quote
  #3  
Old 09-07-2008, 12:16 AM
elrafei elrafei is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks FRDS for your reply

my forum all the day database errors

To the Forum by a large number of members and visitors, and many problems now occur in the database for the Forum for example
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
/usr/home/amrkhaled/public_html/forum/includes/class_core.php on line 274

MySQL Error :
Error Number :
Date : Saturday, September 6th 2008 @ 06:02:59 PM
Script : http://forum.
Referrer : http://forum.
IP Address : 41.196.179.226
Username :
Classname : vB_Database


The possibilities with the server is


Intel Xeon Dual Quad Core 2.33
8 GB RAM
FreeBSD 7.0
PHP 5.26
Apache 2.2.8
MySQL 5.1.25

Is this enough possibilities?

Is this a server or this potential sufficient to deal with a good standard, the Forum?

If were not good, what are the specifications required for large server and a special forum for a large number of visitors and members and the size of the database of 4.32 GB


myforum

Currently Active Users: 830 (146 members and 684 guests)
Reply With Quote
  #4  
Old 09-07-2008, 01:56 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you may need to optimize your server settings in such files such as my.cnf, php.ini httpd.conf just to name a few.

Post a optimization request over in the forum at vBulletin.com and those guys will help you out
Reply With Quote
  #5  
Old 09-15-2008, 06:37 AM
azn_romeo_4u azn_romeo_4u is offline
 
Join Date: Feb 2006
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #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
  #7  
Old 09-18-2008, 02:41 AM
azn_romeo_4u azn_romeo_4u is offline
 
Join Date: Feb 2006
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't used the built in memcache feature that vb uses.

Seriously working wonders right now. 100 mysql messages per day about errors down to virutally zero. http://www.danga.com/memcached/

Quote:
# ./memcached -d -m 2048 -l 10.0.0.40 -p 11211
He has 8 gigs of ram, 2 to memcache shouldn't be a big deal right?
Reply With Quote
  #8  
Old 09-18-2008, 03:29 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
I haven't used the built in memcache feature that vb uses.

Seriously working wonders right now. 100 mysql messages per day about errors down to virutally zero. http://www.danga.com/memcached/



He has 8 gigs of ram, 2 to memcache shouldn't be a big deal right?
You're missing the point, if you allocate that much memory, and vBulletin is the only thing using memcache, and you're not caching anything other than the datastore, it's going to waste. You might as well yank it out of the machine..
Reply With Quote
  #9  
Old 09-18-2008, 03:01 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elrafei View Post
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
/usr/home/amrkhaled/public_html/forum/includes/class_core.php on line 274
As said above you will have to review your server settings. Start by upping your allowed connections, until this error disappears. 200 should do it.
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 03:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04342 seconds
  • Memory Usage 2,248KB
  • 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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete