On Sun, Jan 28, 2001 at 02:40:11PM -0500, Hubbard, David wrote:
> Hi all,
> I've got a question about softlimit, I'll use generic numbers, etc.
> since
> it's not service specific:
>
> I want softlimit to limit a tcpserver process. Let's assume that I set
> tcpserver
> to answer up to 10 concurrent connections for a service that takes up a meg
> of ram for each connection. So if I reach my maximum of 10 connections,
> I'll
> have 10 megs of ram in use. Do I need to set softlimit to 10 megs plus a
> little for tcpserver or something else?
No. The limits are inherited on a per-process basis. If you want each
smtp server to consume a maximum of 1MB of memory, set your softlimit
to 1MB.
Regards.