enabling snmp freezes accel-ppd after sometimes

Questions related to general functionality
Post Reply
hashbang
Posts: 91
Joined: 12 Jul 2015, 10:28

enabling snmp freezes accel-ppd after sometimes

Post by hashbang » 12 Dec 2020, 10:56

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

hashbang
Posts: 91
Joined: 12 Jul 2015, 10:28

Re: enabling snmp freezes accel-ppd after sometimes

Post by hashbang » 14 Dec 2020, 12:50

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

dimka88
Posts: 776
Joined: 13 Oct 2014, 05:51
Contact:

Re: enabling snmp freezes accel-ppd after sometimes

Post by dimka88 » 14 Dec 2020, 15:52

Hello @hashbang, did you try to enable [ppp]unit-cache=n?

hashbang
Posts: 91
Joined: 12 Jul 2015, 10:28

Re: enabling snmp freezes accel-ppd after sometimes

Post by hashbang » 15 Dec 2020, 05:59

ty,
yes its already done.

thanks and regards

hashbang
Posts: 91
Joined: 12 Jul 2015, 10:28

Re: enabling snmp freezes accel-ppd after sometimes

Post by hashbang » 16 Dec 2020, 05:16

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests