Re: [patch 016/104] epoll: introduce resource usage limits



On Wed, 28 Jan 2009, Bron Gondwana wrote:

On Tue, Jan 27, 2009 at 07:46:18PM -0800, Davide Libenzi wrote:
On Wed, 28 Jan 2009, Bron Gondwana wrote:

On Tue, Jan 27, 2009 at 04:35:19PM -0800, Greg KH wrote:
Can you resubmit all 4 patches, and cc: the epoll author, Davide? He's
the one that needs to accept these changes.

It's three now (two of them deserved to merged) and re-ordered so the
first two are trivial and the complex bits are easily skipped if you
don't want them.

Just looking for Davide's email address. Found it :) I'll follow up
this message with the patches. I'm not going to CC everyone else again
- but I'll CC LKML so you can follow it there if you want.

I already gave you my opinion on such code. There is no need for it. If
your servers are loaded, in the same way you bump NFILES (and likely
even other default configs), you bump up max_user_instances:

How can you tell if it's heavily loaded if you can't tell what the
current usage is? Just wait until you hit the limit?

In my servers, I know if they are going to be loaded, and I bump NFILES
(and a few other things) to the correct place. Since many of those
limits do not actually pre-allocate any resource, I don't need to wait and
monitor the values, before taking proper action.
Sorry, the whole patch set is a big NACK for many reasons.
We'd have happily avoided those limits altogether, but 100-160MB of kernel
memory able to be pinned by unprivileged users is easily a DoS on multiuser
systems.



- Davide


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [patch 016/104] epoll: introduce resource usage limits
    ... On Wed, 28 Jan 2009, Bron Gondwana wrote: ... I already gave you my opinion on such code. ... your servers are loaded, in the same way you bump NFILES (and likely ...
    (Linux-Kernel)
  • Re: NMHTTP Simple question.
    ... There is actually no limit preset by the HTTP protocol, but there are limits ... were only set by the specific Web Servers. ... Web Servers which would accept URL's of unlimited length, it is up to you to ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: NMHTTP Simple question.
    ... > There is actually no limit preset by the HTTP protocol, ... > set by different servers, while every server has the right to declare its ... > own limits when processing requests. ... > Web Server wants to handle it. ...
    (borland.public.delphi.thirdpartytools.general)
  • DCOM and anonymous access on XP/Vista
    ... I have a question regarding DCOM security settings on XP/Vista. ... I added Anonymous explicitly to the servers access rights ... My problem is probably a misunderstanding of this "Edit limits" feature ...
    (microsoft.public.win32.programmer.ole)
  • Re: [OT] Silly (copyright?) claim by "Galen".
    ... > able to gather on the subject of copyright I'm well within any legal rights ... You can make all the claims and limits you want, but I don't see how you ... Usenet is a totally automated system, ... the servers can't understand what's written in your signature. ...
    (comp.security.misc)