From owner-freebsd-questions Sat Jan 31 02:07:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA20075 for questions-outgoing; Sat, 31 Jan 1998 02:07:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from emerald.accessv.com (emerald.accessv.com [206.221.248.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA20064 for ; Sat, 31 Jan 1998 02:07:09 -0800 (PST) (envelope-from grobin@accessv.com) Received: from accessv.com (port006-86.accessv.com [209.50.86.6]) by emerald.accessv.com (8.8.5/8.8.5) with ESMTP id FAA22768 for ; Sat, 31 Jan 1998 05:03:45 -0500 Message-ID: <34D2F742.5BE6A334@accessv.com> Date: Sat, 31 Jan 1998 05:04:50 -0500 From: Geoffrey Robinson Reply-To: grobin@accessv.com X-Mailer: Mozilla 4.03 [en] (Win95; U) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Something is very wrong. Memory leak? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" Hi, I'm running a FreeBSD 2.2.5RELEASE server using Apache 1.3a1 on a P-200 with 128MB RAM that gets 80k to 100k hits a day and I seem to be experiencing a serious memory problem. When the server boots I have about 109MB free memory. As time goes by the free memory slowly disappears at the rate of about 40MB a day. Most of the missing memory is listed under active in top but the sum of memory used by the process isn't anywhere near that much. And it gets worse... If I don't reboot every two days and the free memory gets below 15MB the systems seems to go into a sort of 'dormant' state. It stops processing requests from the web and telnet becomes very slow even though the load average is below 0.2. Luckily I am still able to reboot when it is in this state. I've been very careful about rebooting regularly so this 'dormant' state has only occurred twice, but it seems to be directly related to the loss of memory. The server was installed from the same FreeBSD CD that I installed on my home system, but I haven't had any memory problems at home. Dose anybody know what is going on? Thanks. -- Geoffrey Robinson grobin@accessv.com Oakville, Ontario, Canada.