LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-16-2008, 02:22 PM   #1
danieltoner
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Rep: Reputation: 15
Apache is stalling out on loading up some pages.


Actually it's not stalling out, it's more like delaying, a lot. It's loading them just fine as long as I wait, and it's about a 120 second wait.

Any idea why this is?

Also same thing in Gnome when opening the properties screen to change permissions. After about 2 minutes it loads up.

It started after last boot which also took about 5 or 6 minutes on "Starting message bus."

Think I have something set wrong?

It's been happening since I installed webmin.
 
Old 03-16-2008, 06:01 PM   #2
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL5/6, Solaris 10/11, NetBSD, OpenBSD, FreeBSD, MacOS
Posts: 221

Rep: Reputation: 40
Hi,

Have you checked you apache error logs, to see if there are any problems there? Also, is this accessing apache locally you're getting the problem or are remote users having the same issue?

What distro are you using?

Cheers,
Steve
 
Old 03-16-2008, 06:52 PM   #3
danieltoner
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SteveK1979 View Post
Hi,

Have you checked you apache error logs, to see if there are any problems there? Also, is this accessing apache locally you're getting the problem or are remote users having the same issue?

What distro are you using?

Cheers,
Steve
I haven't checked the logs yet, I'm using RHEL. I'm pretty green but I have to learn this stuff, trying to cram a lot of knowledge in a short amount of time.
 
Old 03-17-2008, 01:51 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Have a look at /var/log. a lot of SW pkgs write their logs in their, and the catchall is /var/log/messages.
HTH

If you're new to Linux, this may help: http://rute.2038bug.com/index.html.gz
 
Old 03-17-2008, 09:20 AM   #5
FraGGod
Member
 
Registered: Jun 2007
Location: Yekaterinburg, RU
Distribution: gentoo
Posts: 59

Rep: Reputation: 16
I find that many times just adding line "HostnameLookups Off" to httpd.conf speeds everything up for obvious reasons, but 120 seconds seems a bit too much.
 
Old 03-17-2008, 11:12 AM   #6
TheDirtyScreech
Member
 
Registered: Jul 2007
Distribution: Gentoo, LFS
Posts: 42

Rep: Reputation: 15
Usually "HostnameLookups" is set to "Off" these days, but if it isn't, that will help (unless you need hostnames in your logs, of course).

I've run into similar problems like this before. Here's what I usually find:

* If you have a bit of load, all of the Apache processes/threads you have allotted for a given vhost (or the entire machine) are full. If you have the memory, you can bump that up by changing "MaxClients" and "ServerLimit" in your httpd.conf file. I'm not a RHEL guy, so it could be renamed to apache2.conf, or there could be a default module configuration for the mpm modules on that distro. Can a Red Hat or Fedora person help with locating the correct config locations and names for danieltoner?

* Your apache processes aren't getting recycled often enough by apache. This can be changed by changing the "MaxRequestsPerChild" directive in the same location as the previously mentioned directives

I hope this helps. Hopefully a Red Hat user will be able to chime in on the specific location(s) of the directives I mentioned.

-TDS-
 
  


Reply


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
slow loading pages kwickcut Mandriva 3 03-18-2005 10:42 PM
SuSE Linux 9.1 Personal is stalling during loading... p3ngu!n Linux - Distributions 8 10-09-2004 04:33 PM
Apache httpd not loading php pages properly. queezythegreat Linux - Networking 0 09-26-2004 03:50 PM
slow loading pages with Apache/MySQL dmedici Fedora 0 07-20-2004 12:49 PM
Applications Stalling while Loading NellieR Mandriva 1 07-16-2004 08:54 AM


All times are GMT -5. The time now is 08:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration