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

Stop selects wrong tmux session #1784

Closed
Lartza opened this Issue Jan 21, 2018 · 8 comments

Comments

4 participants
@Lartza
Contributor

Lartza commented Jan 21, 2018

I run two Killing Floor 2 servers under the same user.

Stopping the first server with ./kf2server always stops both servers either gracefully or by stopping kf2server-2 gracefully and then killing kf2server after the 30 seconds.

./kf2server-2 stop seems to work correctly

@UltimateByte

This comment has been minimized.

Collaborator

UltimateByte commented Jan 21, 2018

@marvinlehmann

This comment has been minimized.

Member

marvinlehmann commented Jan 21, 2018

#1699 ?

@UltimateByte

This comment has been minimized.

Collaborator

UltimateByte commented Jan 21, 2018

Well, postdetails would provide the answer...

@Lartza

This comment has been minimized.

Contributor

Lartza commented Jan 22, 2018

Sounds like exaxctly #1699

Ran into some additional issues while debugging / postdetails so took a while of figuring out...

For some reason, postdetails of my first server is doing this https://hastebin.com/ukeniyojuy
The second output is the right one although only the server name has changed... (seems it doesn't delete the postdetails log just appends to it)

Second server:
https://hastebin.com/opegiwasuw

Additionally somehow something bad happened and the monitor command wiped the kf2server file and made a new kf2server-2 file, or something similar :S Script log or anything had no indication though

@Lartza

This comment has been minimized.

Contributor

Lartza commented Jan 22, 2018

Some additional testing... Renamed the second script to not contain any words in common with the first

[kf2server@vanity ~]$ ./kf2server start
[  OK  ] Starting kf2server: lagit.in #1 | Custom Maps | 60 tick
[kf2server@vanity ~]$ ./private start
[  OK  ] Starting private: lagit.in #2 Private | Custom Maps | 60 tick
[kf2server@vanity ~]$ tmux ls
kf2server: 1 windows (created Mon Jan 22 07:36:58 2018) [23x80]
private: 1 windows (created Mon Jan 22 07:37:06 2018) [23x80]
[kf2server@vanity ~]$ ./kf2server stop
[ .... ] Stopping kf2server: Graceful: CTRL+c: 5^C
[kf2server@vanity ~]$ tmux ls
kf2server: 1 windows (created Mon Jan 22 07:36:58 2018) [23x80]
@dgibbs64

This comment has been minimized.

Member

dgibbs64 commented Apr 8, 2018

I experienced this with two different servers. Unsure what caused it though

@dgibbs64

This comment has been minimized.

Member

dgibbs64 commented Apr 8, 2018

The merge was reverted. I relive it caused serious issues. I will test a solution
8faffe4#diff-4dad406e2c6eb8fb1583fac41cfb8e6e

dgibbs64 added a commit that referenced this issue Apr 8, 2018

@dgibbs64

This comment has been minimized.

Member

dgibbs64 commented Apr 8, 2018

Fixed and going in to next release

@dgibbs64 dgibbs64 closed this Apr 8, 2018

dgibbs64 added a commit that referenced this issue Apr 11, 2018

Release 180409
* Added new server Rising World
* Added new server ET: Legacy
* Added support for node-gamedig
* Updated Factorio to glibc 2.18
* Changed apt-get to apt
* Changed many sleep timers from 1 second to 0.5 to speed up LinuxGSM 
* Fix for issue #1784 Tmux closing wrong session
* Fixed dependency requirements for CoD 2 and CoD:UO #1866
* Discord now uses external IP over standard IP
* Code tidy/improvements with guidance from Shellcheck
* Added development command query-raw
* Added development command clear-functions
* Added development log dev-debug-function-order.log
* Added fctrserver to Travis CI tests
* Updates to GitHub Issues; Added bots and updated templated
* Fixed waffle.io button no longer working
* Corrected Query Port for UT3 (Query Port does not work btw)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment