[Samba] Re: Different behaviour of samba share in XP and Windows 2003 Server

Jeremy Allison jra at samba.org
Thu Mar 24 19:01:02 GMT 2005

On Thu, Mar 24, 2005 at 11:11:44PM +0530, Kiran VM wrote:
> Hello Jerry,
> No CloseHandle() call is made in both the case. CFile (or for that
> reason CStdioFile) Close() method will close the OS file handle.
> (closehandle() in the sample code is commented given can be ignored)
> Just to make it a bit more clearer, the executable (for testing i just
> put the sample code above inside a for loop of 1000) is run from a
> win2k3 server and xp machine. XP shows no handle increase leak (handle
> count of 85), but in Win2k3 the handle count was around 1085 ( for
> 1000 iterations). This information i got from the windows task
> manager. Upon this, i tried the procexp tool from sysinternals. This
> clearly showed that the Handle being leaked is a file handle,
> \\TestServer\TestShare in our case. (This is not the file as such but
> the directory).
> BTW, my samba server is on Solaris 9.
> Please let me know if you erquire any further information...

Can you send me the binary (.exe) of this program. Also, the
information on how to report any handle leaks on the Windows
side. Given that info I can try to track this one on my own.



More information about the samba mailing list