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
Update to v151 High CPU Load due to Samba
Re: Update to v151 High CPU Load due to Samba
Hi Mike,
Also which CPU governor are you running?
Also check service status for any issues
If problems persist, could be early indicator of hardware failure (PSU/SD/Board). Try reinstalling Samba server:
Strange, anything in dmseg relating to samba/cifs/cpu, after boot end (usually 12/13 seconds):The logs show nothing special - just things as the successful start of smdb and stuff like that.
Code: Select all
dmesg
Code: Select all
cpu
Code: Select all
systemctl status smdb -l
systemctl status nmbd -l
Code: Select all
dietpi-software uninstall 96
dietpi-software install 96
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Update to v151 High CPU Load due to Samba
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:
Thats strange, because Webmin shows in the tasks section under CPU a running instance of smbd:
systemctl status nmbd -l:
Thx again for your time and help!
Michael
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:
Code: Select all
> systemctl status smdb -l
● smdb.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Code: Select all
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
Code: Select all
> 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).
Michael
Re: Update to v151 High CPU Load due to Samba
Hi Fourdee,
I uninstalled and reinstalled Samba but still the same: a very high load due to Samba.
cpu shows me:
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
I uninstalled and reinstalled Samba but still the same: a very high load due to Samba.
cpu shows me:
Code: Select all
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
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
Re: Update to v151 High CPU Load due to Samba
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:
eg: I believe its in
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:
Code: Select all
/var/log/samba/
eg: I believe its in
Code: Select all
cat /var/log/samba/smbd.log
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.