[GH-ISSUE #169] Why is automatic restart not enabled in the systemd service file? #101

Closed
opened 2026-10-26 09:45:08 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @polyrabbit on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/169

In attached service files, there are no Restart option. Why not enable automatic restart by default? e.g. when fuse client crashes, automatic restart may allow user to retry without manual intervention.

Originally created by @polyrabbit on GitHub (Mar 13, 2025). Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/169 In attached [service files](https://github.com/deepseek-ai/3FS/tree/3c100b90ce31b37da6f089555ba60bdfe07ec974/deploy/systemd), there are no `Restart` option. Why not enable automatic restart by default? e.g. when fuse client crashes, automatic restart may allow user to retry without manual intervention.
Author
Owner

@ghost commented on GitHub (Mar 23, 2025):

$ sudo systemctl enable *.service

<!-- gh-comment-id:2746047855 --> @ghost commented on GitHub (Mar 23, 2025): $ sudo systemctl enable *.service
Author
Owner

@SF-Zhou commented on GitHub (Mar 23, 2025):

We consider all unexpected exits to be unintended and require manual intervention to investigate the causes, rather than allowing them to be overlooked due to automatic restarts. If you need automatic restart functionality, you can configure it yourself.

<!-- gh-comment-id:2746266495 --> @SF-Zhou commented on GitHub (Mar 23, 2025): We consider all unexpected exits to be unintended and require manual intervention to investigate the causes, rather than allowing them to be overlooked due to automatic restarts. If you need automatic restart functionality, you can configure it yourself.
Author
Owner

@polyrabbit commented on GitHub (Mar 23, 2025):

I see, at least for FileHandle it's not safe to enable auto restart - fh is just a pointer to a heap object, and if restart happens kernel may send an obsolete pointer, but fuse daemon has no way to determine whether this pointer is valid for the current process.

<!-- gh-comment-id:2746278573 --> @polyrabbit commented on GitHub (Mar 23, 2025): I see, at least for `FileHandle` it's not safe to enable auto restart - `fh` is just a pointer to a heap object, and if restart happens kernel may send an obsolete pointer, but fuse daemon has no way to determine whether this pointer is valid for the current process.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/3FS#101
No description provided.