High CPU/Flash usage issue when pppoe-client over vlan

Please take pity on me as I’ve been troubleshooting an issue for 2 days straight. I’ve stripped every possible configuration out of my Mikrotik to narrow down the problem as much as I can.

When pppoe-client runs over ethernet interface, everything works just fine. Unfortunately, when pppoe-client runs over a vlan interface, the mikrotik experiences the following issues whenever there is significant load (>3mbit) on the pppoe-client interface:

  • CPU load spikes to 100%
    Flash usage spikes to 60 %
    Mikrotik continues to respond to icmp pings
    Winbox, web, stop responding until traffic is removed
    Mikrotik eventually locks up/hang if traffic doesn’t stop

I’ve tested this on an RB750G, versions 6.0rc7, 5.19, 5.20, 5.21 and 5.22 all experience the same issue. Only ppp and system packages are installed. Every possible configuration is default/removed. My complete (yes, this is everything) config is:
/interface vlan
add interface=ether5 l2mtu=1516 name=vlan8-mgmt vlan-id=8
/interface pppoe-client
add add-default-route=yes disabled=no interface=vlan8-mgmt name=pppoe password=pass use-peer-dns=yes user=user
/ppp profile
set 0 use-mpls=no
/system logging action
set 0 memory-lines=1000
/interface ethernet switch port
set 4 vlan-header=add-if-missing vlan-mode=secure
/interface ethernet switch vlan
add ports=ether5 switch=switch1 vlan-id=8
/interface l2tp-server server
set max-mru=1450 max-mtu=1450
/interface pptp-server server
set max-mru=1450 max-mtu=1450
/ip address
add address=206.248.140.72/28 interface=ether1 network=206.248.140.64
add address=10.129.0.1/24 interface=ether3 network=10.129.0.0
add address=192.168.88.1/24 interface=vlan8-mgmt network=192.168.88.0
/system logging
addAfter enabling full logging to memory, I’ve noticed the following in the log shortly after high traffic on the pppoe-client:

00:23:50 system,info log rule changed by admin 
00:25:14 store,debug web-proxy1: disk setup finished successfully 
00:25:14 store,debug activating store for web-proxy1 
00:25:14 store,debug web-proxy1: activation finished successfully

What the hell is web-proxy1 doing? It should be disabled!

[admin@MikroTik] /ip proxy> print
                 enabled: no
             src-address: 0.0.0.0
                    port: 8080
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
     cache-administrator: webmaster
          max-cache-size: unlimited
           cache-on-disk: no
  max-client-connections: 600
  max-server-connections: 600
          max-fresh-time: 3d
   serialize-connections: no
       always-from-cache: no
          cache-hit-dscp: 4

Any assistance in resolving this issue would be greatly appreciated.

My support ticket is 2013012666000249
profile-cap.png

v6 is still quite buggy. Donmt use this in Production. Just to test, and find errors like this.

tl;dr?

this bug exists in 5.19 through 5.22, and likely prior versions as well.

i have pppoe running to vlans, and dont se this problem.

maybe somthig to do With vlan Interface to switch, not bridge when running pppoe. Tried to use bridge insted of switch?

It has to be a bug with the Atheros 8316. Tried, vlan > bridge > pppoeclient. Same result. Tried lower MTU, same result. Seems to work ok with the Atheros 7240, but CPU isn’t fast enough to handle my load.

If I remove the vlan, and rearrange my vlans so pppoe comes in on the ethernet interface untagged, it works just fine. But I need to get vlans working as i have multiple pppoe clients to support.

Annoyingly, I can’t create a supout during the issue. The mikrotik crashes and never finishes creating it.

It seems like the same thing happening, as if U enable vrf in the v6rcx.

Have you tried pppoe at x86?