UMS is supposed to shutdown on SIGTERM or SIGINT without an issue. I hope to find out why it wasn't. I now suspect my DB was [edited].
What's more, your script is using SIGKILL, which is exactly what I was hoping to avoid.
Search found 7 matches
- Sun Mar 12, 2023 4:43 pm
- Forum: Help and Support
- Topic: UMS is not stopping
- Replies: 12
- Views: 4938
- Sun Mar 12, 2023 9:05 am
- Forum: Help and Support
- Topic: UMS is not stopping
- Replies: 12
- Views: 4938
More investigation
So waiting until the next day, UMS shutdown takes a lot longer.
It turns out that LoggerFactory.getILoggerFactory().stop(); also closes stderr. So I reorganized net.pms.PMS.shutdown() to close logging last. I now see that most of the shutdown delay is in MediaDatabase.shutdown(). I also added ...
It turns out that LoggerFactory.getILoggerFactory().stop(); also closes stderr. So I reorganized net.pms.PMS.shutdown() to close logging last. I now see that most of the shutdown delay is in MediaDatabase.shutdown(). I also added ...
- Fri Mar 10, 2023 7:28 am
- Forum: Help and Support
- Topic: UMS is not stopping
- Replies: 12
- Views: 4938
- Thu Mar 09, 2023 3:16 pm
- Forum: Help and Support
- Topic: UMS is not stopping
- Replies: 12
- Views: 4938
Re: UMS is not stopping
A better way to do this is to just move the jre17 directory out of the way :
Code: Select all
cd /dir/you/installed/ums/in
mv jre17 jre17-NOT
Code: Select all
lsof -c java | grep libjavajpeg
- Thu Mar 09, 2023 3:13 pm
- Forum: Help and Support
- Topic: UMS is not stopping
- Replies: 12
- Views: 4938
Re: UMS is not stopping
UMS 13.2.0 compiled with JRE17.0.6+10 shuts down correctly.
UMS 13.2.0 compiled with JRE17.0.5+8 shuts down correctly.
I reinstalled UMS from UMS-13.2.0-x86_64.tgz and now it shuts down correctly.
I tried precompiled UMS using a system java (bellsoft-java17) and it shuts down correctly.
I tried ...
UMS 13.2.0 compiled with JRE17.0.5+8 shuts down correctly.
I reinstalled UMS from UMS-13.2.0-x86_64.tgz and now it shuts down correctly.
I tried precompiled UMS using a system java (bellsoft-java17) and it shuts down correctly.
I tried ...
- Thu Mar 09, 2023 1:13 pm
- Forum: Help and Support
- Topic: UMS is not stopping
- Replies: 12
- Views: 4938
Re: UMS is not stopping
It occurred to me that I am the Programmer Born, so I grabbed the source code from git, recompiled and ran that. Using 13.2.1-SNAPSHOT, UMS shuts down correctly.
The jre17 shipping with 13.2.0 (BellSoft 17.0.5, 2022-10-18) is different from the jre17 I compiled with (BellSoft 17.0.6, 2023-01-17 ...
The jre17 shipping with 13.2.0 (BellSoft 17.0.5, 2022-10-18) is different from the jre17 I compiled with (BellSoft 17.0.6, 2023-01-17 ...
- Tue Mar 07, 2023 8:55 am
- Forum: Help and Support
- Topic: UMS is not stopping
- Replies: 12
- Views: 4938
UMS is not stopping
System: AlmaLinux 8
Version: UMS 13.2.0
Java: java-1.8.0-openjdk-1.8.0.362.b09-2.el8_7.x86_64
UMS is started via systemd (systemctl start ums) (see attachment).
When I stop the service (systemctl stop ums) it will always hang for 1m30s and then use SIGKILL to kill the process.
After which I see ...
Version: UMS 13.2.0
Java: java-1.8.0-openjdk-1.8.0.362.b09-2.el8_7.x86_64
UMS is started via systemd (systemctl start ums) (see attachment).
When I stop the service (systemctl stop ums) it will always hang for 1m30s and then use SIGKILL to kill the process.
After which I see ...