PDA

View Full Version : Server suggestion?


mtlcore
11-28-2007, 11:17 PM
Hi guys,

this is my dedicated: p4 3.0ghz 2gb ram......

my forum has 11,000 threads 45,000 posts and 40,000 members.. usually the average users online is 100 and same amount of guests.. sometimes the highest it can go is 1500users online. then i have to turn it off for non-members.

this is the issue, sometimes i have to turn it off for non-donating members too, i don't want to do this. i thought the ram would solve this problem but it didn't (had 1gb before)..

what do you recommend i do?

mtlcore
11-30-2007, 03:24 AM
is it the p4 that's doing this? should i upgrade to a dual xeon?

snakes1100
12-01-2007, 06:59 PM
Post your "top" stats under heavy load.

Once your in top, hit the "1" key, to show all your cores, if you have more than one.

mtlcore
12-01-2007, 09:11 PM
top - 19:09:57 up 1 day, 21:17, 1 user, load average: 1.64, 1.03, 0.82
Tasks: 134 total, 1 running, 133 sleeping, 0 stopped, 0 zombie
Cpu(s): 20.2%us, 1.2%sy, 0.0%ni, 78.5%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 2059456k total, 1305940k used, 753516k free, 62024k buffers
Swap: 2031608k total, 324k used, 2031284k free, 813572k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25117 apache 15 0 44904 22m 5464 S 7 1.1 0:43.89 httpd
31711 apache 15 0 42880 19m 5024 S 7 1.0 0:19.05 httpd
4311 apache 15 0 45472 22m 5308 S 7 1.1 2:06.24 httpd
27894 apache 15 0 43296 20m 5060 S 5 1.0 0:37.08 httpd
28114 apache 16 0 43668 20m 5008 S 5 1.0 0:33.31 httpd
31428 apache 15 0 45444 21m 4956 S 4 1.1 0:18.29 httpd
26191 apache 15 0 46004 22m 5096 S 4 1.1 0:36.09 httpd
2649 mysql 15 0 164m 42m 4524 S 2 2.1 67:58.46 mysqld
31354 apache 15 0 43088 19m 5012 S 1 1.0 0:18.88 httpd
1517 apache 15 0 46684 23m 5732 S 0 1.2 2:22.07 httpd
4258 apache 15 0 43264 20m 5480 S 0 1.0 2:00.50 httpd
25110 apache 15 0 43816 20m 5304 S 0 1.0 0:46.47 httpd
28101 apache 15 0 43668 20m 5060 S 0 1.0 0:36.04 httpd
28115 apache 15 0 43760 20m 5044 S 0 1.0 0:33.74 httpd
,,,,


1,250 (598 members and 652 guests) --- TURNED OFF TO EVERYONE EXCEPT 25-30 people.

snakes1100
12-02-2007, 04:17 PM
According to what you posted, i don't see any issues in top, minimal cpu use, only using half your ram, minimal swap use.

I doubt you are using the default cookie timeout of 900s, try setting that back to default so we get a real user base, but again, if that is your peak times for traffic, i don't see anything in TOP to suggest you have a issue.

lighti
12-10-2007, 01:39 AM
Yes loads of 1.6 with that much traffic is not bad at all (may be a bit high if that site is the only thing on the server) but still nothing to jump around about, a few tweaks could help. Your server should be running just fine and site loading fast :)