Server Lockedup Kinda

Report bugs found in Poker Mavens
Post Reply
majianlord
Posts: 72
Joined: Tue Jun 17, 2008 10:12 am

Re: Server Lockedup Kinda

Post by majianlord »

Again it stopped and then on this game dude again it does it

2008-06-29 18:16:03 Error sending packet to Gefjone
2008-06-29 18:16:03 Error sending packet to Gefjone
2008-06-29 18:16:13 Error sending packet to Gefjone
2008-06-29 18:16:13 Error sending packet to Gefjone
2008-06-29 18:16:13 Error sending packet to Gefjone
2008-06-29 18:16:13 Error sending packet to Gefjone
2008-06-29 18:16:13 Error sending packet to Gefjone
2008-06-29 18:16:13 Error sending packet to Gefjone
2008-06-29 18:16:14 Error sending packet to Gefjone
2008-06-29 18:16:14 Error sending packet to Gefjone
2008-06-29 18:16:14 Error sending packet to Gefjone
2008-06-29 18:16:15 Error sending packet to Gefjone
2008-06-29 18:16:15 Error sending packet to Gefjone
2008-06-29 18:16:15 Error sending packet to Gefjone
2008-06-29 18:16:15 Error sending packet to Gefjone
2008-06-29 18:16:16 Error sending packet to Gefjone
2008-06-29 18:16:16 Error sending packet to Gefjone
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server Lockedup Kinda

Post by Kent Briggs »

majianlord wrote:I just got like 500000 of these in the log
29 17:28:18 Error sending packet to Gefjone
Just this one player? Are they logged in? If not, did it eventually stop and if so how long did it last based on the time stamps?
majianlord
Posts: 72
Joined: Tue Jun 17, 2008 10:12 am

Re: Server Lockedup Kinda

Post by majianlord »

Kent Briggs wrote:
majianlord wrote:I just got like 500000 of these in the log
29 17:28:18 Error sending packet to Gefjone
Just this one player? Are they logged in? If not, did it eventually stop and if so how long did it last based on the time stamps?

Still going the server shows him as logged in via the connections tab. But hes not playing any games currently.


2008-06-29 18:39:27 Error sending packet to Gefjone
2008-06-29 18:39:28 Error sending packet to Gefjone
2008-06-29 18:39:28
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server Lockedup Kinda

Post by Kent Briggs »

majianlord wrote: Still going the server shows him as logged in via the connections tab. But hes not playing any games currently.
Most likely just someone with a flaky internet connection but not so bad that it has disconnected. Every error is just a packet that didn't go through to him. I'll remove that message in the final release but just wanted to see how many of those you got in a typical day.
majianlord
Posts: 72
Joined: Tue Jun 17, 2008 10:12 am

Re: Server Lockedup Kinda

Post by majianlord »

2008-06-29 18:59:36 Error sending packet to Eric
2008-06-29 18:59:42 Error sending packet to Erazer4N
2008-06-29 18:59:42 Error sending packet to PeteStalker
2008-06-29 18:59:42 Error sending packet to Eric
2008-06-29 18:59:42 Error sending packet to Erazer4N
2008-06-29 18:59:42 Error sending packet to PeteStalker
2008-06-29 18:59:42 Error sending packet to Gefjone
2008-06-29 18:59:42 Error sending packet to Eric
2008-06-29 18:59:42 Error sending packet to Erazer4N
2008-06-29 18:59:42 Error sending packet to Eric
2008-06-29 18:59:42 Error sending packet to Eric
2008-06-29 18:59:43 Error sending packet to Eric
2008-06-29 18:59:45 Error sending packet to Eric
2008-06-29 18:59:46 Error sending packet to Gefjone
2008-06-29 18:59:46 Error sending packet to Gefjone
2008-06-29 18:59:48 Error sending packet to PeteStalker
2008-06-29 18:59:48 Error sending packet to Gefjone
2008-06-29 18:59:48 Error sending packet to Eric
2008-06-29 18:59:48 Error sending packet to PeteStalker
2008-06-29 18:59:48 Error sending packet to Gefjone
2008-06-29 18:59:48 Error sending packet to Eric
2008-06-29 18:59:51 Error sending packet to Gefjone
2008-06-29 18:59:51 Error sending packet to Gefjone
2008-06-29 18:59:51 Error sending packet to Gefjone
2008-06-29 18:59:51 Error sending packet to Gefjone
2008-06-29 18:59:51 Error sending packet to Gefjone



More people now doing the same thing Also now its frozzen up
majianlord
Posts: 72
Joined: Tue Jun 17, 2008 10:12 am

Re: Server Lockedup Kinda

Post by majianlord »

When we froze up we had 4 people connections doing this dropping thing.

2008-06-29 19:04:43 Error sending packet to Eric
2008-06-29 19:04:43 Error sending packet to Eric
2008-06-29 19:04:43 Error sending packet to Gefjone
2008-06-29 19:04:43 Error sending packet to Gefjone
2008-06-29 19:04:43 Error sending packet to Gefjone
2008-06-29 19:04:44 Error sending packet to Eric
2008-06-29 19:04:44 Error sending packet to Eric
2008-06-29 19:04:44 Error sending packet to Eric
2008-06-29 19:04:44 Error sending packet to Eric
2008-06-29 19:04:44 Error sending packet to Eric
2008-06-29 19:04:44 Error sending packet to Eric
2008-06-29 19:04:44 Error sending packet to Eric
2008-06-29 19:04:45 Error sending packet to Eric
2008-06-29 19:04:45 Error sending packet to Eric
2008-06-29 19:04:46 Error sending packet to Erazer4N
2008-06-29 19:04:46 Error sending packet to PeteStalker
2008-06-29 19:04:46 Error sending packet to Gefjone
2008-06-29 19:04:46 Error sending packet to Eric
2008-06-29 19:04:46 Error sending packet to Gefjone
2008-06-29 19:04:46 Error sending packet to Gefjone
2008-06-29 19:04:46 Error sending packet to Gefjone
2008-06-29 19:04:46 Error sending packet to Gefjone
2008-06-29 19:04:46 Error sending packet to Gefjone
2008-06-29 19:04:47 Error sending packet to Gefjone
2008-06-29 19:04:47 Error sending packet to Gefjone
2008-06-29 19:04:49 Error sending packet to Eric
2008-06-29 19:04:49 Error sending packet to Eric
2008-06-29 19:04:49 Error sending packet to Eric
2008-06-29 19:04:49 Error sending packet to Eric
2008-06-29 19:04:49 Error sending packet to Eric
2008-06-29 19:04:50 Error sending packet to Eric
2008-06-29 19:04:50 Error sending packet to Eric
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server Lockedup Kinda

Post by Kent Briggs »

Ok, continue monitoring that and see if each freeze is alway associated with multiple packet send errors like that.
majianlord
Posts: 72
Joined: Tue Jun 17, 2008 10:12 am

Re: Server Lockedup Kinda

Post by majianlord »

OK i think we have 2 diffrent issues, The lag(temp lockups happen) the server still uses process and cleans it self up. When the server full lockes up the pmserver process uses no cpu and does nothing. Still server the pages for the admin but no game. I am seeeing alot of these packet losses things but i can say they happen all day long so i dont know how much that affects the issue
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server Lockedup Kinda

Post by Kent Briggs »

I can now reproduce this problem on my own. Before, I was just simulating a disconnect by closing the browser. But either the browser itself or the flash player was sending a disconnect signal back to the server and it handled that as designed. But that wasn't a good test. A real internet disconnect doesn't send any disconnect signal and the server won't figure that out until it actually tries to write data to the connection. And I can simulate that just by unplugging an ethernet cable in my network (duh!).

And what I've discovered is that it will send several packets before it stalls and times out. And sure enough that stalling seems to take about 30 seconds but sometimes varies. And that stall is blocking the game thread and thus the pause. And I suspect several of these at once may be causing some kind of race condition between threads and locking up the system. Anyway, to make a long, technical story even more boring I'm going to rewrite my packet sending routine so that each connection has its own write thread and that should fix this. This may take a day or two. I'll let you know when a new beta is ready.
majianlord
Posts: 72
Joined: Tue Jun 17, 2008 10:12 am

Re: Server Lockedup Kinda

Post by majianlord »

Your the man.... Keep my posted by the email i will get it patch as soon as it comes out
Post Reply