Image

Imagecracnup wrote in Imagelinux 😡stressed

linux/apache dragging ass

I am having an issue with a webserver serving pages extremely slow today. I have bounced the box, stopped any extra services (sendmail, bind, and mysql) to see if that would speed apache up at all, and nothing.

The system is a dual processor PII 450 with a gig of RAM and a hardware RAID 5 array of Ultra 2 disks. Top is showing each processor at 10% usage with 260M of available RAM and swap hasn't been touched. it's on a DMZ with a T1 out to the realworld. I am able to download kernel tarballs from kernel.org from the webserver at 190k, so I know the T1 isn't the problem.

netstat -an is showing about 200 established connections to port 80, and about 1200 total connections in various states to port 80. any suggestions on where to start?


Edit: changed the max connections setting in http.conf and disabled hostname lookups and things seem to be running a lot smoother.