Results 1 to 6 of 6
Thread: diagnosing a "lag", help please
-
12-20-2006, 10:08 PM #1Web Hosting Master
- Join Date
- Oct 2002
- Location
- Virginia
- Posts
- 788
diagnosing a "lag", help please
what else should I look for with this problem, in the last 3-4 weeks I have experienced "lag" with my forums, users will get time outs, a page will load and say “done” but there is nothing on the page, pages will start to load, hang up, then finish loading 10-30 seconds later, a user will get a “done” page that’s blank and have to refresh and it will then load right away, etc this happens on two different sites, two different forum software, so I assume its server related
at first I thought it was network related, but after my server co contacted the NOC they said it was apache related, the logs have been hitting the 2GB limit and bringing the server down, after a week/week ˝ the 2GB limit would be reached again, so logrotate was installed, this helped the server from crashing but it was still slow, same “lags”
Contacted another management co, some apache settings were tweaked, some php settings tweaked and logs temporarily disabled, the forums are now much faster but the “lag” symtoms are still there, they just go by quicker, pages still “hang”, just not as long
Where do I go from here to diagnose this? The server itself seems to be running ok, no big loads, idle time is good, pings are low, memory is not completely maxed out, apc cache is installed, mysql and php tweaked by a mangement co and recommendations at vB.com
Server
AMD Barton 3000
1GB RAM
80GB SATA main (approx. 35% used)
40GB SATA backup (approx 35% used)
bandwidth not a problem
15,000 members
1.2 million posts
(100-500 online)
3000 members
300,000 posts
(25-150 online)
20:41:28 up 35 days, 23:13, 1 user, load average: 0.37, 0.67, 0.85
120 processes: 118 sleeping, 1 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.0% 25.9% 1.5% 0.0% 0.3% 9.1% 62.8%
Mem: 1020776k av, 993080k used, 27696k free, 0k shrd, 14148k buff
784716k active, 168144k inactive
Swap: 1052248k av, 17236k used, 1035012k free 527240k cached
1 <1 ms <1 ms <1 ms 192.168.0.1
2 15 ms 15 ms 15 ms 10.30.1.1
3 16 ms 15 ms 16 ms so-1-1-0-0.CORE-RTR1.ROA.verizon-gni.net [130.81.11.33]
4 24 ms 23 ms 24 ms so-2-1-3-0.BB-RTR1.RES.verizon-gni.net [130.81.20.0]
5 20 ms 21 ms 21 ms so-6-0-0-0.ASH-PEER-RTR2.verizon-gni.net[130.81.17.177]
6 21 ms 23 ms 23 ms 0.so-7-0-0.XL2.IAD8.ALTER.NET [152.63.36.205]
7 22 ms 23 ms 23 ms 0.so-0-1-0.XL2.DCA5.ALTER.NET [152.63.32.33]
8 24 ms 22 ms 31 ms 0.so-7-0-0.BR1.DCA5.ALTER.NET [152.63.43.177]
9 25 ms 23 ms 24 ms cpr1-pos-6-2.VirginiaEquinix.savvis.net [208.173.10.137]
10 24 ms 26 ms 26 ms bcs2-so-5-3-0.washington.savvis.net [206.24.227.45]
11 43 ms 43 ms 44 ms dcr2-so-7-2-0.Atlanta.savvis.net [204.70.192.57]
12 61 ms 63 ms 61 ms dcr2-so-2-0-0.dallas.savvis.net [204.70.192.70]
13 60 ms 62 ms 62 ms bhr1-pos-1-0.fortworthda1.savvis.net [208.172.129.230]
14 63 ms 63 ms 64 ms bhr1-pos-12-0.fortworthda1.savvis.net [208.172.131.82]
15 61 ms 60 ms 62 ms csr1-ve242.fortworthda1.savvis.net [216.39.64.58]
16 * * 62 ms 216.39.86.190
17 63 ms * * (my IP removed)
18 64 ms 62 ms 66 ms (my IP removed)
thanks in advance for any and all help!▒UrlRedo.com - short URL service
-
12-20-2006, 10:36 PM #2Web Hosting Guru
- Join Date
- Oct 2005
- Location
- US
- Posts
- 308
Have you looked at the MaxClients setting for Apache?
(You can check error logs for it. (If your hitting it))
(Over 256 requires recompile.)
-
12-20-2006, 10:38 PM #3Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
(Over 256 requires recompile.)
-
12-21-2006, 12:12 AM #4Web Hosting Master
- Join Date
- Oct 2002
- Location
- Virginia
- Posts
- 788
Originally Posted by No1Resource
maxclients shows its set at 2000
Actually, I believe you can just set "ServerLimit" to whatever you would like it to be in httpd.conf.▒UrlRedo.com - short URL service
-
12-21-2006, 12:14 AM #5Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
didnt find any mention of serverlimit in the httpd.conf ?
http://httpd.apache.org/docs/2.0/mod...ml#serverlimit
-
12-21-2006, 12:21 AM #6Web Hosting Master
- Join Date
- Oct 2002
- Location
- Virginia
- Posts
- 788
Originally Posted by layer0
how do i find what serverlimit is currently set to? i do #whereis serverlimit and it just brings up the name▒UrlRedo.com - short URL service