Hi there,
after updating to the newest v151, my smdb load is - without connected user - always 100% (and more). Before the update there were any issues with Samba at all.
Due to the high load I stopped Samba cause the XU4-fan starts spinning every minute to reduce the heat.
The logs show nothing special - just things as the successful start of smdb and stuff like that.
Any hint for me?
Thx in advance for your help!
Mike
Hi Mike,
The logs show nothing special - just things as the successful start of smdb and stuff like that.
Strange, anything in dmseg relating to samba/cifs/cpu, after boot end (usually 12/13 seconds):
dmesg
Also which CPU governor are you running?
cpu
Also check service status for any issues
systemctl status smdb -l
systemctl status nmbd -l
If problems persist, could be early indicator of hardware failure (PSU/SD/Board). Try reinstalling Samba server:
dietpi-software uninstall 96
dietpi-software install 96
Hi Fourdeee,
Thx for your reply!
dmesg:
Please see the link: https://bozon.virser.de/?f=15938039568812 (links to my server where the txt-files was uploaded, due to the size)
systemctl status smdb -l:
> systemctl status smdb -l
● smdb.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Thats strange, because Webmin shows in the tasks section under CPU a running instance of smbd:
Befehl /usr/sbin/smbd -D
Prozess-ID 8006 Übergeordneter Prozess /sbin/init
Besitzer root CPU 98.0 %
Größe 30.59 MB Laufzeit 00:02:11
systemctl status nmbd -l:
> systemctl status nmbd -l
● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
Loaded: loaded (/etc/init.d/nmbd)
Active: active (running) since Wed 2017-06-07 15:37:54 CEST; 1min 37s ago
Process: 8026 ExecStart=/etc/init.d/nmbd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nmbd.service
└─8119 /usr/sbin/nmbd -D
Jun 07 15:37:54 DietPiServer nmbd[8026]: Starting NetBIOS name server: nmbd.
Jun 07 15:37:54 DietPiServer systemd[1]: Started LSB: start Samba NetBIOS nameserver (nmbd).
Thx again for your time and help!
Michael
Hi Fourdee,
I uninstalled and reinstalled Samba but still the same: a very high load due to Samba.
cpu shows me:
DietPi CPU Info
Use dietpi-config to change CPU / performance options
─────────────────────────────────────────────────────
Architecture | armv7l
Temp | 61'c | Running hot, not recommended.
Governor | ondemand
Throttle up | 85% CPU usage
Current Freq Min Freq Max Freq
CPU0 | 200 MHz 200 MHz 1000 MHz
CPU1 | 200 MHz 200 MHz 1000 MHz
CPU2 | 200 MHz 200 MHz 1000 MHz
CPU3 | 200 MHz 200 MHz 1000 MHz
CPU4 | 700 MHz 200 MHz 1000 MHz
CPU5 | 700 MHz 200 MHz 1000 MHz
CPU6 | 800 MHz 200 MHz 1000 MHz
CPU7 | 700 MHz 200 MHz 1000 MHz
And htop this:

When i kill samba everything fine and the load is as expected.
Any more hints?
BTW: Its a new XU4 - in use for about 4 weeks now.
Thx a lot.
Michael
Hi Michael,
Apologies for the delay.
Think we may need to check the logs on this one. I dont have it installed at the moment so unable to verify location, but cat all files in:
/var/log/samba/
eg: I believe its in
cat /var/log/samba/smbd.log