Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Sat Aug 08, 2009 2:30 am 
Offline
Senior Newbie

Joined: Wed Aug 05, 2009 10:50 am
Posts: 9
melon wrote:
Eidolon Night wrote:
UPDATE 2: OK, had to manually enable the apache plugins. Done.


Apache plugins need access to http://localhost/server-status?auto otherwise you won't see any data. It uses the ExtendedStatus feature of Apache.


In mods-enabled I have status.conf which contains:

<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost ip6-localhost
Allow from .aionelysium.com
</Location>

BUT it doesn't seem to to be working. Am I missing something?

</IfModule>

Found this from http://ubuntuforums.org/showthread.php?t=1044117


Top
   
 Post subject:
PostPosted: Sat Aug 08, 2009 6:30 am 
Offline
Senior Newbie

Joined: Fri Oct 03, 2008 3:03 pm
Posts: 8
Eidolon Night wrote:

In mods-enabled I have status.conf which contains:

<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost ip6-localhost
Allow from .aionelysium.com
</Location>

BUT it doesn't seem to to be working. Am I missing something?

</IfModule>

Found this from http://ubuntuforums.org/showthread.php?t=1044117


By default the Apache Munin plugins will try to connect to http://127.0.0.1:80. In my case I only have Apache listening on the external IP, and as I wanted to keep that Apache config, I've added this to my Munin config:

Code:
[apache*]
env.url http://my.domain-name.com/server-status?auto
env.ports 80 443


Top
   
 Post subject:
PostPosted: Sat Aug 08, 2009 4:12 pm 
Offline
Senior Newbie

Joined: Wed Aug 05, 2009 10:50 am
Posts: 9
Tried the above, but I still get "no apache server-status on ports 80" when attempting to enable the apache plugins.


Top
   
 Post subject:
PostPosted: Sat Aug 08, 2009 7:13 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
hybinet wrote:
50 max clients with Apache/mod_php on a Linode 720 is unsustainable.

This does not correspond to my experience. One Linode 360 I manage runs Ubuntu 8.04 and Apache 2.2.8 just fine with MaxClients set to 50 (and hits that max several times a week). It uses PunBB, which is lightweight compared to, say, Drupal or Wordpress.

Another running CentOS 5.3 and Apache 2.2.3 uses MediaWiki and can only handle a MaxClients of 25 before hitting swap. For whatever reason, Apache seems less memory-efficient on CentOS than on Ubuntu, but this server also runs mailing lists and other services that consume RAM.


Top
   
 Post subject:
PostPosted: Mon Aug 10, 2009 12:28 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com
Quote:
By default the Apache Munin plugins will try to connect to http://127.0.0.1:80. In my case I only have Apache listening on the external IP[...]


You can have apache listen on both IPs. Have apache itself listen on localhost, and have your vhost listen on the external IP.

_________________
If it ain't broke, you didn't tweak it enough. If it is broke, use more duct tape.
http://independentchaos.com


Top
   
 Post subject: Solution?
PostPosted: Fri Oct 09, 2009 12:48 pm 
Offline

Joined: Fri Oct 09, 2009 12:40 pm
Posts: 1
I'm having the same issues with my linode server running drupal on apache. Were you able to solve the problem? I'm getting spikes about once a day and it's usually in the middle of the night when there is almost no traffic on the site.
Thanks, Tim


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group