Apache performance issues
|
Original Message
|
Name: smd5433
Date: January 13, 2007 at 21:14:01 Pacific
Subject: Apache performance issuesOS: redhat enterprise linuxCPU/Ram: dual dual core opteron /Model/Manufacturer: dell |
Comment: Hi, I'm running apache 2.2 on a rhel server. Everything is up to date. It is being used for an advertising campaign server and handles about 6m hits a day. Here's the problem: The http server is very slow to respond (if at all; it frequently times out) from the client side. Netstat shows that the machine has on average 500-600 sockets open simultaneously. top shows that none of the http child processes are not eating up the processor, so it can't be a matter of hardware requirements. I'm using the default mpm settings. Thanks!
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: ctj
Date: January 29, 2007 at 06:04:06 Pacific
|
Reply: (edit)I think it is do with the size of the content your server sending back for each http request. Your sever has started on socket and it still open while the server has opened another 499 to 599 connection means the first connection hasn't closed yet. If the page got any php or some other server side scripts, check if that goes to any infinte loops or has some blocking statements. Or if you are sending out massive flash or movie files, try reducing the content. Is there anyway you can check the bandwidth usage?? Cheers -ctj
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: kidtangerine
Date: January 31, 2007 at 04:29:43 Pacific
|
Reply: (edit)does 6m mean millon? What's the type of internet connection for the server? And no, im not about to be a dumbass like most of the users on here and tell you need more bandwidth or to reboot, but if it's DSL, which I hope it's not with 6 million hits, over ipsec vpn or satilite, you could have an issue with mtu size. An mtu of 1400 with dsl, vpn, satilite will cause very similar issues because the packets keeps having to be resend due to pppoe protocol or ike taking up space in the packet header. s--- happens all the time on bellsouth buiness class dsl, and directway isp's with Cisco ios products. This is probable not the solution but if your using one of mentioned technologies and you havent specified a lower mtu like 1350 on the servers internet gateway, thats the issue. go to the support page or google setting for your firewall and change the mtu size. Are u doing nat or straight routing? In a DMZ? Stupidest People Alive can be found here.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: