View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000302||SOGo||Backend General||public||2009-12-25 16:18||2009-12-25 23:07|
|Priority||urgent||Severity||minor||Reproducibility||have not tried|
|Product Version||nightly v2|
|Target Version||1.2.0||Fixed in Version||1.2.0|
|Summary||0000302: SOPE (or SOGo) might leak LDAP fds|
The issue can be experienced with sogo-tool on large LDAP directories.
Message from James Ray on his:
=== SNIP ===
$ /usr/GNUstep/System/Tools/Admin/sogo-tool backup ./ ALL
The LDAP server stopped working after 1000 connects in a min due to the
Anyone able to offer assistance in the best way I can back up SOGo? I am
If the issue is exposed using sogo-tool, the issue should also be present when sogod runs as usual.
|Tags||No tags attached.|
The problem, for the tool, is that everything is done in a while loop and we LDAP connections are closed (from NGLdapConnection) in the -dealloc call.
Since we're working with an autorelease pool, all items will get freed at once at the end of the runloop (so at the end of the while loop).
We should create a local autorelease pool in the loop to avoid this.
|2009-12-25 16:18||ludovic||New Issue|
|2009-12-25 16:18||ludovic||Target Version||=> 1.2.0|
|2009-12-25 16:18||ludovic||Status||new => assigned|
|2009-12-25 16:18||ludovic||Assigned To||=> ludovic|
|2009-12-25 17:25||ludovic||Note Added: 0000386|
|2009-12-25 23:07||ludovic||Note Added: 0000387|
|2009-12-25 23:07||ludovic||Status||assigned => resolved|
|2009-12-25 23:07||ludovic||Fixed in Version||=> 1.2.0|
|2009-12-25 23:07||ludovic||Resolution||open => fixed|