Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2015 12:43:36 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: protecting some processes from out-of-swap killer
Message-ID:  <20150425104336.GD13141@ivaldir.etoilebsd.net>
In-Reply-To: <alpine.BSF.2.00.1504251316020.43520@woozle.rinet.ru>
References:  <alpine.BSF.2.00.1504251316020.43520@woozle.rinet.ru>

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

[-- Attachment #1 --]
On Sat, Apr 25, 2015 at 01:31:14PM +0300, Dmitry Morozovsky wrote:
> Hi there colleagues,
> 
> I have stable/10 on a rather big machine (2*8*2 e5 Xeon, 64G RAM, SAS+SSD ZFS 
> raid10+ZIL+L2ARC) acting as a PostgreSQL server. 
> 
> To use such a big resource pool that is mostly idle, I'd deployed poudriere 
> there (using tmpfs) too.
> 
> Most times this combination works like a charm: LA could be 60+ and no visual 
> latency increase on SQL queries.
> 
> However, sometimes postgres processes got killed by 'out of swap space'.  
> I suppose the source of problem could be that VSZ size of postgres processes 
> (8-9 G) is bigger than swap congigured (4G).
> 
> Is there any way to prevent this, besides reallocating space for swap?
> 
> Quick googling does not help, at least I could not find answers relevant 
> enough.
> 
> Thanks!

protect(1) ?

Best regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlU7b9gACgkQ8kTtMUmk6EyPWgCdG6jHIEs8UyIPhQDJZ0AAMknP
3BQAnivyrsSl79NCoyA4gKNoCOj7NovQ
=BDgz
-----END PGP SIGNATURE-----

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