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, 11 months