php forum
php mysql forum
php mysql smarty
 
Topic Options
#266285 - 01/07/04 03:30 PM UBBThreads Server Hardware Specs
Brandon Long Offline
Lurker

Registered: 01/07/04
Posts: 4

   UBBThreads Server Hardware Specs to Del.icio.us Add to del.icio.us
  Digg UBBThreads Server Hardware Specs Digg it
I colocate a server for a busy forum using UBBThreads 6.3.2.<br />Ever since the upgrade to 6.3.2 the server has been crashing quite a bit once we get 80+ users viewing the forums at the same time, the load shoots through the roof and its a downward spiral from there. I've got to shutdown mysql and restart it to get back to normal. Sometimes when this happens the w3t_Posts column get corrupted and I've got to myisamchk -o it to get back to normal.<br /><br />The current server is running Mandrake with latest kernel. Mysql version is 4.0.17, and mysql is tuned as best as it can be for the 512Megs of RAM we have still leaving room for apache. At busy periods mem will start to swap and things get ugly with load.<br />This forum currently has 12000 active users and it is climbing. Right now specs are a 1Ghz Pentium III and 512M of RAM. I know we need more RAM for Mysql, but the motherboard is a socket 370 and won't support throwing in another Gig of RAM, so it looks like either scouring for a new motherboard that will support 1.5Gig to use with the current hardware(which is not an easy find) or upgrading the server.<br /><br />I would like to get some opinions about hardware specs for supporting a large number of users leaving room for growth or some ideas of how to tune what we have better. Any help would be appreciated.

Top
#266286 - 01/07/04 04:02 PM Re: UBBThreads Server Hardware Specs [Re: Arwen]
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
What's the URL to your board?<br /><br />Have you installed any of the various PHP accelerators/compilers/caches? <br /><br />You've also pretty much answered your own question above... you probably need more memory, but as your server can't be expanded any further, it's time to look at a new one. You might also consider buying a second box just to host the database, if you can afford to do so with your host.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#266287 - 01/07/04 04:31 PM Re: UBBThreads Server Hardware Specs [Re: Rick8765]
Brandon Long Offline
Lurker

Registered: 01/07/04
Posts: 4
the board url is www.knifeforums.com<br /><br />I host the box for him so hosting issues etc dont really matter , I'm trying to get information about what kind of specs he needs in a new server to forward to him. I don't have any kind of PHP compilers etc installed.<br /><br />I want to point him in the direction of something that will handle his current users plus leave room for growth, but I also don't want take a huge dent out of his wallet. What kind of hardware are most people using with a board with around the same number of members?

Top
#266288 - 01/07/04 05:36 PM Re: UBBThreads Server Hardware Specs [Re: Arwen]
navaho Offline
Veteran

Registered: 10/05/00
Posts: 2517
Loc: navahoville! :D
Won't that motherboard hold an even 1 gig or RAM? If so, moving from 512 to 1 gig will make a large difference.
_________________________
Picture perfect penmanship here.

Top
#266289 - 01/07/04 05:46 PM Re: UBBThreads Server Hardware Specs [Re: zerind]
Brandon Long Offline
Lurker

Registered: 01/07/04
Posts: 4
no go, its a slot 370 with 3 PC133 dimm slots. I tried putting 3 512 chips in it and it won't recognize anything over the initial 512.

Top
#266290 - 01/07/04 06:03 PM Re: UBBThreads Server Hardware Specs [Re: Arwen]
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Mmm. The board has about 300,000 messages. <br /><br />I'm hosting a Threads with ~400,000 messages on a single P4 2.0Ghz with 1.5 gigs of memory, and a single 7200 RPM IDE drive. <br /><br />We get about 120,000 new messages posted every month (~4,000 a day), with ~4 million monthly script pageviews. The database is kept pruned to its current size to prevent killing the server... load averages around 4-6 during peak hours. <br /><br />It isn't screaming fast all the time, but it isn't slow enough for anyone to complain. A PHP accelerator is a key part of keeping the server happy.<br /><br />Now, let's put things in perspective. While the database sizes are nearly the same, there are "only" ~300 new posts in the past 24 hours on the board, and "only" 100 people online in a 10 minute window. <br /><br />The board and MySQL should be quite happy on similar commodity hardware and lots of memory. 2 gigs or so. You can probably put together an 'entry-level' ~2GHz system for $500 or so that could later be expanded to use a faster processor or SCSI drives if the need is present. <br /><br />The key thing is going to be the memory for MySQL. The more memory it can use, the less it will have to go do disk. The less it goes to disk, the faster things perform. <br /><br />As a general rule, of course.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#266291 - 01/08/04 06:08 PM Re: UBBThreads Server Hardware Specs [Re: Rick8765]
Brandon Long Offline
Lurker

Registered: 01/07/04
Posts: 4
Thanks for the advice. Just wanted to get a general idea of the hardware people are using for this size of forum.

Top
#266292 - 01/09/04 03:57 AM Re: UBBThreads Server Hardware Specs [Re: Arwen]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
[]Brandon Long said:<br />no go, its a slot 370 with 3 PC133 dimm slots. I tried putting 3 512 chips in it and it won't recognize anything over the initial 512. [/]<br />Maybe the current RAM is PC100 rather than PC133?<br />Many boards don't recognize the PC133 RAM if there is a PC100 dimm in the first slot.

Top
#266293 - 01/09/04 04:02 AM Re: UBBThreads Server Hardware Specs [Re: Arwen]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
From my experience, 1GB of Ram should be sufficient for this kind of board.<br />Maybe you can put up a log file that keeps track of the slow queries and the number of searches that are done.<br />Searches are the bottleneck. So if the users do many searches/several at the same time it might get slow again.

Top
#266294 - 01/09/04 01:17 PM Re: UBBThreads Server Hardware Specs [Re: Rick8765]
JamesN Offline
Junior Member

Registered: 09/09/05
Posts: 1
Hi Charles <br />What board are you talking about? Can you give me the url? I would like to see how this software operates with a board that size. <br /><br />My Little board crashes with 100 visitors almost like clock work. <br /><br />Thanks for the help

Top
#266295 - 01/09/04 03:27 PM Re: UBBThreads Server Hardware Specs [Re: itsahabit]
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
http://www.trekbbs.com/threads/ubbthreads.php <br /> <br />There are a couple custom modifications in play, including user post count group access, a comprehensive floodcheck for unregistered user pageviews (to encourage users to register and post), some minor layout and CSS tweaks, and more. <br /> <br />The juicier forums are available only to registered members.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#266296 - 02/26/04 10:15 PM Re: UBBThreads Server Hardware Specs [Re: Rick8765]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
[]Have you installed any of the various PHP accelerators/compilers/caches? [/] <br />Haven't heard of these, could you give some more info?

Top
#266297 - 02/27/04 05:28 PM Re: UBBThreads Server Hardware Specs [Re: bisbell]
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Sure.<br /><br />PHP, like most modern scripting languages (Perl, Python, etc), uses a variant on a virtual machine, like Java and MS's .NET.<br /><br />When you visit a PHP script, PHP will parse the script, turn it into bytecode, then run the bytecode on its own internal engine.<br /><br />Bytecode caches intercept that process. If the script you're visiting has already been compiled, the compiled bytecode is loaded instantly, either from an in-memory or on-disk cache. Most caches will also try to optimize the compiled bytecode.<br /><br />The end result is much faster PHP speeds.<br /><br />There are really only two options available nowadays:<br /><br />- The Zend Optimizer, by the company that makes PHP itself: http://www.zend.com/store/products/zend-optimizer.php<br /><br />- The Turck MMCache, which is so good that the guy behind it was hired by Zend: http://turck-mmcache.sourceforge.net/<br /><br />There were a few more players in the market, but they seem to no longer be updated and only work with really old PHPs.<br /><br />Installing and properly configuring one of these caches can result in really dramatic performance improvement...
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#266298 - 02/27/04 11:37 PM Re: UBBThreads Server Hardware Specs [Re: Rick8765]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
Cool, I will check those out.

Top


Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks