Re: epoll scheduler

Alexey Andriyanov <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Hi, Vincent!

Thank you for explanation, I was not aware of snmp_select_info2.

I noticed that NetSNMP agent startup routine opens some filehandles right after start and then using them to handle queries. This means that even if keepalived opens many filehandles during its lifetime, the SNMP ones would have numbers less than 20, so the select interface would be sufficient for a typical usage.

18.08.2015 10:56, Vincent Bernat пишет:
> You seem to have gotten it right. You must have noticed that NetSNMP is
> only exporting a select() like function and therefore, things will not
> work if the SNMP file descriptors are over 1024. I think this is a fine
> limitation but with a recent version of NetSNMP, it is possible to
> workaround it with snmp_select_info2() which uses some adhoc fdset like
> structure without size limitation. Of course, this is "recent" (not
> really, but Debian-based distributions got stuck in 5.4 for a long
> time), so you have to support both.

-- 
Best regards,
Alexey 

------------------------------------------------------------------------------
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.