Click to See Complete Forum and Search --> : Apache 2 performance


nded01
06-12-2003, 12:36 PM
Hi,

I recently migrated an intranet from SuSE 7.3 to Red Hat 9. However, the performance of the web server (Apache 2.0.4.0) sucks. Images take an age to load and latency between page jumps is terrible.

Other services running on the same server (such as Samba) seem to show an improvement over the previous set up, which makes me think that there are some configurations of the httpd.conf file that need to be optimised.

Any ideas?

stolzyboy
06-16-2003, 07:09 PM
have you tried to install the latest stable version

Apache 2.0.46 is the best available version

you can download it here

http://httpd.apache.org/download.cgi

Sxooter
07-03-2003, 06:48 PM
Don't forget to check the error logs. They often tell a story.

stolzyboy
07-03-2003, 07:33 PM
hey sxooter, i don't think this guy really cares, as with most n00bs that post, they post what they want and never post back

Sxooter
07-03-2003, 07:44 PM
You're probably right. But, every now and then, someone reaffirms my faith in humanity.

nded01
07-04-2003, 05:01 AM
I have been 'snowed under' - I do care and thanks for your reply.

Error logs - didn't show up anything untoward. (System and Apache)

Could it be something to do with the proxy server built in to apache 2?

Strangely enough, when I access the site over a fast WAN connection (the box is on an intranet) the problems seem less noticable.

Other than apache / php / mysql I have samba and webmin running - so although the server is only a p2 350 with 128 Mb of Ram i THINK that is a high enough spec. The smb shares that I have created work v. fast.

I hope this goes some way to reaffirming your faith in humanity.

Cheers
Neil

Sxooter
07-07-2003, 02:13 PM
I hope this goes some way to reaffirming your faith in humanity.

Yes, it does... :-) But I have no idea what's causing everything to be so slow.

Is the built in proxy server enabled by default?

Are you using the stock apache configuration files? Can you try them if you aren't?

Can you disable uneeded modules to see if that helps? (i.e. php etc. to start?)

nded01
07-08-2003, 05:00 AM
Thanks Sxooter,

I have narrowed the problem down to DNS.

My intranet is registers in WINS, so my Windows clients can resolve the name in that way, but when I enable DNS on the server it causes everything to be slow.

I would just disable DNS, but Red Hat 9 doesn't seem to like it when this is the case. More reading required...

Thanks for your help ;o)

Sxooter
07-08-2003, 12:45 PM
Far better to disable WINS than DNS. Maybe you can setup a Samba server to be the WINS server and tell it to use DNS to resolve names in the background, then just put all the hostnames into DNS???