Centos – Samba high cpu usage after mapping shares to windows network drive

centossambawindows 7

We moved our file server from Windows 2008R2 to CenotOS & Samba and did some tests. Everything worked fast and smooth so we decided to move for good. We mapped the share to network drive and then Samba server CPU usage jumped to 100%, even with only 10-15 users logged in.

All clients are Windows 7 / Windows 2008R2 SP1 HPC machines.

Best Answer

Have you had a look at top, is it samba taking the IO?

Try having a look at smbstatus and log files, maybe a file has been locked and is causing samba to get stuck in a loop. It's quite common to have to turn op locking off. Some info about locking here. I am guessing obviously, since it is hard to give a good answer with not much information.

Related Topic