VideoCache

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/threading.py", line 486, in "bootstrap_inner
    self.run()
  File "/usr/share/videocache/videocache.py", line 792, in run
    squid_part()
  File "/usr/share/videocache/videocache.py", line 529, in squid_part
    videos = video_id_pool.get()
  File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in "call"
    return self."send(self."name, args)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in "request
    verbose=self."verbose
  File "/usr/lib/python2.5/xmlrpclib.py", line 1185, in request
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.5/httplib.py", line 1199, in getreply
    response = self._conn.getresponse()
  File "/usr/lib/python2.5/httplib.py", line 928, in getresponse
    response.begin()
  File "/usr/lib/python2.5/httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.5/httplib.py", line 343, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.5/socket.py", 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

Hi!

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

Thank you for reporting.

You need to sign in. Please sign in to add answer to this question.