xrmx / uwsgitop

top-like app for monitoring uWSGI instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection reset by peer after ~5 seconds

crdoconnor opened this issue · comments

Initially the server runs fine but I get a connection reset by peer whenever I refresh a page on the server:


Traceback (most recent call last):
  File "/bin/uwsgitop", line 167, in <module>
    js = r.read().decode('utf8', 'ignore')
  File "/usr/lib64/python2.7/socket.py", line 351, in read
    data = self._sock.recv(rbufsize)
  File "/usr/lib64/python2.7/httplib.py", line 602, in read
    s = self.fp.read(amt)
  File "/usr/lib64/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
error: [Errno 104] Connection reset by peer

uwsgi version 2.0.14
python version 2.7.5
All running on CentOS 7.2.1511 (Core)

Problem caused by not running uwsgi with --stats-http switch in the end.