pysmbc does not close connections
by Moritz Schlarb
Hello!
We're using pysmbc in a project where we have a file crawler that crawls
some hundreds of samba servers.
I recently noticed, that when this crawler runs (with a worker pool of
10 processes), it - of course - opens lots of connections to the servers
it is supposed to crawl but doesn't close them afterwards!
So the established connections cumulate when I watch it with netstat -t
on the crawling machine.
This behaviour stays the same, when I say
c = smbc.Context()
#crawl
del c
Can you confirm if that's a bug or if I'm simply missing something!
Best regards
Moritz Schlarb
12 years, 10 months
system-config-printer 1.2.8
by Tim Waugh
Hi,
I've just released version 1.2.8 of system-config-printer.
http://cyberelk.net/tim/data/system-config-printer/1.2/
Notable changes since 1.2.7:
* Use #!/usr/bin/python throughout, even for non-executables.
* Set connected state when connecting to server fails (bug #685098).
* Don't allow prompts when handling cups-connection-error signal
(trac #219).
* Don't crash when DISPLAY is unset (bug #676339, bug #676343).
* Fixed off-by-one error in monitor.
* monitor: always set self.bus even when D-Bus not available.
* Be defensive against CUPS returning incorrect job IDs
(Ubuntu #721051).
* Job viewer's attribute window: Convert job numbers and attribute
values to strings (Ubuntu #733088).
* Don't display tooltips in the jobviewer as they do not work at all.
* Fixed PPDs loader when using CUPS remotely or when DBus not
available (bug #693515).
* Extra job options: print-quality, printer-resolution, output-bin.
* Automatically show horizontal scrollbar in job options screen.
* Ignore "output-mode-default" attribute as it is not settable.
* Handle IPP_TAG_RESOLUTION types (requires pycups-1.9.55).
* Don't traceback if option value cannot be handled.
* Fixed traceback in options.py (bug #679103).
* Prevent look-up failures in dnssdresolve (Ubuntu #716357).
* Install libsane-hpaio when appropriate (bug #585362).
* Avoid double-checking networked HPLIP-able devices.
Tim.
*/
12 years, 12 months