Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dcss:server:setting_up_dgamelaunch_and_webtiles [2018-06-17 22:44]
floraline improve sudoer info
dcss:server:setting_up_dgamelaunch_and_webtiles [2018-06-23 20:59] (current)
floraline add troubleshooting note on webtiles ssl
Line 443: Line 443:
     exit 0 # normally already in /etc/rc.local     exit 0 # normally already in /etc/rc.local
  
 +NOTE from floraline:
 +
 +>I had an issue where I had enabled the built-in SSL options in WebTiles, and server.py would start to consume 100% CPU time for several hours at a time. This was caused by clients, usually botnets doing port scans and other things, disconnecting in the middle of the SSL handshake. Tornado 2.4.1 does not handle broken SSL handshakes and will enter into a state where it uses 100% CPU and won't stop on its own. I fixed this by making the following change in ''tornado/iostream.py'', routine ''_do_ssl_handshake'':
 +
 +  except socket.error, err:
 +  -   err.args[0] in (errno.ECONNABORTED, errno.ECONNRESET):
 +  +   if err.args[0] in (errno.ECONNABORTED, errno.ECONNRESET) or err.args[0] == errno.EBADF:
 +          return self.close()
 ====13. Other notes==== ====13. Other notes====
 I'm sure there's more...  launching the inotify watcher, crontabs for compressing ttyrecs, cleaning out old trunks, making logfiles and milestones available over the web, setting up an ssh user, set up a dgl-status script in cgi-bin, forwarding port 80 requests to 8080 for webtiles, etc. I'm sure there's more...  launching the inotify watcher, crontabs for compressing ttyrecs, cleaning out old trunks, making logfiles and milestones available over the web, setting up an ssh user, set up a dgl-status script in cgi-bin, forwarding port 80 requests to 8080 for webtiles, etc.
Logged in as: Anonymous (VIEWER)
dcss/server/setting_up_dgamelaunch_and_webtiles.txt · Last modified: 2018-06-23 20:59 by floraline
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki