MrToddsFriends
Documentation Browser
- Joined
- Jan 12, 2015
- Messages
- 1,338
I read about a bug with SMB that can lead to increasing memory usage under certain conditions, but being far from a systems engineer I don't know if these are related or how I could investigate the issue further.
Are you able to identify a Samba process that is using a large amount of memory using a command like
ps -auxc | grep smbd
? The third column of the output of this command (%MEM) is the percentage of real memory used by this process. Example not showing a memory leak behavior (that is: normal memory usage):Code:
root@blunzn:~ # ps -auxc | head -1 USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root@blunzn:~ # ps -auxc | grep smbd root 2780 0.0 0.4 174052 140896 - Is 23Mar18 1:31.34 smbd root 2791 0.0 0.3 130604 98156 - I 23Mar18 0:19.56 smbd root 2792 0.0 0.3 131628 99160 - S 23Mar18 0:03.21 smbd root 16390 0.0 0.5 198812 160296 - S 06:56 0:40.95 smbd root 34657 0.0 0.5 192136 156296 - S 08:13 0:24.21 smbd