vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   powerful-server ==> slow-forum (https://vborg.vbsupport.ru/showthread.php?t=190207)

elrafei 09-06-2008 09:13 PM

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?

SEOvB 09-06-2008 11:07 PM

All of those are hypothetical questions which you can't get an accurate answer for

elrafei 09-07-2008 12:16 AM

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)

SEOvB 09-07-2008 01:56 AM

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

azn_romeo_4u 09-15-2008 06:37 AM

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.

mute 09-18-2008 12:17 AM

Quote:

Originally Posted by azn_romeo_4u (Post 1622473)
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.

azn_romeo_4u 09-18-2008 02:41 AM

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?

mute 09-18-2008 03:29 AM

Quote:

Originally Posted by azn_romeo_4u (Post 1624515)
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..

Alfa1 09-18-2008 03:01 PM

Quote:

Originally Posted by elrafei (Post 1616253)
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.


All times are GMT. The time now is 07:57 AM.

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.01115 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete