sendmail process consuming cpu

soporte-ib

Cadet
Joined
Jul 2, 2020
Messages
1
Hello,
I have a freenas FreeNAS-9.10.2-U6 (561f0d7a1) on a Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz with 8 GB RAM.
Sometimes the shared folders begin to work slow and if I check the process with top, sendmail appears consuming cpu.
Code:
last pid: 13243;  load averages:  0.45,  0.33,  0.33    up 9+18:05:39  10:47:17
100 processes: 2 running, 98 sleeping
CPU:  1.7% user,  0.0% nice,  1.3% system,  0.1% interrupt, 96.9% idle
Mem: 193M Active, 2238M Inact, 5139M Wired, 3040K Cache, 173M Free
ARC: 4133M Total, 857M MFU, 3090M MRU, 8907K Anon, 48M Header, 130M Other
Swap: 4096M Total, 1115M Used, 2980M Free, 27% Inuse

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
51672 smmsp         1  21    0 65516K 30932K CPU0    0  11:41   2.59% sendmail
13169 root          1  20    0   294M 11884K select  1   0:01   0.59% smbd
13223 root          1  21    0 77744K 22908K uwait   2   0:00   0.59% dtrace
13208 root          1  20    0 77744K 22908K uwait   0   0:00   0.20% dtrace
 2227 root          1 -52   r0  6304K  2272K nanslp  0  29:16   0.10% watchdogd
 3661 root          1  20    0   414M 12196K select  2  64:56   0.00% winbindd
 3839 root          6  26    0   125M 13128K select  1  34:42   0.00% python2.7
 3844 root          1  20    0 61496K  7804K select  3  21:38   0.00% snmpd
 4630 root         12  20    0   227M 19304K nanslp  1  20:10   0.00% collectd

Killing the process, the shared folders work ok again but the sendmail process return some days after.
I check the root and postmaster alias mail and sending from shell it works ok.
I execute a ktrace command in order to obtain info about waht is the process doing.
Could you help me with this issue?
Thanks in advance.
 

Attachments

  • ktrace-02-07.zip
    62.5 KB · Views: 191

subhuman

Contributor
Joined
Nov 21, 2019
Messages
121
Swap: 4096M Total, 1115M Used, 2980M Free, 27% Inuse
Probably more than anything else, this is what's causing the slowdown.

That having been said, you may not find a lot of support for a version of FreeNAS that is that old.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Add more memory to your server.
 
Top