You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by Gunnar Tapper <ta...@gmail.com> on 2016/03/10 18:38:12 UTC

Test Environment: What Limits Matter?

Hi,

What limits truly matter to run Trafodion and localhadoop? The Contributor
Guide is a bit terse on the subject. So far, I've come up with the
following for /etc/security/limits.conf:

*                soft    nproc           267263
*                hard    nproc           267263
*                soft    nofile          32000
*                hard    nofile          32000
*                soft    sigpending      unlimited
*                hard    sigpending      unlimited
*                soft    memlock         unlimited
*                hard    memlock         unlimited
*                soft    stack           10240
*                hard    stack           10240

For some reason, my VM will not accept the nproc value keeping it at 1024
but otherwise, this at least works.

I'm sure we don't need unlimited for sigpending and memlock but don't know
the true requirement.

-- 
Thanks,

Gunnar
*If you think you can you can, if you think you can't you're right.*

Re: Test Environment: What Limits Matter?

Posted by Hans Zeller <ha...@esgyn.com>.
Somebody, in their infinite wisdom, introduced another file that overrides
the nproc limit set in /etc/security/limits.conf, see
https://bugzilla.redhat.com/show_bug.cgi?id=919793. The solution is
probably to delete file /etc/security/limits.d/90-nproc.conf.

Hans

On Thu, Mar 10, 2016 at 9:38 AM, Gunnar Tapper <ta...@gmail.com>
wrote:

> Hi,
>
> What limits truly matter to run Trafodion and localhadoop? The Contributor
> Guide is a bit terse on the subject. So far, I've come up with the
> following for /etc/security/limits.conf:
>
> *                soft    nproc           267263
> *                hard    nproc           267263
> *                soft    nofile          32000
> *                hard    nofile          32000
> *                soft    sigpending      unlimited
> *                hard    sigpending      unlimited
> *                soft    memlock         unlimited
> *                hard    memlock         unlimited
> *                soft    stack           10240
> *                hard    stack           10240
>
> For some reason, my VM will not accept the nproc value keeping it at 1024
> but otherwise, this at least works.
>
> I'm sure we don't need unlimited for sigpending and memlock but don't know
> the true requirement.
>
> --
> Thanks,
>
> Gunnar
> *If you think you can you can, if you think you can't you're right.*
>