I'm using freebsd 4.7 release with IBM dedicated server (P3-1133, 512 ram,
36 gigs hdd etc)

I was happy with freebsd, before that I was using Linux redhat as server
Everything started at, when I want to install eDonkey client. It asked for
Linux-Base package, and installed automatically (/usr/ports collection)

Because eDonkey didn't work usual, and crashes, I de-installed linux-base
with eDonkey. Everything was normal at this moment.
When I try to upgrade my apache, with compiling PHP, Php-Accelerator, I
noticed my Apache is using 150Mb ram from now on!
Like this (a line from "top" command)
38016 nobody            2   0   145M  8308K sbwait   0:04  0.00%  0.00%

it should use 10-12 Mb usually, and increase when child proccess number
But Apache start with 145-150Mb ram usage, this stays exactly like that in
top command
But when proccess increase, my swap ram getting filled, and server
a lot

I asked for a freebsd upgrade (to my host) and they installed freebsd 4.7
(it was 4.5 release, when things happened)
After that, I recompiled apache-php (with php-accelerator) again. Nothing
was changed, it still uses 145-150Mb ram

I am sure linux-base is responsible for that. Because when I use
linux-sun-java-1.4.1 (a simple link checker with 20 threads) I see 200Mb

What can I do? Please help

PS: Apache / Php compile configurations below
Apache Step 1:
with bash:
EAPI_MM="/usr/local/mm-1.2.1" \
./configure \
--enable-module=rewrite \
--enable-module=speling \
--enable-module=expires \
--enable-module=info \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=usertrack \
--enable-module=proxy \
--enable-module=userdir \
--enable-module=so \
--activate-module=src/modules/perl/libperl.a \

make install

Apache Step 2:
EAPI_MM="/usr/local/mm-1.2.1" \
./configure \
--enable-module=rewrite \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=log_config \
--enable-module=auth \
--enable-module=digest \
--enable-module=autoindex \
--enable-module=cgi \
--enable-module=dir \
--enable-module=env \
--enable-module=include \
--enable-module=mime \
--enable-module=so \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/php4/libphp4.a \

Php 4.3.0:
Deleted: --with-apxs=/usr/local/apache/bin/apxs \

./configure \
--with-apache=/usr/local/apache_1.3.27/ \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--with-gd --with-freetype-dir=/usr/local/include/freetype2 \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--with-mm=/usr/local/mm-1.2.1 \
--with-jpeg-dir=/usr/lib \

cp php.ini-dist /usr/local/lib/php.ini
Add: zend_extension="/usr/local/phpa-1.3.3r2/php_accelerator_1.3.3r2.so"
Fix: register_globals = On;

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to