Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-08-2009, 10:34 AM   #1
Registered: Sep 2007
Posts: 84

Rep: Reputation: 15
httpd not running properly on Fedora 12

Hi, all,

I recently upgraded from Fedora 9 to Fedora 12 (x86_64 version) and I'm having performance problems with httpd, which is the main purpose for this particular machine.

When I tried to start httpd the first time, I encountered problems with the /etc/httpd/conf/httpd.conf file: the modules and appeared to be missing from the new OS, so I commented out those lines from my previous version of httpd.conf.

Now, when I check the status of httpd, I get the following:

[root@localhost]# service httpd status
httpd dead but subsys locked

I'm not sure what that means. Apache does seem to be running, and queries from outside to my web site are serviced normally most of the time. If I query active processes, I see 12 instances of httpd running:

[root@localhost]# ps -ef | grep httpd
root 1465 1 0 10:04 ? 00:00:00 /usr/sbin/httpd
apache 1509 1465 0 10:05 ? 00:00:00 /usr/sbin/httpd
apache 1511 1465 0 10:05 ? 00:00:01 /usr/sbin/httpd
apache 2325 1465 0 10:16 ? 00:00:00 /usr/sbin/httpd

Notice the first entry is assigned to root? That's odd... not sure I've ever seen that before.

At any rate, I've noticed some pretty odd behavior out of the web site: just this morning, the machine performance went to hell. I checked "top" -- it took about 90 seconds for the terminal window to respond, and then refresh time, which is supposed to be around 2 seconds, took more like 30 seconds to a minute. There was no single process eating the cpu, but the httpd processes were sitting at the top, along with a single mysqld process. This condition lasted at least 10 minutes, and then I manually rebooted the machine (e.g. hit the Big Red Switch.)

I suspect this is all related.

Any ideas where I should check?

Thanks for your help in advance.

Phil Weingart
Old 12-08-2009, 11:06 AM   #2
Registered: Sep 2007
Posts: 84

Original Poster
Rep: Reputation: 15
Oh, one more thing...

One more thing...

I'd like to reduce the number of processes httpd spawns. When people hit my server, it seems to generate a whole bunch of httpd processes, like 20 or 25. I think there's a parameter in httpd.conf that controls that, but I don't recall which. Can anybody suggest normal settings for httpd.conf that will tame this process-spawning? Thanks.

Old 12-08-2009, 05:34 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,225

Rep: Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521
did you do a FULL reinstall ?
Installing fedora 12 on a freshly formatted drive ?
if not and you managed to run "upgrade"
the upgrade did not work.
Old 12-08-2009, 10:39 PM   #4
Registered: Sep 2007
Posts: 84

Original Poster
Rep: Reputation: 15
Yes, I did a full reinstall, and formatted the drive.

However, I restored some elements from the previous install, and one of those was httpd.conf. Is there a reason why the previous httpd.conf configuration should not work on the new version?


fedora, httpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
httpd not running mbanwi Linux - Newbie 4 09-30-2009 04:39 AM
Several httpd are running vishnukumar Linux - Server 11 07-21-2009 08:16 AM
httpd not running ehsantux Linux - Server 7 09-06-2008 07:50 AM
Apache httpd not loading php pages properly. queezythegreat Linux - Networking 0 09-26-2004 04:50 PM
httpd daemon needs frequent restart to work properly sushil_deore Linux - Software 0 09-16-2004 08:35 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 PM.

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