question about ulimit

39 views
Skip to first unread message

seonguk.baek

unread,
Apr 24, 2012, 2:54:58 AM4/24/12
to Repo and Gerrit Discussion
Dear all.

I've a question about ulimit value of Ubuntu configuration.

Is the ulimit configuration affects to gerrit service?
For example we changed "open files" value from default to 20480.
And heapLimit is 80GB of gerrit.config for supporting many
developers.

Is there any other values that we have to change?

thanks.

Shawn Pearce

unread,
Apr 24, 2012, 10:02:28 AM4/24/12
to seonguk.baek, Repo and Gerrit Discussion
On Mon, Apr 23, 2012 at 23:54, seonguk.baek <baeks...@gmail.com> wrote:
> I've a question about ulimit value of Ubuntu configuration.
>
> Is the ulimit configuration affects to gerrit service?

Yes, of course. ulimit affects every process on the system.

> For example we changed "open files" value from default to 20480.
> And heapLimit is 80GB  of gerrit.config for supporting many
> developers.

This seems reasonable. Busy servers need a lot of file descriptors
(not just Gerrit Code Review, but any busy server). Gerrit caches a
lot in its own address space, so it also needs a lot of heap.

> Is there any other values that we have to change?

Not usually. I think I only had to alter open files and memory on the
ulimit side of things. Unless your sysadmin has special policies, that
should be sufficient.
Reply all
Reply to author
Forward
0 new messages