Comments (7)
Haven't seen this running from VS or from the EXE. Maybe an issue running directly from python interpreter on command-line?
from spacebattlearena.
This this has to do with the timer used by Hungry Hungry Baubles and Bauble Hunt. Will have to investigate more...
from spacebattlearena.
Think that was one issue, seems to work in the default case now, but network threads still hanging:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "atexit.pyo", line 24, in _run_exitfuncs
File "Server\MWNL2.pyo", line 202, in __close
File "Server\MWNL2.pyo", line 521, in close
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
File "atexit.pyo", line 24, in _run_exitfuncs
File "Server\MWNL2.pyo", line 202, in __close
File "Server\MWNL2.pyo", line 521, in close
KeyboardInterrupt
from spacebattlearena.
Looks like we're certainly getting stuck there on the thread, but if we try and forcibly flag the connection ending, we won't always send out our disconnect message to the clients to tell them to terminate... going to need to investigate more on this.
from spacebattlearena.
As part of #68, I started writing some more infrastructure for testing networked clients and just trying to understand this space better. It certainly seems like our server is getting stuck when disconnecting.
In fact, I imagine that we're keeping every thread we open hung somewhere and that may be one main performance issue we see when start the year and students are continually disconnecting and connecting.
I've never given it a high priority, but it certainly is climbing it's way up.
from spacebattlearena.
Looks like I've solved an issue with leaving some threads behind when a client disconnects gracefully (was getting stuck in the command wait loop in the sever).
However, still might be an issue with closing all the connections when the server tries to shutdown. Getting better though.
Gave all the threads names so it's a bit easier to diagnose.
from spacebattlearena.
Where should I look for updates to the JAR and Server files for Java 7? Github?
Jim Verhaeghe
Computer Science Teacher
Ballard High School
From: Michael A. Hawker [[email protected]]
Sent: Tuesday, May 19, 2015 11:20 AM
To: Mikeware/SpaceBattleArena
Subject: Re: [SpaceBattleArena] Server Doesn't Always Terminate on Exit (#2)
Looks like I've solved an issue with leaving some threads behind when a client disconnects gracefully (was getting stuck in the command wait loop in the sever).
However, still might be an issue with closing all the connections when the server tries to shutdown. Getting better though.
Gave all the threads names so it's a bit easier to diagnose.
�
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-103622195.
from spacebattlearena.
Related Issues (20)
- Update unit tests for new blocking default for Thrust
- Server crashes running Bauble Hunt with a Basic ship HOT 1
- Add no_gravity_drag.cfg to Find The Middle Lesson Plan
- Add link to CSTA talk on main page
- Spam Stacktrace of existing connection was forcibly closed
- Very high CPU usage HOT 7
- Cannot get information of other ships? HOT 2
- Windows DPI Settings effect Window's Size
- Support for Borderless Fullscreen Window Mode
- BaubleHunt Stats Should Show Weight Not Number Carried
- [CLOSED] Setting ship's name as "\0\0\0" causes server to freeze HOT 1
- [BaubleHunt] Baubles can be deposited in any base not just the players
- More Instructions on release notes please HOT 1
- Concurrent Issues with GraphicsCache Sometimes
- Issue with World Clean-up in BaubleHunt
- Zombie Ship
- Make the font of the server configurable...
- Add .NET Client HOT 1
- Update to Python 3 HOT 11
- GraphicalClient uses uninitialized field.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spacebattlearena.