[Samba] One file open or locked way too many times. How to fix?
Gary S MacKay
gary at edisoninfo.com
Thu Jun 28 15:34:43 GMT 2007
It is not a FoxPro app, but it does use dBase (FoxPro) style tables. I
have had the settings you mention in the config from the beginning. I also
have kernel oplocks = no. Should that one be 'yes' ??
- Gary
Alex Crow said:
> Gary,
>
> Is that FoxPro?
>
> We had something like that back when we used it but it turned out to be
> something in the FP code.
>
> Our settings for locking were:
> oplocks = no
> level2 oplocks = no
>
> And until we got rid of Fox we never had any issues with those.
>
> Cheers
>
> Alex
>
>
> On Thu, 2007-06-28 at 10:16 -0400, Gary wrote:
>> bump?
>>
>>
>> Gary MacKay wrote:
>> > A Windows 2000 Server is a member server of the domain. The domain
>> > server is CentOS 4.5 with all updates and Samba 3.0.24 built using the
>> > packaging/RHEL/makerpms.sh script. The W2k server is opening this file
>> > on the samba server.
>> >
>> > This problem started several versions of CentOS and Samba ago, and I
>> did
>> > the upgrades thinking it would fix it. It did not.
>> >
>> > It seems to be "locking" or "opening" a file zillions of times and
>> then
>> > finally starts throwing errors about "Too Many Files Open". I have all
>> > of the kernel, level2, and oplocks set to 'no' in the smb.conf file.
>> >
>> > The FD column starts out at 1uw and just grows until it reaches
>> whatever
>> > 'open file' value I put in the /proc/sys/fs/file-max setting.
>> Rebooting
>> > the W2k server or restarting samba fixes the problem for awhile. Never
>> > the same amount of time. Sometime it lasts days or weeks, other times
>> > only a few hours.
>> >
>> > <snip>
>> >
>> > smbd 4803 root 256uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 257uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 258uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 259uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 260uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 261uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 262uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 263uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 264uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 265uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 266uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 267uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 268uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 269uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 270uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 271uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 272uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> > smbd 4803 root 273uw REG 8,2 182 5128393
>> > /usr/local/samba/fo/Goldmine/SyncLock.DBF
>> >
>> > </snip>
>> >
>> >
>>
Edison Information Technologies www.EdisonInfo.com
P.O. Box 554 Gary at EdisonInfo.com
Milan, OH 44846-0554 419.499.7040
800.874.7128
More information about the samba
mailing list