Your message dated Sat, 03 Oct 2020 06:13:48 +0000
with message-id <[email protected]>
and subject line Bug#834540: Removed package(s) from unstable
has caused the Debian Bug report #859613,
regarding cgm gettasks not working properly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
859613: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859613
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cgmanager
Version: 0.33-2+deb8u2

Hi,

the "cgm gettasks" command does not always work as expected.
I set up a memory limit of 64MB for the user with uid 1000:

root@debian-test:~# cat /etc/systemd/system/user-1000.slice.d/MemoryLimit.conf
[Slice]
MemoryLimit=67108864

It is set up at reboot, as I can see (with the user logged in):

root@debian-test:~# cgget -g memory:/user.slice/user-1000.slice
/user.slice/user-1000.slice:
memory.pressure_level: 
memory.use_hierarchy: 1
memory.swappiness: 60
memory.memsw.failcnt: 0
memory.limit_in_bytes: 67108864
memory.memsw.max_usage_in_bytes: 3182592
memory.usage_in_bytes: 2670592
memory.memsw.limit_in_bytes: 18446744073709551615
memory.failcnt: 0
memory.force_empty: 
memory.memsw.usage_in_bytes: 2670592
memory.max_usage_in_bytes: 3182592
memory.numa_stat: total=652 N0=652
        file=0 N0=0
        anon=652 N0=652
        unevictable=0 N0=0
        hierarchical_total=652 N0=652
        hierarchical_file=0 N0=0
        hierarchical_anon=652 N0=652
        hierarchical_unevictable=0 N0=0
memory.oom_control: oom_kill_disable 0
        under_oom 0
memory.stat: cache 0
        rss 2670592
        rss_huge 0
        mapped_file 0
        writeback 0
        swap 0
        pgpgin 1285
        pgpgout 633
        pgfault 2744
        pgmajfault 0
        inactive_anon 0
        active_anon 2670592
        inactive_file 0
        active_file 0
        unevictable 0
        hierarchical_memory_limit 67108864
        hierarchical_memsw_limit 18446744073709551615
        total_cache 0
        total_rss 2670592
        total_rss_huge 0
        total_mapped_file 0
        total_writeback 0
        total_swap 0
        total_pgpgin 1285
        total_pgpgout 633
        total_pgfault 2744
        total_pgmajfault 0
        total_inactive_anon 0
        total_active_anon 2670592
        total_inactive_file 0
        total_active_file 0
        total_unevictable 0
memory.move_charge_at_immigrate: 0
memory.soft_limit_in_bytes: 18446744073709551615


I can also see the user's tasks:

root@debian-test:~# cgm gettasks memory user.slice/user-1000.slice
2732
2734
2735
2737
2738

But if I then log out with the root user and re-log in, the command fails
with:

root@debian-test:~# cgm gettasks memory user.slice/user-1000.slice
call to cgmanager_get_tasks_sync failed: invalid request

Can you please check why the command fails after re-log in?

regards,
Svenja Otten.

--- End Message ---
--- Begin Message ---
Version: 0.41-2+rm

Dear submitter,

as the package cgmanager has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/834540

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Sean Whitton (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to