diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-04-11 11:08:29 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-11 11:08:53 +0400 |
commit | bf5340291badcc631bd855bb924593cd445ecd26 (patch) | |
tree | 5dc6affeeee486e10af49189199d5d06fa8ddb6c /accel-pppd/ctrl | |
parent | 918f808ecbe871f6c7ca615f296594e995b08697 (diff) | |
download | accel-ppp-bf5340291badcc631bd855bb924593cd445ecd26.tar.gz accel-ppp-bf5340291badcc631bd855bb924593cd445ecd26.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 'accel-pppd/ctrl')
0 files changed, 0 insertions, 0 deletions