 |
 |
 |
 |
#253467 - 01/29/04 12:23 AM
Re: Let's tune MySQL!
[Re: palmen]
|
Member
Registered: 09/26/00
Posts: 229
Loc: Asia
|
Jeremy<br /><br />I think my server needs your trick.<br /><br />Here is my result:<br /> <br />Thu Jan 29 13:16:11 2004 13:16:18 up 1:33, 2 users, load average: 26.99, 27.69, 31.70 184 processes: 183 sleeping, 1 running, 0 zombie, 0 stopped CPU0 states: 89.2% user 10.0% system 0.0% nice 0.0% iowait 0.0% idle CPU1 states: 84.1% user 7.0% system 0.0% nice 0.0% iowait 8.1% idle Mem: 1030284k av, 540420k used, 489864k free, 0k shrd, 36708k buff 478752k actv, 2664k in_d, 3780k in_c Swap: 1020116k av, 6532k used, 1013584k free 225288k cached Http processes currently running = 122 Mysql processes currently running = 3 Netstat information summary 2 SYN_RECV 3 CLOSING 5 LAST_ACK 10 FIN_WAIT1 10 LISTEN 15 CLOSE_WAIT 81 ESTABLISHED 392 TIME_WAIT <br /> <br /><br />I am using Xeon HT 2.4Ghz on Intel Server board with 1GB ECC RAM and SCSI.<br /><br />On average there are 100 users login at the same time. Does persistant connection help?
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#253469 - 02/19/04 05:57 PM
Re: What Need to be Tuned?
[Re: -Fusion-]
|
Lurker
Registered: 02/18/04
Posts: 4
|
I have a P4 2.4 with 1GB RAM dedicated server 100Mbps net connection<br /><br />It runs WHM 8.8.0 cPanel 8.8.0-R73 RedHat 9 - WHM X v2.1.2 apache (1.3.29 (Unix)) mysql (4.0.15-standard)<br /><br />This machine is entirely use for just 1 domain with a vBulletin board. The site has about somewhere from 200+ to 800+ users online concurrent depends on time of the day.<br /><br />When the number of users about 300- (less than 300) the server seem to react normally (Not Slow)<br /><br />However, when the number of users increase at night (7mp - 5am PST) the server react extreamly slow (I mean really really slow) and it sometimes refuse to dislay page and not to load images as well.<br /><br />1. Is this because of MySQL not tuned or Apache not Turned? How do I go about finding what need to fix?<br /><br />2. I have include the 2 results (when site not busy & busy) of the script Germy provide, with the numbers shown, How I optimize MySQL to be the most efficient for my site?<br /><br />3. With the hardware I have how many users I could have on the site just to browse the vBulletin board?<br /><br />Thank you in advance for helping.<br /><br />Result when site not busy:<br /><br />Thu Feb 19 15:57:00 PST 2004<br /><br /> 15:57:01 up 8:37, 1 user, load average: 0.53, 0.68, 0.72<br />99 processes: 89 sleeping, 1 running, 9 zombie, 0 stopped<br />Mem: 1032320k av, 994240k used, 38080k free, 0k shrd, 16036k buff<br /> 151248k active, 805548k inactive<br />Swap: 2104504k av, 936k used, 2103568k free 862944k cached<br /><br /> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND<br /> 7416 nobody 19 0 1096 1096 752 R 1.9 0.1 0:00 0 top<br /><br /><br />Http processes currently running = 24<br />Mysql processes currently running = 3
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|