On 23 Aug 2006, at 19:53, Jonathan Vanasco wrote:

I still haven't tracked down what could cause the not-sharing under FreeBSD. I caved in and got some people from my local BSD user group to help me look into it

I'm seeing huge memory usage on FreeBSD as well. I was actually about to post a reply to this thread to ask if you had got any further with it.

In the meantime , if anyone reading this is running mp2 under FreeBSD, would be you kind enough to help me by sending me some quick outputs ( offlist or on ):

shared/reseident memory size
        ps aux | grep httpd

dedi# apachectl stop
dedi# apachectl start
dedi# ps aux | grep httpd
root 60641 22.6 5.8 73068 60492 ?? Ss 8:25PM 0:02.08 /usr/ local/sbin/httpd www 60645 0.0 5.8 73068 60504 ?? S 8:25PM 0:00.00 /usr/ local/sbin/httpd www 60646 0.0 5.8 73068 60504 ?? S 8:25PM 0:00.00 /usr/ local/sbin/httpd www 60647 0.0 5.8 73068 60504 ?? S 8:25PM 0:00.00 /usr/ local/sbin/httpd www 60648 0.0 5.8 73068 60504 ?? S 8:25PM 0:00.00 /usr/ local/sbin/httpd www 60649 0.0 5.8 73068 60504 ?? S 8:25PM 0:00.00 /usr/ local/sbin/httpd

These numbers seem really high to me. I have both mod_perl and mod_php installed and am running two perl sites and four php sites.

Apache compile options
        usually either:
                /usr/local/sbin/httpd  -V
                /usr/local/apache2/bin/httpd  -V

dedi# /usr/local/sbin/httpd -V
Server version: Apache/2.0.59
Server built:   Aug 20 2006 12:47:55
Server's Module Magic Number: 20020903:12
Server loaded:  APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture:   32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
-D AP_TYPES_CONFIG_FILE="etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="etc/apache2/httpd.conf"

Cheers
Jonathan

Reply via email to