public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
From: William Dauchy <william-M8Sm6a3kpgNeoWH0uzbU5w@public.gmane.org>
To: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: ps stuck on cmdline reading
Date: Wed, 21 Jan 2015 10:58:08 +0100	[thread overview]
Message-ID: <20150121095808.GA18656@gandi.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

Hello,

I am sometines triggering an issue on a v3.14.x (v3.14.18 here) where
the `ps auxwwf` is stuck.
The setup is several containers which own several process and with
memory limit on each cgroup.
A strace reveals the `ps` command is stuck on a read of a cmdline
file. The concerned process itself is on a non-interruptible IO state.
The ps command is executed in the global cgroup.

I also had a similar issue on a 3.10.x some months ago where ps was
stuck; the reason was the memory limit of the cgroup was reached and I
only had to add some pages available to the conatiner in order to
unlock the ps command.
But in my case the cgroups which own the pid has still lots of memory
available and I did not found a way to unlock the process.

I don't know how to reproduce the issue but I am sometimes triggering
it.

Does someone has some hint? How can I get more debug info about it?

Thanks,
-- 
William

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2015-01-21  9:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21  9:58 William Dauchy [this message]
     [not found] ` <20150121095808.GA18656-M8Sm6a3kpgNeoWH0uzbU5w@public.gmane.org>
2015-02-03 19:40   ` ps stuck on cmdline reading Michal Hocko
     [not found]     ` <20150203194036.GA2490-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2015-02-05 15:22       ` William Dauchy
     [not found]         ` <20150205152233.GI3008-M8Sm6a3kpgNeoWH0uzbU5w@public.gmane.org>
2015-02-05 15:45           ` Michal Hocko
     [not found]             ` <20150205154558.GF19104-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2015-02-10 15:10               ` William Dauchy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150121095808.GA18656@gandi.net \
    --to=william-m8sm6a3kpgneowh0uzbu5w@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox