Re: limitations on sysv ipc message queues on Linux

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 5 Dec 1998 18:31:44 +0000 (GMT)


> and per process limits. As it stands now if one sets msgmax to 64K then
> there is nothing stopping a user from creating 64K*128=8M of unswappable
> message buffers.

Perhaps there should be a limit for 'total memory used by a queue' and
'total memory used by all queues' as well as count/size limits ?

> keeps track of that info, but I don't know where the user limits should go.
> struct rusage looks like it is the right place, but can this be modified
> without breaking apps?

Not really

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