Samba using 98% cpu cycles.

Status
Not open for further replies.

billm

Dabbler
Joined
Jun 23, 2011
Messages
23
My atom cpu keeps overheating. I thought that was unusual for an atom processor so I looked at"sysctl -a | grep temperature" and "top" while the system was idle.
It looks like smbd is using all the cpu cycles even when there are no active file transfers.

FreeNAS Build: FreeNAS-8.0.1-BETA3-amd64
CPU: Intel(R) Atom(TM) CPU D510 @ 1.66GHz (1680.01-MHz K8-class CPU)
real memory = 4294967296 (4096 MB)
avail memory = 4082814976 (3893 MB)
ACPI APIC Table: <121710 APIC1048>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP/HT): APIC ID: 3

with samba running
sysctl -a | grep temperature
dev.cpu.0.temperature: 57.0C
dev.cpu.1.temperature: 57.0C
dev.cpu.2.temperature: 54.0C
dev.cpu.3.temperature: 54.0C

with samba NOT running
temperature gradually dropped to
dev.cpu.0.temperature: 47.0C
dev.cpu.1.temperature: 47.0C
dev.cpu.2.temperature: 43.0C
dev.cpu.3.temperature: 43.0C



last pid: 3887; load averages: 0.96, 1.03, 0.99 up 0+01:21:50 20:09:51
42 processes: 1 running, 41 sleeping
CPU: 7.1% user, 0.0% nice, 16.0% system, 0.0% interrupt, 76.9% idle
Mem: 87M Active, 33M Inact, 211M Wired, 4180K Cache, 105M Buf, 3586M Free
Swap: 8192M Total, 8192M Free

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
2333 root 1 76 0 47832K 9848K select 3 73:08 98.78% smbd
1783 root 6 44 0 110M 55780K uwait 0 0:23 0.10% python
1839 root 7 44 0 61940K 7748K ucond 2 0:05 0.00% collectd
 
Status
Not open for further replies.
Top