Re: [EMAIL PROTECTED] RE : [EMAIL PROTECTED] Find why httpd eats all swap

2007-07-11 Thread John Steel
Laurent FAILLIE wrote: Do avoid resources problem, I reduced both MaxClients and MaxRequestsPerChild in order to force more frequent child recycling (0 means unlimited). I did this and it still happened, but it ddn't seem as bad. What I really want to know is which vhost is causing it. The o

Re: [EMAIL PROTECTED] RE : [EMAIL PROTECTED] Find why httpd eats all swap

2007-07-10 Thread John Steel
Laurent FAILLIE wrote: Hi John, --- John Steel <[EMAIL PROTECTED]> a écrit : Could someone cast an eye over this please - eventually swap fills and the server dies. Its under very light load, a few php sites, some direct html pages, some perl and java. It's depend m

[EMAIL PROTECTED] Find why httpd eats all swap

2007-07-10 Thread John Steel
Could someone cast an eye over this please - eventually swap fills and the server dies. Its under very light load, a few php sites, some direct html pages, some perl and java. First the system spec: [EMAIL PROTECTED] conf]# uname -r 2.6.17-1.2142_FC4smp [EMAIL PROTECTED] conf]# httpd -version

[EMAIL PROTECTED] Setting up a staging server with apache

2007-04-29 Thread John Steel
I'm new to PHP but not J2EE. In J2EE you can set the container to resolve separate apps based off their hostname as long as you set them up as web-apps in the config. So for example, you can on a single PC visit http://localhost:8080/www.example1.com and http://localhost:8080/www.example2.com.

[EMAIL PROTECTED] [OT] Define a domains DNS entry entirely in terms of another

2007-04-18 Thread John Steel
Say I have example.com set up like this: example.com. IN NS ns.example.com. example.com. IN NS ns0.example.com. ns.example.com. IN A 1.2.3.4 example.com. IN A 1.2.3.4 webmail.example.com. IN CNAME example.com. mail.example.com. IN CNAME ex

Re: [EMAIL PROTECTED] IP address discimination

2007-04-17 Thread John Steel
Boyle Owen wrote: You must have a NameVirtualHost directive somewhere for 1.2.3.4 (any included files?). Anyway, why fight it? You absolutely *need* NameVirtualHost to do name-based virtual-hosting so just type it in and end the pain. I found them in httpd.include - it begins like this: NameV

Re: [EMAIL PROTECTED] IP address discimination

2007-04-17 Thread John Steel
Boyle Owen wrote: I have 2 dedicated Fed linux servers, one running httpd 2.0.51, which does not show this problem, and the other running 2.0.53 which does. Both host about 30 domains across 8 IP addresses each. The problem I'm trying to solve is an automatic redirection of http://example.com

[EMAIL PROTECTED] IP address discimination

2007-04-16 Thread John Steel
I have 2 dedicated Fed linux servers, one running httpd 2.0.51, which does not show this problem, and the other running 2.0.53 which does. Both host about 30 domains across 8 IP addresses each. The problem I'm trying to solve is an automatic redirection of http://example.com to http://www.examp