LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2005, 01:59 AM   #1
OwlManAtt
LQ Newbie
 
Registered: Apr 2004
Posts: 17

Rep: Reputation: 0
Horrible apache response times


Hey there.

I recently installed Debian testing on a server and set up apache/mysqld. I've used apache on my home box, and it has always been quite responsive despite only having DSL. But for some odd reason, the apache on this server runs wonderfully for about a minute, slows down sending pages for a few seconds, then stops sending pages all together.

Most of the site it is hosting uses PHP and MySQL heavily, but because html files/images seem to be suffering from the same problem, I'm willing to bet that I can't shift the blame onto mysqld for this one.

The apache config is 500-600 lines shorter than the default one, and it excludes quite a few things you'd find by default, so I can't understand why that apache would be slower than the one on my home box.

I have been playing with the prefork stuff (MaxRequestsPerChild, Min/MaxSpareServers, etc), but nothing seems to fix this odd behavior.

Apache is version:
Server version: Apache/1.3.33 (Debian GNU/Linux)
Server built: Jan 20 2005 03:29:20
and PHP is version 4.3.10-2.

I've googled around for informtion on tuning apache, but everything is just the same four or five things over and over. I've fiddled with the prefork stuff a lot and not noticed much of a change. I've disabled the symlinkbyowner stuff. Yadda yadda. It just isn't helping.

The server using using any swap, so I know that isn't slowing it down, and the load is <.5, so that isn't the problem, either. And it isn't as if the server comes under a massive load as soon as it goes up. There are perhaps two or three people browsing.

Here's my base apache config. See anything that would be causing problems?

httpd.conf.

The stuff in the virtualhost configs isn't all that radical, so I really doubt that's what is causing a problem.

Any help is appreciated. Thanks for your time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache no response, can't open page adrianmak Linux - Software 7 10-20-2004 03:25 AM
Apache source code hack - Server response headers 2.0.49 fireman949 Linux - Software 2 05-24-2004 10:31 AM
Fedora is horrible wkm001 Linux - Software 3 11-08-2003 03:00 AM
Linux times out waiting for a valid dhcp response enigma Z Linux - Networking 11 10-29-2003 04:50 PM
Horrible Sound... Ballaboveall Linux - General 1 05-15-2003 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration