[Samba] high cpu load

Martin Zielinski mz at seh.de
Fri Oct 24 06:44:35 GMT 2008


Hello,

just my 2cents.  What about the possibility, that an anti-vir tool scans 
all the files over and over?

~ Martin

Wayne Cochran schrieb:
> I think I have narrowed down the problem why smbd processes are soaking
> up so much CPU on our file server. Here are some selected samples from
> strace output as I attached to the offending smbd process:
> 
[...]
> read(5, "\0\0\0H", 4)                   = 4
> read(5, "\377SMB2\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\4\0\230"..., 
> 72) = 72
> stat64(".windows_settings/Application Data/SolidWorks 
> 2008/Scheduler_2/swbo1.mdb", {st_mode=S_IFREG|0744, st_size=974848, 
> ...}) = 0
> fcntl64(13, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=25416, 
> len=1}, 0xbfa355d4) = 0
> fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=25416, 
> len=1}, 0xbfa355f4) = 0
> write(5, "\0\0\0d\377SMB2\0\0\0\0\210A\310\0\0\0\0\0\0\0\0\0\0\0"..., 
> 104) = 104
> gettimeofday({1224788202, 767660}, NULL) = 0
> select(30, [5 21 29], [], NULL, {60, 0}) = 1 (in [5], left {60, 0})
> read(5, "\0\0\0)", 4)                   = 4
[...]
> 
> Is this always being read every friggin' time they log in!?!?!
> 
> Any ideas on what is going on here!?!?
> 
> --w
> Wayne O. Cochran
> Clinical Assistant Professor, Computer Science
> Washington State University Vancouver
> wcochran at vancouver.wsu.edu
> http://ezekiel.vancouver.wsu.edu/~wayne
> 
> 
> 
> 


-- 
Martin Zielinski 			mz at seh.de		
Softwareentwicklung			T +49 (0)521 94226 76	

SEH Computertechnik GmbH 		www.seh.de



More information about the samba mailing list