Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2008 01:08:15 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Benjamin Adams <freebsdworld@gmail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: FreeBSD 7.0 amd64 FAMP Server RAM problem
Message-ID:  <48890B5F.1020501@FreeBSD.org>
In-Reply-To: <6199c3dc0807241449s758625esc79ae127abcaf750@mail.gmail.com>
References:  <6199c3dc0807241449s758625esc79ae127abcaf750@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48890B5F.1020501>