-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: apt-proxy Version: 1.5.3 Severity: major
(I think this is a major error since it can cause seriouse trouble to LANs of debian boxes when the main proxy server fails) Sometimes the server seem to hang (especially when I abort the apt-get install on a client, or when local client <-> apt-proxy-server network connection fails) and then all clients that trie to connect to it wait and timeout eventually. That is the end of log: 2006/10/30 22:01 CET [Channel,53,192.168.44.15] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0xb5350a4c> 2006/10/30 22:01 CET [FetcherHttpClient,client] Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/application/app.py", line 131, in runReactorWithLogging reactor.run() File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 218, in run self.mainLoop() File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 229, in mainLoop self.doIteration(t) File "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 133, in doSelect _logrun(selectable, _drdw, selectable, method, dict) --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 53, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 38, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 149, in _doReadOrWrite self._disconnectSelectable(selectable, why, method=="doRead") File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 250, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 391, in readConnectionLost self.connectionLost(reason) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 554, in connectionLost Connection.connectionLost(self, reason) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 402, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line 397, in connectionLost self.handleResponseEnd() File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line 403, in handleResponseEnd self.handleResponse(b) File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py", line 361, in handleResponse self.download_complete() File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py", line 342, in download_complete self.fetcher.download_complete() File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py", line 115, in download_complete self.cacheEntry.download_data_end() File "/usr/lib/python2.3/site-packages/apt_proxy/cache.py", line 380, in download_data_end self.file_sent() File "/usr/lib/python2.3/site-packages/apt_proxy/cache.py", line 409, in file_sent self.factory.file_served(self.cache_path) File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 621, in file_served self.clean_versions(packages) File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 547, in clean_versions current_packages = get_mirror_versions(self, package_name) File "/usr/lib/python2.3/site-packages/apt_proxy/packages.py", line 324, in get_mirror_versions vers = backend.get_packages_db().get_mirror_versions(package) File "/usr/lib/python2.3/site-packages/apt_proxy/packages.py", line 291, in get_mirror_versions if not self.load(): return vers File "/usr/lib/python2.3/site-packages/apt_proxy/packages.py", line 200, in load shutil.rmtree(self.status_dir+'/apt/lists/') File "/usr/lib/python2.3/shutil.py", line 142, in rmtree raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg) exceptions.OSError: [Errno 2] No such file or directory removing /var/cache/apt-proxy/.apt-proxy/backends//apt/lists/ and the log right after commencing /etc/init.d/apt-proxt stop have in addition followig lines: 2006/10/30 22:27 CET [-] Received SIGTERM, shutting down. 2006/10/30 22:27 CET [-] (Port 9999 Closed) 2006/10/30 22:27 CET [-] Stopping factory <apt_proxy.apt_proxy.Factory instance at 0xb79736ec> 2006/10/30 22:27 CET [-] Main loop terminated. 2006/10/30 22:27 CET [-] Server Shut Down. ii apt-cacher 1.5.3 ii python2.3 2.3.5-14 ii python-twisted 2.4.0-2 ii python-twisted-bin 2.4.0-2 ii python-twisted-conch 0.7.0-1 The Twisted SSH Implementation ii python-twisted-core 2.4.0-2 Event-based framework for internet applications ii python-twisted-lore 0.2.0-2 Documentation generator with HTML and LaTeX support ii python-twisted-mail 0.3.0-1 An SMTP, IMAP and POP protocol implementation ii python-twisted-names 0.3.0-1 A DNS protocol implementation with client and server ii python-twisted-news 0.2.0-1 An NNTP protocol implementation with client and server ii python-twisted-runner 0.2.0-1 Process management, including an inetd server ii python-twisted-web 0.6.0-1 An HTTP protocol implementation together with clients and servers ii python-twisted-words 0.4.0-1 Chat and Instant Messaging - -- RafaĆ Maj www.Raf256.org C++ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFRoMhzze79KYWSSMRAsmJAJ42FlBIyoZfg/4FuHj9eFV40agdigCgpg+E vdx3VuSBLKQo/z9QWf06wmQ= =ZAeA -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]