home.social

#cgroup — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cgroup, aggregated by home.social.

  1. #TIL #cgroups' memory.current metric includes any #pagecache entries that a process in the #cgroup caused to be inserted, even if other processes are accessing it too.

    This means that anything related to #systemd unit's memory accounting also inherits this property.

    If your #emacs systemd unit reports insane memory usage (usually ~10G for me), this is why.
    It's actually not emacs' fault for once ;)

    #linux #kernel #MemoryAccounting

  2. #linux
    #support
    #help
    #question
    #systemd
    #cgroup
    #root
    #uid

    When su - error "Failed to connect to bus no medium found"

    Investigated causes based on njroute22.com/failed-to-connec

    Image1: $ systemctl status dbus. "CGroup" led me to systemd control groups.

    Image2: $ systemd-cgls. From entry user-1234.slice ONLY configurations for originally created host user (i.e., ID 1234 user in sudoers), BUT NO ENTRY for root (i.e., user-0)

    Q: Can root be made a member of systemd control group like user-1234 is?