out of file structures

Jeremy Allison jallison at cthulhu.engr.sgi.com
Wed Jun 9 21:49:33 GMT 1999


Andy Bakun wrote:
> 
> I have reproduced it twice.  Both times, it stopped in apparently the same place,
> after copying a total of 1136 files and 246 directories.  I had to copy that cd
> twice in succession -- it would fail on the second time.  The cd itself contains
> 601 files and 136 directories.
> No other SMB relation activities were going on on the client machine at the time.

Thanks. Can you apply this patch (not really needed, it'll
just help track the bitmap allocations) and then reproduce
it again with a debug level 5 and then email the log to
samba-bugs at samba.org and also directly to me.

Thanks,

	Jeremy.

Index: smbd/files.c
===================================================================
RCS file: /data/cvs/samba/source/smbd/files.c,v
retrieving revision 1.24.2.3
diff -r1.24.2.3 files.c
96a97
> 
378,379c379,380
<       DEBUG(5,("freed files structure %d (%d used)\n",
<                fsp->fnum, files_used));
---
>       DEBUG(5,("freed files structure %d fnum = %d (%d used)\n",
>                fsp->fnum - FILE_HANDLE_OFFSET, fsp->fnum, files_used));

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list