V
V
Vadim Timoshenko2018-07-12 11:16:58
MySQL
Vadim Timoshenko, 2018-07-12 11:16:58

Spamassassin and MySQL eat server memory. How to clean?

There is a VDS server (2 x 2.4+ GHz, 1 GB). We have several sites. All sites are very poorly visited (~20 uniques per day).
The server is running ubuntu server 16.04 + vesta cp.
I'm looking for a problem. Found this:
5b470df621eba292649947.png
Reboot and stop do not change the amount of allocated memory. After starting it is the same number. How to be? Rebooted the server in general - to no avail. Or is it not allocated memory?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
SagePtr, 2018-07-12
@SagePtr

What is the total memory usage? I don’t know about spamassasin, but by default mysql scales its memory relative to the total server memory, the more memory on the server, the more it allocates (if you do not manually set the amount of memory consumed in the config)
free -mto the studio

V
vlarkanov, 2018-07-12
@vlarkanov

What is the value of the innodb_buffer_pool_size parameter in my.cnf?

M
Max Kostikov, 2018-07-12
@mxms

Your VestaCP is lying. The same values ​​are shown for both daemons.
Spamassassin can't eat that much. MySQL can, but the data doesn't seem to be correct either. Look from the ps or top console.

K
kumigy, 2019-09-27
@kumigy

My spamasasin takes almost 10 gigs and 3 gigs of muscle. Until I figured out what's going on. But spamasasin strains with his gluttony for memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question