[us...@httpd] Apache configuration problem: huge daemons and I often lose control of the server

2009-09-26 Thread Alvise Nicoletti
Hi ... I use ubuntu-server jaunty with apache2 and php5. I also use tomcat6 on the server but I still can't configure mod_jk to use the jsp website on port 80. I write you because every daemon's size of apache2 processes is big from 35 to 55 megabytes. So with a configuration like:

[us...@httpd] Extremely high virtual memory usage

2009-09-26 Thread Igor Katson
I am facing an extremely high virtual memory usage by apache. In fact it is not using as much swap space as it shows, but if there are many threads, apache starts swapping extensively and the system becomes totally unresponsive. Look at the VIRT column (this is the output of top) PID USER PR

Re: [us...@httpd] Using VirtualHosts, do I need to specify main ServerName?

2009-09-26 Thread Edward Ruggeri
On Sat, Sep 26, 2009 at 12:49 PM, Stephen stephe...@rogers.com wrote: Edward Ruggeri wrote: (Of course, my system hostname (in /etc/hostname) is not fully qualified.) Your hostname, should have an entry in /etc/hosts 127.0.0.1 hostname Then Apache is happy and you are fine. Thanks, but,

[us...@httpd] Using VirtualHosts, do I need to specify main ServerName?

2009-09-26 Thread Edward Ruggeri
Hi, I am running Apache 2.2.9 on Debian 5.0.3. Everything seems to work nicely, but I'm worried about this quote from Issues Regarding DNS and Apache in the 2.0 documentation: The addition of name-based virtual host support in Apache 1.1 requires Apache to know the IP address(es) of the host

Re: [us...@httpd] Using VirtualHosts, do I need to specify main ServerName?

2009-09-26 Thread Stephen
Edward Ruggeri wrote: (Of course, my system hostname (in /etc/hostname) is not fully qualified.) Your hostname, should have an entry in /etc/hosts 127.0.0.1 hostname Then Apache is happy and you are fine. Stephen - The

Re: [us...@httpd] Using VirtualHosts, do I need to specify main ServerName?

2009-09-26 Thread Norman Peelman
Edward Ruggeri wrote: Hi, I am running Apache 2.2.9 on Debian 5.0.3. Everything seems to work nicely, but I'm worried about this quote from Issues Regarding DNS and Apache in the 2.0 documentation: The addition of name-based virtual host support in Apache 1.1 requires Apache to know the IP

Re: [us...@httpd] Using VirtualHosts, do I need to specify main ServerName?

2009-09-26 Thread Norman Peelman
Edward Ruggeri wrote: On Sat, Sep 26, 2009 at 12:49 PM, Stephen stephe...@rogers.com wrote: Edward Ruggeri wrote: (Of course, my system hostname (in /etc/hostname) is not fully qualified.) Your hostname, should have an entry in /etc/hosts 127.0.0.1 hostname Then Apache is

[us...@httpd] system calls that interact with OSX finder

2009-09-26 Thread Dan Yamins
I have an apache virtual host for some local development I'm doing using python cgi scripts. Here is a example script that should open a Finder window on the server if the server is running OSX, and an explorer window if it's running windows or cygwin. --- print 'Content-Type: text/html\n\n'