ulimit in the ubuntu package
Sergey Budnevitch
sb at waeme.net
Tue Jun 4 13:04:22 UTC 2013
On 4 Jun2013, at 16:39 , Maxim Dounin <mdounin at mdounin.ru> wrote:
> 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.
You are probably right.
More information about the nginx
mailing list