Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server crash #24

Closed
abma opened this issue Oct 10, 2013 · 5 comments
Closed

server crash #24

abma opened this issue Oct 10, 2013 · 5 comments
Labels

Comments

@abma
Copy link
Contributor

abma commented Oct 10, 2013

2013-10-10T02:17:41 Client disconnected from 94.23.171.71, session ID was 6171: Connection timed out
2013-10-10T02:17:41 Client disconnected from 78.14.230.150, session ID was 6269: Connection timed out
2013-10-10T02:17:41 Client disconnected from 37.59.11.198, session ID was 148: Connection timed out
2013-10-10T02:17:41 Client disconnected from 162.192.73.121, session ID was 4420: Connection timed out
2013-10-10T02:17:41 Client disconnected from 124.185.130.221, session ID was 6742: Connection timed out
2013-10-10T02:17:41 Client disconnected from 98.112.78.238, session ID was 725: Connection timed out
2013-10-10T02:17:41 Client disconnected from 81.57.129.140, session ID was 7289: Connection timed out
2013-10-10T02:17:41 Client disconnected from 94.221.99.232, session ID was 6913: Connection timed out
2013-10-10T02:17:41 Client disconnected from 91.202.45.158, session ID was 6942: Connection timed out
2013-10-10T02:17:41 ------------------------------------------------------------
2013-10-10T02:17:41 Traceback (most recent call last):
2013-10-10T02:17:41 File "server.py", line 90, in
2013-10-10T02:17:41 dispatcher.pump()
2013-10-10T02:17:41 File "/home/lobby/uberserver/Dispatcher.py", line 19, in pump
2013-10-10T02:17:41 self.poller.pump(self.callback)
2013-10-10T02:17:41 File "/home/lobby/uberserver/Multiplexer.py", line 37, in pump
2013-10-10T02:17:41 inputs, outputs, errors = self.poll()
2013-10-10T02:17:41 File "/home/lobby/uberserver/Multiplexer.py", line 129, in poll
2013-10-10T02:17:41 if mask & outMask: outputs.append(self.filenoToSocket[fd])
2013-10-10T02:17:41 KeyError: 160
2013-10-10T02:17:41
2013-10-10T02:17:41 ------------------------------------------------------------
2013-10-10T02:17:41 Deep error, exiting...
2013-10-10T02:17:41 Killing clients.

@abma
Copy link
Contributor Author

abma commented Oct 10, 2013

very likely caused by #25, #26 or #27

@abma
Copy link
Contributor Author

abma commented Oct 11, 2013

2013-10-11T13:10:46 Client disconnected from 210.32.188.4, session ID was 5208: Quit: Exiting
2013-10-11T13:11:59 Client disconnected from 77.206.130.245, session ID was 5127: Quit: Exiting
2013-10-11T13:14:17 Client disconnected from 79.18.186.80, session ID was 79: Connection timed out
2013-10-11T13:14:17 Client disconnected from 79.18.186.80, session ID was 108: Connection timed out
2013-10-11T13:14:17 Client disconnected from 79.18.186.80, session ID was 109: Connection timed out
2013-10-11T13:14:17 ------------------------------------------------------------
2013-10-11T13:14:17 Traceback (most recent call last):
2013-10-11T13:14:17 File "server.py", line 90, in
2013-10-11T13:14:17 dispatcher.pump()
2013-10-11T13:14:17 File "/home/lobby/uberserver/Dispatcher.py", line 19, in pump
2013-10-11T13:14:17 self.poller.pump(self.callback)
2013-10-11T13:14:17 File "/home/lobby/uberserver/Multiplexer.py", line 37, in pump
2013-10-11T13:14:17 inputs, outputs, errors = self.poll()
2013-10-11T13:14:17 File "/home/lobby/uberserver/Multiplexer.py", line 129, in poll
2013-10-11T13:14:17 if mask & outMask: outputs.append(self.filenoToSocket[fd])
2013-10-11T13:14:17 KeyError: 117
2013-10-11T13:14:17
2013-10-11T13:14:17 ------------------------------------------------------------
2013-10-11T13:14:17 Deep error, exiting...
2013-10-11T13:14:17 Killing clients.

@abma
Copy link
Contributor Author

abma commented Oct 11, 2013

hmm, looks a bit like when many connections timeout it tries to loop over already non-existing socket

@abma abma closed this as completed in 31c5a41 Oct 11, 2013
@abma abma reopened this Oct 11, 2013
@abma abma closed this as completed in 2dfd39d Oct 11, 2013
@abma abma reopened this Oct 11, 2013
@abma
Copy link
Contributor Author

abma commented Oct 11, 2013

added a watchdog script which restarts server when crashed...

@abma
Copy link
Contributor Author

abma commented Oct 14, 2013

imo fixed until it doesn't crash again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant