[Samba] Open files

Jack Gostl gostl at argoscomp.com
Fri Jul 14 15:10:44 GMT 2006


----- Original Message ----- 
From: "Jeremy Allison" <jra at samba.org>
To: "Jack Gostl" <gostl at argoscomp.com>
Cc: "Samba" <samba at lists.samba.org>
Sent: Friday, July 14, 2006 10:56 AM
Subject: Re: [Samba] Open files


> On Fri, Jul 14, 2006 at 08:51:48AM -0400, Jack Gostl wrote:
>> Hello
>>
>> I'm running a Win2K box with a dialogic voice application. The prompt 
>> files
>> are on an AIX 5.1 box. By using smbstatus I'm finding that the prompt 
>> files
>> aren't closing. The open files build up until the server hits the per
>> process limit, at which point everything falls apart.
>>
>> I was running samba 2.07, but I just upgraded to 3.0.23rc3 and I still 
>> have
>> the problem.
>>
>> I used fuser and lsof to verify that the files were indeed open and owned
>> by samba, so its not something as simple as a misunderstanding of locks.
>>
>> The files are being managed by the Dialogic library so it is unlikely to 
>> be
>> an application problem, but to double check, I switched to NFS (ugh) and
>> lsof shows no open files. Dialogic (now Intel) of course washes their 
>> hands
>> in this, saying it doesn't happen with local files, it can't be there
>> problem. I quesiton that logic since shared files are never quite the 
>> same.
>>
>> I'm running out of ideas.
>
> Send in a debug level 10 log covering the point you think it should be
> closing the files. If an outstanding POSIX lock is held on a file it
> can be help open deliberately. To test this try setting "posix locking = 
> no".
>
> Jeremy.
>

Pardon the idiot questions.

I added "posix locking=no" (with and without spaces) to the global section 
of smb.conf and got an error from testparms.




More information about the samba mailing list