[Samba] Files That Constantly Change

Cody Jarrett cody.jarrett at itfreedom.com
Mon Sep 24 19:45:46 GMT 2007


Does anybody have any tuning tips for a samba 3.0.23 server that is  
acting as a PDC with ldap backend and file server. The problem I'm  
having is a certain program runs in XP workstations that accesses  
files on one of the shares, it apparently opens lots of files and is  
constantly making changes to them. When I run top, I see each smbd  
process for each workstations is consuming about 30% of the cpu and  
there are 3 workstations, the owner for the processes is the domain  
user logged onto the workstation. I have the same setup at a  
different site running samba 3.0.10 with just a smbpasswd backend and  
each workstation consumes about 2% of the cpu at most. These are in  
the samba logs for the workstation and are constantly being output:

[2007/09/21 10:17:47, 3] smbd/process.c:process_smb(1091)
   Transaction 17604 of length 150
[2007/09/21 10:17:47, 3] smbd/process.c:switch_message(886)
   switch message SMBtrans2 (pid 4972) conn 0x80b9b50
[2007/09/21 10:17:47, 3] smbd/trans2.c:call_trans2findfirst(1359)
   call_trans2findfirst: dirtype = 22, maxentries = 1366,  
close_after_first=1, close_if_end = 1 requires_resume_key = 1 level =  
0x104, max_data_bytes = 16384
[2007/09/21 10:17:47, 3] smbd/dir.c:dptr_create(491)
   creating new dirptr 256 for path Share, expect_close = 1




More information about the samba mailing list