From: Jakub Jelinek <jakub@redhat.com>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: akpm@osdl.org, drepper@redhat.com, manfred@colorfullife.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] per-user signal pending and message queue limits
Date: Mon, 19 Apr 2004 18:49:40 -0400 [thread overview]
Message-ID: <20040419224940.GY31589@devserv.devel.redhat.com> (raw)
In-Reply-To: <20040419212810.GB10956@logos.cnet>
On Mon, Apr 19, 2004 at 06:28:10PM -0300, Marcelo Tosatti wrote:
> Andrew,
>
> Here goes the signal pending & POSIX mqueue's per-uid limit patch.
>
> Initialization has been moved to include/asm-i386/resource.h, as you suggested.
>
> The global mqueue limit has been increased to 256 (64 per user), and the global
> signal pending limit to 4096 (1024 per user).
>
> This has been well tested.
>
> If you are OK with it for inclusion (-mm) I'll generate the arch-dependant
> changes for the other architectures.
>
> Comments are welcome.
I wonder if it is a good idea to base mqueue limitation on the number of
message queues and not take into account how big they are.
64 message queues with 1 byte msgsize and 1 maxmsg is certainly quite
harmless and the system could have even more queues for such a user,
while 64 message queues with 16K msgsize (current default) and 40 maxmsg
(also default) eats ~ 40M of kernel memory.
Jakub
next prev parent reply other threads:[~2004-04-19 22:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-19 21:28 [PATCH] per-user signal pending and message queue limits Marcelo Tosatti
2004-04-19 22:49 ` Jakub Jelinek [this message]
2004-04-20 14:13 ` Marcelo Tosatti
2004-04-20 18:05 ` Manfred Spraul
2004-04-20 20:04 ` Andrew Morton
2004-04-20 23:13 ` Marcelo Tosatti
2004-04-20 23:34 ` Andrew Morton
2004-04-21 20:34 ` Marcelo Tosatti
2004-04-22 5:33 ` Manfred Spraul
2004-04-27 14:54 ` Marcelo Tosatti
2004-04-27 18:09 ` Manfred Spraul
2004-04-28 17:09 ` Marcelo Tosatti
2004-04-28 21:03 ` Andrew Morton
2004-04-29 1:33 ` Chris Wright
2004-04-29 12:17 ` Marcelo Tosatti
2004-04-29 19:58 ` Chris Wright
2004-05-06 0:08 ` Chris Wright
2004-05-06 12:09 ` Marcelo Tosatti
2004-05-06 12:32 ` Marcelo Tosatti
2004-05-07 0:56 ` Chris Wright
2004-04-19 22:59 ` Andrew Morton
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=20040419224940.GY31589@devserv.devel.redhat.com \
--to=jakub@redhat.com \
--cc=akpm@osdl.org \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=marcelo.tosatti@cyclades.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.