jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.88k stars 92 forks source link

computer suspend yields: "freezing of tasks failed after 20.006 seconds" #293

Open ginobean opened 1 year ago

ginobean commented 1 year ago

Interestingly, my desktop computer does seem to MOSTLY suspend, but my led indicator doesn't turn amber, and I seem to hear some ongoing humming in my computer which suggests that it did not fully go into suspend mode. I noticed this because my desktop computer is in my bedroom and I remember waking up in the middle of the night and noticing that something seemed to be making a humming sound. And, in the morning, I determined that the humming sound was coming from my computer and that the led indicator was a blue-white color, instead of the expected amber, for a suspended computer.

If I umount the OneDrive before I suspend, my computer suspends normally, with my led indicator turning amber..

electron-spin commented 1 year ago

I have the same issue. When I mount my accounts, the computer returns to the lock screen 20 seconds after suspending. Running the command journalctl -b | grep May\ 18\ 11:11 to see what happened in the minute that I suspended my machine gives me the following lines of interest:

May 18 11:11:54 awarea51r4fedoragnome kernel: Freezing user space processes failed after 20.008 seconds (2 tasks refusing to freeze, wq_busy=0):

AND:

May 18 11:11:58 awarea51r4fedoragnome onedriver[3178]: 11:11:58 ERR Error during delta fetch, marking fs as offline. error="Get \"https://graph.microsoft.com/v1.0/me/drive/root/delta?token=[REDACTED]\": dial tcp: lookup graph.microsoft.com: Temporary failure in name resolution"

AND:

May 18 11:11:58 awarea51r4fedoragnome onedriver[3180]: 11:11:58 ERR Error during delta fetch, marking fs as offline. error="Get \"https://graph.microsoft.com/v1.0/me/drive/root/delta?token=[REDACTED]\": dial tcp: lookup graph.microsoft.com: Temporary failure in name resolution"

I suspect that this is an issue with onedriver@folder-name.service.

System information: Fedora 38 Workstation, GNOME Alienware Area 51 R4