ulimit in the ubuntu package
Maxim Dounin
mdounin at mdounin.ru
Tue Jun 4 12:39:06 UTC 2013
Hello!
On Tue, Jun 04, 2013 at 04:30:40PM +0400, Sergey Budnevitch wrote:
>
> On 4 Jun2013, at 15:39 , pablo platt <pablo.platt at gmail.com> wrote:
>
> > Hi,
> >
> > I'm using the ubuntu package from nginx.org.
> >
> > In the package from the official ubuntu repo, you can set file descriptor limit by changing /etc/default/nginx
> > # Check if the ULIMIT is set in /etc/default/nginx
> > if [ -n "$ULIMIT" ]; then
> > # Set the ulimits
> > ulimit $ULIMIT
> > fi
>
> ulimit without flags sets max file size in blocks, not file descriptor limit, so
> you may fill a bug in their bug tracker.
I think the expected use is to supply arguments within the ULIMIT
variable.
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx
mailing list