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

Service shutdown leaves seafevents.pid file hanging around #2831

Open
laur89 opened this issue Oct 7, 2024 · 0 comments
Open

Service shutdown leaves seafevents.pid file hanging around #2831

laur89 opened this issue Oct 7, 2024 · 0 comments
Labels

Comments

@laur89
Copy link

laur89 commented Oct 7, 2024

My understanding is shutting down both seafile & seahub via seahub.sh & seafile.sh stop commands should shut down all processes and clean up the pidfiles. However seafevents.pid remains. The PID in the file however does not appear to be running anymore.

Also note it's the only PID-file that contains PID without a trailing newline. No idea whether that's important or not:

┌─[srvr]─[/mnt/user/seafile]
└──╼ + ls -ltr pids
total 12K
-rw-r--r-- 1 root root 5 Oct  7 11:58 seaf-server.pid
-rw-r--r-- 1 root root 4 Oct  7 11:58 seafevents.pid
-rw-r--r-- 1 root root 5 Oct  7 11:58 seafdav.pid
┌─[srvr]─[/mnt/user/seafile]
└──╼ + cat pids/seafevents.pid 
5438┌─[srvr]─[/mnt/user/seafile]
└──╼ + cat pids/*
5402
5476
5438┌─[srvr]─[/mnt/user/seafile]  <-- note 5438 doesn't have a newline, causing shell prompt to be appended
└──╼ +

Running v11.0.12 in phusion/baseimage:jammy-1.0.4 container.

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

No branches or pull requests

2 participants