Closed ivan closed 11 years ago
A friend told me the problem could come from the urllib2 module, and recommended to switch to requests. Should be fixed with: https://github.com/Astalaseven/twitter-rss/commit/36293de6e1dab65fc2bf81aa21504270c1933b68
I saw the same thing again; server stopped responding after just a few days. I don't think the switch to requests
fixed this.
Now using Gunicorn as webserver: https://github.com/Astalaseven/twitter-rss#using-gunicorn-and-supervisor-recommended and Supervisor to keep it running.
I hope it will solve the problem!
My twitter-rss server ran fine for about 15 days, but I noticed I wasn't getting new items in my feed reader. I held down ctrl-c in my twitter-rss server screen session, and noticed that all of the requests were stuck, which was preventing it from responding to new requests. HTTPServer isn't going to be fixed any time soon, so you may want to document twitter-rss deployment with an HTTP server that aborts stuck requests.
full log at https://ludios.org/tmp/twitter-rss-hang-truncated.txt