Have a question regarding memory usage on a couple of servers. I bought two Lenovo M710q mini-servers, with i5-7500 CPUs. They came with 8GB of RAM (2 4GB sticks), but I have since upgraded to a pair of 16GB sticks of RAM. Both machines are running FreeBSD 14.0-RELEASE. On the primary box, running 8 or 9 jails. I have noticed swap space going to anywhere between 45% and 85% usage, however top shows:
The other server, with no jails running on it, has 30G free.
So why is the server with the jails on it using so much swap when there is 26G of main memory free?
Thanks,
--vr
Code:
267 processes: 1 running, 266 sleeping
CPU: 4.5% user, 0.0% nice, 3.0% system, 0.0% interrupt, 92.5% idle
Mem: 840M Active, 344M Inact, 224K Laundry, 3474M Wired, 172M Buf, 26G Free
ARC: 711M Total, 275M MFU, 244M MRU, 7240K Anon, 7592K Header, 177M Other
375M Compressed, 1013M Uncompressed, 2.70:1 Ratio
Swap: 2048M Total, 881M Used, 1167M Free, 43% Inuse, 188K In
The other server, with no jails running on it, has 30G free.
So why is the server with the jails on it using so much swap when there is 26G of main memory free?
Thanks,
--vr