Skip to content

csd-housekeeping prevents suspend of system #417

@Swift42

Description

@Swift42

Distribution

Mint 22.1, Kernel 6.8.0-78-lowlatency

Package version

6.4.8

Graphics hardware in use

Nvidia RTX 3050 with driver 575-open

Frequency

Quite often

Bug description

All was working fine for months, then suddenly (maybe after some update or after installing the low latency kernel or just by coincidence) the following problem showed up:
When using the "Suspend" function, in roughly 50% of all cases the system tries to suspend, but it doesn't work: The screen goes blank, but I can't hear the "click" from the power supply which indicates the successful suspend.
After approx. 40 or 50 seconds I will be returned to the desktop.

When looking at dmesg -T | tail -n 200, I can see the following two entries:

Freezing user space processes failed after 20.005 seconds (1 tasks refusing to freeze, wq_busy=0):
task:csd-housekeepin state:D stack:0     pid:2099  tgid:2099  ppid:1857   flags:0x00004006

And it is always the same task "csd-housekeeping" that prevents the suspend. (the strange thing is: it is called "csd_housekeepin" in the log, so a "g" is missing).

I found two people with the same problem, but no solution:
https://www.reddit.com/r/linuxmint/comments/13a60z4/freezing_of_tasks_failed_after_20_seconds/

I noticed that after a fresh computer start it nearly always works, but the longer the computer is running, the more often I encounter the suspend problem.
In the meantime I restarted the computer a dozen times, but sooner or later the problem will show up.

Steps to reproduce

System button -> Power off the computer -> Suspend
(sometimes it works, sometimes it doesn't)

Expected behavior

The system should suspend in 100% of all cases

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions