Date: Wed, 26 Feb 2003 16:03:38 -0800 (PST) From: Murat <muratremix@yahoo.com> To: freebsd-questions@FreeBSD.ORG Subject: I need big Help! (Not yet another newbie question!) Message-ID: <20030227000338.26030.qmail@web14307.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, 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 OS. 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% httpd it should use 10-12 Mb usually, and increase when child proccess number increase. 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 slowdowns 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 ram usage. 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 \ --enable-module=perl make make install Apache Step 2: With BASH 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 \ --enable-module=perl 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 \ --with-zlib-dir=/usr/local 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 http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227000338.26030.qmail>