Date: Wed, 18 Sep 2002 09:20:16 +0200 From: pzw@aabc.dk To: isp@FreeBSD.ORG Subject: Inactive memory in FreeBSD Message-ID: <E01A200E2339D311AF7E00508B319A2B04C84710@expers.aabc.dk>
next in thread | raw e-mail | index | archive | help
Hi there. I have a webserver running FreeBSD 4.5 with Apache 1.3.26, PHP 3.0.18, and MySQL 3.23.49. When I FTP to the server or compile stuff, the amount of Inactive memory goes up, which I guess is because it is used for disk cache. However, when I stop compiling/FTP, it don't release the memory, it stays inactive, and then when you compile or use FTP again, the server starts using swap space, which IMHO can't be very efficient, and I have to reboot the server in order to release the memory. I have 256MB in the server, and it only uses around 40MB initially, so there shouldn't be any problem, I don't run X or anything fancy on it either. I've seen this behavior on several of my FreeBSD servers, but never on my Sun Solaris 8 servers, they release the memory back to free memory when used. Why is this? And, is there any way to prevent it from happening? Best Regards, Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E01A200E2339D311AF7E00508B319A2B04C84710>
