Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2015 08:55:52 +0200
From:      Bernard Higonnet <bthcom@higonnet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Constantly running out of swap space - solved more or less
Message-ID:  <55FD06F8.2090705@higonnet.net>
In-Reply-To: <55FAFEE4.5080701@higonnet.net>
References:  <55FAFEE4.5080701@higonnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
As suggested by several people, I tweaked clam and amavis configuration 
parameters by reducing various maxima (message sizes, threads, queues, 
etc.). It seemed to me my traffic was so low that these did not apply, 
but I have been running for a day with 2GB swap (for 768MB (not 768KB) 
RAM) with no apparent problem...

This is the more surprising to me that I added Wordpress which implies 
MySQL which it seems also needs swap space.

Sorry I can't provide more definitive info as to what reallymade the 
difference.

Thanks to all
Bernard Higonnet

On 2015-09-17 19:56, Bernard Higonnet wrote:
> Using FreeBSD 10.2
>
> I'm using a swap file set up as described at
> https://www.freebsd.org/doc/handbook/adding-swap-space.html
>
> No matter what size I make it (last time 4GB) I run out of swap space on
> a VPS with 768KB RAM. Space is being used by amavisd/clamd which is
> apparently notorious space hungry, but it's clear to me there's a
> problem somewhere. Everything works OK for a while (a few hours? on a
> system with very little traffic (100 emails a day...)) and then runs out
> of space.
>
> I assume amavisd/clamd are not using swap space explicitly and the OS
> decides on is own that swap space is needed.
>
> Any suggestions?
>
> TIA
> Bernard Higonnet




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