I think you need both -- in policyd.h, there is a parameter MAXFDS, that 
has to be either picked up by the configuration or hard-coded.  You can 
try to increase the limit in the shell first and then recompile so it
picks up a higher limit.   I'd add a limit/ulimit statement in the
startup script just to be safe, as well, before policyd is launched.


On Fri, 7 Sep 2007, Artem Bokhan wrote:

> I will play with ulimit (was 1024 :( ) first and wait until bots will
> wake up again :)
> May be it's possible to increase the limits by policyd instead of shell?..
>
> Cami Sardinha ?????:
>> Artem Bokhan wrote:
>>
>>> I'll try to change ulimit and possible MAXFD.
>>> But it's still bad that policyd needs to be restarted after it reaches
>>> limit.
>>>
>>
>> Artem,
>>
>> Please downgrade to v1.80 and check/test if this still occurs.
>>
>>
>> Nigel, can you dig into this further?
>>
>> -
>> r5 | nkukard | 2007-06-20 19:48:08 +0000 (Wed, 20 Jun 2007) | 3 lines
>>
>> * Better check to see if we've run out of available slots, if we have
>> emit a warning and close connection
>> -
>>
>> Cami
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> policyd-users mailing list
>> policyd-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/policyd-users
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> policyd-users mailing list
> policyd-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/policyd-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to