diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-04-11 11:08:29 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-14 17:08:39 +0400 |
commit | f2774e5a02d29de71eb64a64565b23090b6f6c5e (patch) | |
tree | 716324d581411f36018fe94b933a18c3813d0a5f /rfc | |
parent | 0d5e6d03c74f3ab6b83d2333480b2441df9a6522 (diff) | |
download | accel-ppp-f2774e5a02d29de71eb64a64565b23090b6f6c5e.tar.gz accel-ppp-f2774e5a02d29de71eb64a64565b23090b6f6c5e.zip |
net-snmp: run snmp in "special" thread
NET-SNMP is built on top of stale file descriptor multiplexing mechanism (select)
which prevents to use descriptors with number >= 1024.
Due to accel-ppp uses a lots of descriptors NET-SNMP easy overflows this limit and fails
and even may crash whole accel-ppp process.
This patch runs snmp in special thread which does not share file descritor table
with main process, so it can use less descriptors and live in __FD_SETSIZE limit.
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Diffstat (limited to 'rfc')
0 files changed, 0 insertions, 0 deletions