From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 24 23:08:14 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63F8F1065671 for ; Thu, 24 Jul 2008 23:08:14 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 23DB18FC18; Thu, 24 Jul 2008 23:08:12 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48890B5F.1020501@FreeBSD.org> Date: Fri, 25 Jul 2008 01:08:15 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Benjamin Adams References: <6199c3dc0807241449s758625esc79ae127abcaf750@mail.gmail.com> In-Reply-To: <6199c3dc0807241449s758625esc79ae127abcaf750@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@freebsd.org Subject: Re: FreeBSD 7.0 amd64 FAMP Server RAM problem X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2008 23:08:14 -0000 Benjamin Adams wrote: > Hello everyone. I'm running a website (http://www.FreeBSD-World.com/) When > the RAM is used up and moves to inactive the pages stop loading 100%. > Pages will stop halfway and sometimes I will get a display of what is in the > httpd.access log. > > Server is running > FreeBSD 7.0 > PHP 5.2.6 > Apache 1.3.41 > MySQL 5.0.51a > > Top output: > last pid: 7607; load averages: 0.07, 0.12, 0.06 up 0+02:59:32 > 17:40:27 > 72 processes: 1 running, 71 sleeping > CPU states: 0.0% user, 0.0% nice, 0.3% system, 0.3% interrupt, 99.4% > idle > Mem: 79M Active, 23M Inact, 221M Wired, 240K Cache, 156M Buf, 7590M Free > Swap: 4096M Total, 4096M Free You're interpreting the symptoms wrong. RAM is not "full", and in fact what you posted shows hardly any RAM in use. Your problem is somewhere else. Kris > > I just reboot the machine so it will be sometime before ram is full again. > Configs: > MinSpareServers 5 > MaxSpareServers 10 > StartServers 5 > MaxClients 150 > key_buffer = 16M > max_allowed_packet = 1M > table_cache = 64 > sort_buffer_size = 512K > net_buffer_length = 8K > read_buffer_size = 256K > read_rnd_buffer_size = 512K > myisam_sort_buffer_size = 8M > > > should I change something? using the defaults. > Server has 8G RAM and Quad Core AMD > > Thanks for taking the time to look!!! > > Ben Adams > http://www.FreeBSD-World.com/ > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > >