On 11/28/24 11:44, Sergey Senozhatsky wrote: > Hi Joanne, > > On (24/11/14 11:13), Joanne Koong wrote: >> There are situations where fuse servers can become unresponsive or >> stuck, for example if the server is deadlocked. Currently, there's no >> good way to detect if a server is stuck and needs to be killed manually. >> >> This commit adds an option for enforcing a timeout (in minutes) for >> requests where if the timeout elapses without the server responding to >> the request, the connection will be automatically aborted. > > Does it make sense to configure timeout in seconds? hung-task watchdog > operates in seconds and can be set to anything, e.g. 45 seconds, so it > panic the system before fuse timeout has a chance to trigger. > > Another question is: this will terminate the connection. Does it > make sense to run timeout per request and just "abort" individual > requests? What I'm currently playing with here on our side is > something like this: Miklos had asked for to abort the connection in v4 https://lore.kernel.org/all/CAJfpegsiRNnJx7OAoH58XRq3zujrcXx94S2JACFdgJJ_b8FdHw@xxxxxxxxxxxxxx/raw Thanks, Bernd