Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 20:57:29 -0500
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        freebsd-questions@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: out of swap?
Message-ID:  <20060121015729.GD19607@tigger.digitaltorque.ca>
In-Reply-To: <43D154FC.9030704@daleco.biz>
References:  <fb6605670601200814g6b09273bpddd1ffd8bc088957@mail.gmail.com> <20060120194358.GA41039@xor.obsecurity.org> <43D154FC.9030704@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help

--sgneBHv3152wZ8jf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 20/01/06 Kevin Kinsey said:

> I'd almost offer "definitely more likely", as the amount of swap
> shown is less than 1/2 GB.  Michael, how much RAM on this box?

[msoulier@kanga ~]$ sysctl -a | grep Memory
Virtual Memory:         (Total: 720K, Active 537852K)
Real Memory:            (Total: 236228K Active 123640K)
Shared Virtual Memory:  (Total: 24812K Active: 11880K)
Shared Real Memory:     (Total: 12136K Active: 6672K)
Free Memory Pages:      11692K

Mem: 124M Active, 25M Inact, 75M Wired, 10M Cache, 34M Buf, 768K Free
Swap: 471M Total, 67M Used, 403M Free, 14% Inuse

It's not a lot, but it's always been fine for me when running Linux as a
headless server.=20

> I once set up a box with 256M RAM and 512M swap, which was
> all good && fine until I got a few extra $$ and decided to up the
> RAM to 768M.  After that, it died most every evening with Xorg
> running out of swapspace.
>=20
> If you've more RAM than swap, it's very possible that any process,
> but especially larger ones, could cause problems like this.=20
> Fortunately, it's not too difficult to add some swap --- provided
> you've some unformatted disk space available.

I don't think that's the case. I did notice poorer performance while sshing
into the box in the last few days. If the jdk does have a leak, that would
explain it.=20

I think I'll keep an eye on the size of the java process.=20

[msoulier@kanga ~]$ top -b -d1 | grep java
 1988 www       20    0   219M 34264K kserel   1:31  0.00%  0.00% java

Mike

--=20
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

--sgneBHv3152wZ8jf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD0ZUJKGqCc1vIvggRAj/ZAKCD7f0rQaZSg74aqdDtbrk68F6rCACdFtsv
k/Qy8xuuTxGbcvqnZVndwN0=
=gkIb
-----END PGP SIGNATURE-----

--sgneBHv3152wZ8jf--



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