summaryrefslogtreecommitdiff
path: root/accel-pppd/backup
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-04-11 11:08:29 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-04-11 11:08:53 +0400
commitbf5340291badcc631bd855bb924593cd445ecd26 (patch)
tree5dc6affeeee486e10af49189199d5d06fa8ddb6c /accel-pppd/backup
parent918f808ecbe871f6c7ca615f296594e995b08697 (diff)
downloadaccel-ppp-xebd-bf5340291badcc631bd855bb924593cd445ecd26.tar.gz
accel-ppp-xebd-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/backup')
0 files changed, 0 insertions, 0 deletions