>> Index: nginx.conf
>> ===================================================================
>> RCS file: /cvs/src/usr.sbin/nginx/conf/nginx.conf,v
>> retrieving revision 1.18
>> diff -u -p -r1.18 nginx.conf
>> --- nginx.conf       27 Mar 2014 10:40:42 -0000      1.18
>> +++ nginx.conf       13 Apr 2014 20:45:31 -0000
>> @@ -14,9 +14,9 @@ worker_processes  1;
>>  
>>  #pid        logs/nginx.pid;
>>  
>> -
>> +worker_rlimit_nofile 1024;
>>  events {
>> -    worker_connections  1024;
>> +    worker_connections  800;
>>  }
>>  
>>  
>> 
>
>These values make sense to me, though I think some people didn't like
>daemons themselves changing rlimit when this came up before, so we added
>a login.conf section when this was needed for bgpd (handled by rc.subr
>setting the class automatically).

Well... this appears to be a patch in a config file... not inside the
C code.

Reply via email to