[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Bug 232437] Cannot browse a SMB server with 2000+ shares



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=232437





--- Comment #13 from Tomáš Bžatek <tbzatek redhat com>  2009-05-22 05:41:46 EDT ---
Created an attachment (id=345071)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=345071)
Script for making 2000 shares

So I've just created 2000 shares (not fake, pointing to real directory) and
made a listing in Nautilus and smbclient. Both worked fine with no bigger
memory consumption.

F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
0   710 16939     1  20   0 259032  7456 poll_s S+   pts/5      0:00
/usr/libexec/gvfsd-smb-browse --spawner :1.131 /org/gtk/gvfs/exec_spaw/3
(~7.5MB resident size)

Can you please try running `GFS_DEBUG=1 /usr/libexec/gvfsd-smb-browse
server=<server> type=smb-server` in gdb, stop at the point it starts eating the
memory and attach a backtrace here?

Also, can you please try getting listing using smbclient to find out where the
problem is? 
`smbclient -L <server> -d 4`

The only problem I see is that the listing stops after 1529 shares, seems like
a limit of smbclient itself (should be reported upstream, not gvfs related).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]