Videocache is no longer in development.

Python Exception

by Anonymous on 17 Jan 2009

Live environment, ubuntu 8.04 with Squid2.7.STABLE5

Squid Cache: Version 2.7.STABLE5
configure options:  '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-linux-netfilter' '--enable-removal-policies' '--enable-async-io' '--enable-storeio=ufs,diskd,coss,aufs,null' '--with-pthreads' '--sysconfdir=/etc/squid' '--libexecdir=/usr/libexec/squid' '--localstatedir=/var' '--datadir=/usr/share/squid' '--enable-cache-digests' '--with-maxfd=16384'
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.5/", line 486, in "bootstrap_inner
  File "/usr/share/videocache/", line 792, in run
  File "/usr/share/videocache/", line 529, in squid_part
    videos = video_id_pool.get()
  File "/usr/lib/python2.5/", line 1147, in "call"
    return self."send(self."name, args)
  File "/usr/lib/python2.5/", line 1437, in "request
  File "/usr/lib/python2.5/", line 1185, in request
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.5/", line 1199, in getreply
    response = self._conn.getresponse()
  File "/usr/lib/python2.5/", line 928, in getresponse
  File "/usr/lib/python2.5/", line 385, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.5/", line 343, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.5/", line 331, in readline
    data = recv(1)
error: (104, 'Connection reset by peer')

This happens every so often, simple fix is to pkill -9 python and let it start over.

Would like to get some type of actual fix or solution for it.

Thanks in advance!

1 Answers

by Kulbir Saini on 19 Jan 2009


I have received a lot of queries for this. XMLRPC is giving problems. Will fix it in next version.

Thank you for reporting.