-
Notifications
You must be signed in to change notification settings - Fork 782
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
Networking problems in 1.4.42V3 (Server slow, Client does not die after shutdown...) #6259
Comments
Reason: you are runs multiple clients after update. On new version it must re-create database files. So run only one app for first time. If you got that problem (freezed clients) then close all Also check your client run script -- it's run multiple clients at the same time:
|
Thanks again for your comments, @JayDi85 ! Regarding the server startup time, I've noticed the launcher UI takes a long time to appear...
|
I'm using VisualVM -- its free and can connect to any java app. You can collect info about threads and time in methods/classes.
Use that commit to find out about client settings:
#4461 (comment)
Server settings in config/config.xml file (you must save it before update). Also you need db folder for user registration and stats save.
|
Thanks! I'll try this and let you know. |
Seems to be fixed with 1.4.42V6. Even after card database rebuild, the server started in only 20s(!). See logs below. Server log:
Client log:
|
Briefing
xmage/xmage/mage-client/db/cards.h2.lock.db
. It seems there is some undead client process, as it used "synchronized" again...ps aux|grep java
. Two clients are still running in the background! Killed them.Full logs below.
Logs
Server log
Client log
The text was updated successfully, but these errors were encountered: