Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1595024

Re: counting file descriptors with a cgroup controller

From Krzysztof Opasiak <k.opasiak@samsung.com>
Newsgroups linux.kernel
Subject Re: counting file descriptors with a cgroup controller
Date 2017-03-08 11:30 +0100
Message-ID <tiH10-5e8-13@gated-at.bofh.it> (permalink)
References (4 earlier) <timzf-7wm-19@gated-at.bofh.it> <tithn-3Jt-13@gated-at.bofh.it> <titAK-46W-11@gated-at.bofh.it> <tiA9c-le-9@gated-at.bofh.it> <tiA9c-le-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 03/08/2017 03:59 AM, Parav Pandit wrote:
> Hi,
>
> On Tue, Mar 7, 2017 at 2:48 PM, Tejun Heo <tj@kernel.org> wrote:
>>
>> Hello,
>>
>> On Tue, Mar 07, 2017 at 09:06:49PM +0100, Krzysztof Opasiak wrote:
>>> Personally, I don't want to use rlimit for this as it ends up returning
>>> error code from for example open() when we hit the limit. This may lead to
>>> some unpredictable crashes in  services (esp. those poor proprietary binary
>>> blobs). Instead of injecting errors to service we would like to just get
>>> notification that this service has more opened fds than it should and ask it
>>> to restart in a polite way.
>>>
>
> How does those poor proprietary binary blobs remain polite after restart?

They wont.

> Do you mean you want to keep restarting them when it reaches the limit?

We'd like to restart them each time when they reach limit declared by 
developer.

Best regards,
-- 
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: counting file descriptors with a cgroup controller Tejun Heo <tj@kernel.org> - 2017-03-06 20:10 +0100
  Re: counting file descriptors with a cgroup controller Krzysztof Opasiak <k.opasiak@samsung.com> - 2017-03-07 13:40 +0100
    Re: counting file descriptors with a cgroup controller Tejun Heo <tj@kernel.org> - 2017-03-07 20:50 +0100
      Re: counting file descriptors with a cgroup controller Krzysztof Opasiak <k.opasiak@samsung.com> - 2017-03-07 21:10 +0100
        Re: counting file descriptors with a cgroup controller Parav Pandit <pandit.parav@gmail.com> - 2017-03-08 04:10 +0100
          Re: counting file descriptors with a cgroup controller Krzysztof Opasiak <k.opasiak@samsung.com> - 2017-03-08 11:30 +0100
        Re: counting file descriptors with a cgroup controller Krzysztof Opasiak <k.opasiak@samsung.com> - 2017-03-08 13:10 +0100
          Re: counting file descriptors with a cgroup controller Tejun Heo <tj@kernel.org> - 2017-03-08 20:10 +0100
        Re: counting file descriptors with a cgroup controller Tejun Heo <tj@kernel.org> - 2017-03-08 15:50 +0100

csiph-web