-
Notifications
You must be signed in to change notification settings - Fork 19
Not shutting down on SIGTERM #164
Comments
The problem still exists in version 0.6.0, also on Arch Linux. Below shutdown logs: |
I have been seeing the same issue. Doing a pstack on the process shows a thread that seems to be stuck in this stack trace:
|
That's supposed to be fixed by fixing #104 |
I confirm the problem on Fedora (here's the bug report). |
Still there on Fedora 30 Beta |
If you are able to reproduce it. Can you try to resolve it and provide a patch? |
Problem still exists V0.6.0 |
I'get a lot of core dumps. here is a backtrace: For help, type "help". warning: core file may not match specified executable file. |
That's something completely different |
@rsbells, it happens at every shutdown, so yes, it's easily reproducible, but I'm not sure how to debug it. I edited my
|
@paulie4 At least on Fedora, it does not appear to run as a systemd service (either at the system level or, where you're looking with |
@davidstrauss, I'm using Arch Linux. I do see that I have a It doesn't seem like the
Should there have been a log message if/when the service got a message to shutdown, which would mean that it did not get a shutdown message? |
@paulie4 systemd is parent to a lot of things as a user session manager, but it doesn't necessarily mean that it manages the lifecycle of something directly. Based on your logs, it looks like that the only service systemd is aware of there is At least one of the following should be happening to prevent this:
D-Bus seems to start it based on bus activity. I'm not a D-Bus expert, though. I'm just trying to explain why the service doesn't seem to appear directly in systemd's interfaces even though systemd has the parent PID. I do not know how to instruct a D-Bus-style service to shut down or even if there's a single convention for doing so.
There would be logging of a similar sort if |
Do you have any suggested next steps on what to do to debug what the problem could be? Thanks! |
Get a stack trace from the stuck process. I assume it looks like the one in #164 (comment) |
It was quite hard to get this thing to build, since it requires a very old version of
|
This problem still exists even two years later, this is a little bit discouraging. |
and it still exists |
@hifigraz Not really helpful. |
Hi @phako |
I am currently running the branch from @phako with the fix for this bug, have not seen any shutdown issues since. |
I am running Fedora 32 and realized that on shutdown I need to wait > 90 seconds (the time systemd decides to not wait anymore but kill a service). It seems to be caused by dleyna-renderer not shutting down on sigterm.
|
Don‘t expect this to be fixed. It’s known and open for years now. |
The branch from @phako fixes the issue for me : depending on your distribution, they may be willing to use his patchset for their package. |
It seems to be reported to the distribution over two years ago: https://bugzilla.redhat.com/show_bug.cgi?id=1520740 So, it seems there is no change to get it solved. Wired. |
I worked around it another way, so I do not need to wait for a fixed dleyna-renderer or some distribution action (who knows if it happen). Fedora (and perhaps the other distros, too) starts the dleyna-renderer-service as a user service. as user:
That's it. |
That works, but that's not it. But it is really sad, that the patch by @phako is completely ignored by the original author? The software provider seems to be completely unreliable. Best Robert |
prevents 2min hang if dleyna service is stale. intel/dleyna-renderer#164 (comment)
I recently experienced huge delays when shutting down. This comes from systemd sending an SIGTERM to the process dleyna-renderer-service and waiting for the service to actually stop.
Because of the service not shutting down systemd waits a 1min and 58secs before killing the service.
The only package that uses dleyna-renderer on my system was gnome-photos. Cause i never uses this i decided to temporarily uninstall gnome-photos and dleyna-renderer to reduce my shutdown time.
With the service still running i tried to send SIGTERM to it, but nothing happens, so it seems to be an problem with the service. If you give me the location of the logfiles i can paste them here.
My version of dleyna-renderer was 0.5.0-1 and im using Arch Linux.
I hope you can fix this, else it would be very annoying to use on systemd managed systems.
The text was updated successfully, but these errors were encountered: