Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/fs/common

On Tue, Mar 19, 2013 at 07:43:06PM +1100, matthew green wrote:
> > > The zfs tests are failing when run as an unprivileged user in
> > > thread_create() ... because default limit for threads (160) is too
> > > low ! When run as root, the limit value (2500) seems to be high enough.
> > 
> > So should we increase the default limits?  It's always a tough call to
> > set limits for a large ensemble of hardware, big and small, but it also
> > seems that limits should be big enough to run our test cases.
> i think the default thread limit should be more on the order of 1024 
> to 4096.

Both the soft and hard limits for all the rlimits really need looking at.
In most cases the hard limits are much too high!

I'd have thought the soft thread limit should be relatively low (maybe
more than 160), and the hard limit say 1024 (dunno really).

Similarly for fds, maybe 256 and 4096.
At the moment there are nice local-user DoS because of the hard limit


David Laight:

Home | Main Index | Thread Index | Old Index