Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2015 13:47:06 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: protecting some processes from out-of-swap killer
Message-ID:  <20150425104706.GF2390@kib.kiev.ua>
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
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. 
64G RAM is not big by modern standards, normally populated desktop can
take 32G.

> 
> 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?
Read protect(1).

> 
> Quick googling does not help, at least I could not find answers relevant 
> enough.
> 
> Thanks!
> 
> 
> -- 
> Sincerely,
> D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
> [ FreeBSD committer:                                 marck@FreeBSD.org ]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
> ------------------------------------------------------------------------
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



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