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

[Bug]: pgrep reporting PIDs that do not exist sometimes and causes server crash when monitoring enabled. #4343

Closed
Kr3m opened this issue Oct 18, 2023 · 3 comments

Comments

@Kr3m
Copy link

Kr3m commented Oct 18, 2023

User story

when monitoring is enabled, the server crashes.

Game

Quake 3

Linux distro

Ubuntu 22.04

Command

command: monitor

Further information

When server monitoring is enabled, sometimes it fails and sends a soft quit to the server.

Oct 18 05:00:23.812 q3server: MONITOR: ERROR: Checking session: ERROR
Oct 18 05:00:23.955 q3server: MONITOR: ERROR: Checking session: PIDS with old type tmux session are running
Oct 18 05:00:24.162 q3server: MONITOR: ERROR: Checking session: Killing session with the session name q3server
Oct 18 05:00:32.936 q3server: STOP: INFO: Graceful: sending "quit"
Oct 18 05:00:34.450 q3server: STOP: PASS: Graceful: sending "quit": OK: 1 seconds```

### Relevant log output

_No response_

### Steps to reproduce

Enable server monitoring in cron jobs for q3server or qlserver
@Kr3m Kr3m added the type: bug Something isn't working label Oct 18, 2023
@Kr3m Kr3m changed the title [Bug]: pgrep reporting PIDs that do not exist sometimes. [Bug]: pgrep reporting PIDs that do not exist sometimes and causes server crash when monitoring enabled. Oct 19, 2023
@dgibbs64
Copy link
Member

a reboot of the server should resolve this issue if lingering.

@Kr3m
Copy link
Author

Kr3m commented May 8, 2024

This still seems to be an issue. I have monitoring disabled for now.

@tk1114632
Copy link

I think I have the same issue with cs2server. issue

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

No branches or pull requests

3 participants