[Samba] CreateHardLink problem

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Mar 3 07:25:40 GMT 2009


On Tue, Mar 03, 2009 at 06:13:42PM +1100, David Overton wrote:
> I'm developing a Windows backup application that needs to be able to
> create possibly hundreds of thousands of hard links on an SMB share.
> I'm running into a strange problem when that share happens to be on a
> Samba server.  When the application tries to create the 10000th hard
> link, the win32 CreateHardLink() function returns error code 5 "Access
> is denied".  The Samba log shows:
> 
> [2009/03/03 01:29:08,  0] smbd/files.c:file_new(79)
>   ERROR! Out of file structures

Can you send a sniff of what your application is doing? We
*might* have a fd leak somewhere. But apart from that -- you
do close your files after you've used them?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090303/e96cf148/attachment.bin


More information about the samba mailing list