Page 1 of 1

enabling snmp freezes accel-ppd after sometimes

Posted: 12 Dec 2020, 10:56
by hashbang
Hi,
I'd enabled snmp with net-snmpd as master agent. This was for my AAA to get online information. After enabling snmp, accel-pppd freezes and stops everything. Service is up. accel-cmd show stat command freezes, logs stops. Disabling the snmp (net-snmpd) and everything starts to work again.

thanks and regards

Re: enabling snmp freezes accel-ppd after sometimes

Posted: 14 Dec 2020, 12:50
by hashbang
Hi,
The problem seems to with many interfaces going up suddenly or total number interfaces is high to handle. Till 200+ users its ok but if the users are much higher 300 to 1k > then accel-pppd hangs.
No stats, no logs but already online users are running.
thanks and regards

Re: enabling snmp freezes accel-ppd after sometimes

Posted: 14 Dec 2020, 15:52
by dimka88
Hello @hashbang, did you try to enable [ppp]unit-cache=n?

Re: enabling snmp freezes accel-ppd after sometimes

Posted: 15 Dec 2020, 05:59
by hashbang
ty,
yes its already done.

thanks and regards

Re: enabling snmp freezes accel-ppd after sometimes

Posted: 16 Dec 2020, 05:16
by hashbang
Hi,
Finally testing on 2 distro I found snmp freezes accel-ppp. Its neither dead or alive. I tested on fedora 33 on net-snmp 5.9 on which you can limit the number of interfacess (just limit to 1 int). I was running in master=0. Trying master=1 but getting

(Config search path: /etc/snmp:/usr/share/snmp:/usr/lib64/snmp)
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the accel-ppp.conf file for this agent.
snmp is configured with rocommunity and address
master=1
#agent-name=accel-ppp
rocommunity snmpcommunity localhost
cannot walk

its listening on port 161 but no application attached to it :

udp 0 0 0.0.0.0:161 0.0.0.0:* -
please give the info how to run in master mode
thanks and regards