On 8/21/2017 10:57 PM,
quentin....@gmail.com wrote:
> Thank you for your reply.
>
> |
> ls -la /var/lib/rspamd/
> total 788
> drwxr-x--- 2 _rspamd _rspamd 4096 Aug 21 18:41 .
> drwxr-xr-x 23 root root 4096 Aug 21 18:41 ..
> -rw-r--r-- 1 _rspamd _rspamd 797696 Aug 21 19:49 rspamd.rrd
> srw------- 1 root root 0 Aug 21 18:41 rspamd.sock
> |
>
> I will add this directory in another volume to persist his content, thanks :)
>
> Other files may be in this directory ? other than rspamd.rrd and rspamd.sock ?
>
There should be stats.ucl in this directory. It is used to keep counters.
Vsevolod, BTW, it seems stats.ucl is never updating between rspamd restarts.
# ll -T /var/db/rspamd/stats.ucl
-rw-r--r-- 1 nobody nobody 196 18 авг. 08:59:28 2017 /var/db/rspamd/stats.ucl
Does it mean we loose some statistics if rspamd terminated unexpectedly?
Probably it worth to update stats.ucl periodically.
> Does rspamd destroy the sock file when it stops ?
No, it doesn't.