Sysctl - death sysctl services

Bug reports
Post Reply
standula
Posts: 5
Joined: 25 Mar 2020, 12:39

Sysctl - death sysctl services

Post by standula » 28 Apr 2020, 05:57

Hi
i am exploring accel-ppp for pppoe and i see to many services for deleted ppp connections in systemctl.
It look like this :

sys-devices-virtual-net-ppp1047.device loaded active plugged /sys/devices/virtual/net/ppp1047
sys-devices-virtual-net-ppp1048.device loaded active plugged /sys/devices/virtual/net/ppp1048
sys-devices-virtual-net-ppp1049.device loaded active plugged /sys/devices/virtual/net/ppp1049
sys-devices-virtual-net-ppp105.device loaded active plugged /sys/devices/virtual/net/ppp105
sys-devices-virtual-net-ppp1050.device loaded active plugged /sys/devices/virtual/net/ppp1050
sys-devices-virtual-net-ppp1051.device loaded active plugged /sys/devices/virtual/net/ppp1051
sys-devices-virtual-net-ppp1052.device loaded active plugged /sys/devices/virtual/net/ppp1052
sys-devices-virtual-net-ppp1053.device loaded active plugged /sys/devices/virtual/net/ppp1053
sys-devices-virtual-net-ppp1054.device loaded active plugged /sys/devices/virtual/net/ppp1054
sys-devices-virtual-net-ppp1055.device loaded active plugged /sys/devices/virtual/net/ppp1055
sys-devices-virtual-net-ppp1056.device loaded active plugged /sys/devices/virtual/net/ppp1056
sys-devices-virtual-net-ppp1057.device loaded active plugged /sys/devices/virtual/net/ppp1057
sys-devices-virtual-net-ppp1058.device loaded active plugged /sys/devices/virtual/net/ppp1058
sys-devices-virtual-net-ppp1059.device loaded active plugged /sys/devices/virtual/net/ppp1059
sys-devices-virtual-net-ppp106.device loaded active plugged /sys/devices/virtual/net/ppp106
sys-devices-virtual-net-ppp1060.device loaded active plugged /sys/devices/virtual/net/ppp1060
sys-devices-virtual-net-ppp1061.device loaded active plugged /sys/devices/virtual/net/ppp1061
sys-devices-virtual-net-ppp1062.device loaded active plugged /sys/devices/virtual/net/ppp1062
sys-devices-virtual-net-ppp1063.device loaded active plugged /sys/devices/virtual/net/ppp1063
sys-devices-virtual-net-ppp1064.device loaded active plugged /sys/devices/virtual/net/ppp1064
sys-devices-virtual-net-ppp1065.device loaded active plugged /sys/devices/virtual/net/ppp1065
sys-devices-virtual-net-ppp1066.device loaded active plugged /sys/devices/virtual/net/ppp1066
sys-devices-virtual-net-ppp1067.device loaded active plugged /sys/devices/virtual/net/ppp1067

But at this moment there is no active connections and /sys/devices/virtual/net/ is without any ppp* items.

Best regards,
SL

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

Re: Sysctl - death sysctl services

Post by dimka88 » 28 Apr 2020, 06:24

Hi, which distributive running?

standula
Posts: 5
Joined: 25 Mar 2020, 12:39

Re: Sysctl - death sysctl services

Post by standula » 28 Apr 2020, 06:49

root@lab-pc1:/usr/lib/systemd# uname -a
Linux lab-pc1 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux

Accelppp - is last version from github.

This is in my lab when i am testing vpls + pppoe. I suspect that this situation may occurs when communication between server and client is broken - for misconfiguration in this case. For this situation client send permanently requests and pppoe server made a new iface for each but client didn`t receive response from server.
This is only my consideration.

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

Re: Sysctl - death sysctl services

Post by dimka88 » 29 Apr 2020, 11:51

Will be nice to see your network map and configuration for reproducing this issue

standula
Posts: 5
Joined: 25 Mar 2020, 12:39

Re: Sysctl - death sysctl services

Post by standula » 30 Apr 2020, 08:38

Hi, i am working on this error reproduction. Right now a remove test cpe device with pppoe client and his connection on pppoe server is still up and pppoe interface is registred. Client is gone

root@lab-pc1:~# accel-cmd -H localhost -p 10001
show sessions
ifname | username | calling-sid | ip | type | comp | state | uptime
--------+----------------------------+-------------------+----------+-------+------+--------+------------
pppoe0 | chlum@pppoe_wifi| 00:0c:42:6e:28:79 | 10.0.8.2 | pppoe | | active | 1.23:55:45

ip a

1668: pppoe0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1480 qdisc pfifo_fast state UNKNOWN group default qlen 3
link/ppp
inet 10.0.8.1 peer 10.0.8.2/32 scope global pppoe0
valid_lft forever preferred_lft forever

standula
Posts: 5
Joined: 25 Mar 2020, 12:39

Re: Sysctl - death sysctl services

Post by standula » 30 Apr 2020, 10:12

Hi, i am not able to simulate this problem again at this moment.
I can provide only the syslog messages .
This situation is for one user account on one pppoe_client
After 6 hours, server has about 1500 pppoe interfaces for one account.

Daemon.log
Apr 16 14:04:12 lab-pc1 systemd-udevd[27854]: Could not set offload features of ppp316: No such device
Apr 16 14:04:37 lab-pc1 systemd-udevd[27865]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:04:37 lab-pc1 systemd-udevd[27865]: ethtool: could not get ethtool features for ppp317
Apr 16 14:04:37 lab-pc1 systemd-udevd[27865]: Could not set offload features of ppp317: No such device
Apr 16 14:05:42 lab-pc1 systemd-udevd[27875]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:05:42 lab-pc1 systemd-udevd[27875]: ethtool: could not get ethtool features for ppp318
Apr 16 14:05:42 lab-pc1 systemd-udevd[27875]: Could not set offload features of ppp318: No such device
Apr 16 14:06:02 lab-pc1 systemd-udevd[27885]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:06:45 lab-pc1 systemd-udevd[27891]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:06:55 lab-pc1 systemd-udevd[27897]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:07:05 lab-pc1 systemd-udevd[27903]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:07:21 lab-pc1 systemd-udevd[27909]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:09:08 lab-pc1 systemd-udevd[27916]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:09:08 lab-pc1 systemd-udevd[27916]: ethtool: could not get ethtool features for ppp324
Apr 16 14:09:08 lab-pc1 systemd-udevd[27916]: Could not set offload features of ppp324: No such device
Apr 16 14:09:27 lab-pc1 systemd-udevd[27926]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:09:27 lab-pc1 systemd-udevd[27926]: ethtool: could not get ethtool features for ppp325
Apr 16 14:09:27 lab-pc1 systemd-udevd[27926]: Could not set offload features of ppp325: No such device
Apr 16 14:09:48 lab-pc1 systemd-udevd[27936]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:09:48 lab-pc1 systemd-udevd[27936]: ethtool: could not get ethtool features for ppp326
Apr 16 14:09:48 lab-pc1 systemd-udevd[27936]: Could not set offload features of ppp326: No such device
Apr 16 14:10:13 lab-pc1 systemd-udevd[27946]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 16 14:10:14 lab-pc1 systemd-udevd[27946]: ethtool: could not get ethtool features for ppp327
Apr 16 14:10:14 lab-pc1 systemd-udevd[27946]: Could not set offload features of ppp327: No such device

messages.log

Apr 16 13:48:13 lab-pc1 kernel: [1891500.033462] pppoe249: renamed from ppp289
Apr 16 13:48:39 lab-pc1 kernel: [1891525.165399] pppoe250: renamed from ppp290
Apr 16 13:49:04 lab-pc1 kernel: [1891550.321439] pppoe251: renamed from ppp291
Apr 16 13:49:29 lab-pc1 kernel: [1891575.523293] pppoe252: renamed from ppp292
Apr 16 13:49:54 lab-pc1 kernel: [1891600.727644] pppoe253: renamed from ppp293
Apr 16 13:50:19 lab-pc1 kernel: [1891625.913778] pppoe254: renamed from ppp294
Apr 16 13:51:10 lab-pc1 kernel: [1891676.197161] pppoe255: renamed from ppp295
Apr 16 13:51:35 lab-pc1 kernel: [1891701.493922] pppoe256: renamed from ppp296
Apr 16 13:52:25 lab-pc1 kernel: [1891751.685171] pppoe257: renamed from ppp297
Apr 16 13:52:50 lab-pc1 kernel: [1891777.044804] pppoe258: renamed from ppp298
Apr 16 13:53:16 lab-pc1 kernel: [1891802.230104] pppoe259: renamed from ppp299
Apr 16 13:54:09 lab-pc1 kernel: [1891855.480270] pppoe260: renamed from ppp300
Apr 16 13:54:34 lab-pc1 kernel: [1891880.638854] pppoe261: renamed from ppp301
Apr 16 13:55:40 lab-pc1 kernel: [1891946.720814] pppoe262: renamed from ppp302
Apr 16 13:56:05 lab-pc1 kernel: [1891971.902386] pppoe263: renamed from ppp303
Apr 16 13:56:30 lab-pc1 kernel: [1891997.075457] pppoe264: renamed from ppp304
Apr 16 13:56:56 lab-pc1 kernel: [1892022.212634] pppoe265: renamed from ppp305
Apr 16 13:57:21 lab-pc1 kernel: [1892047.423543] pppoe266: renamed from ppp306
Apr 16 13:58:14 lab-pc1 kernel: [1892100.612734] pppoe267: renamed from ppp307
Apr 16 13:58:39 lab-pc1 kernel: [1892125.734147] pppoe268: renamed from ppp308
Apr 16 13:59:46 lab-pc1 kernel: [1892192.983151] pppoe269: renamed from ppp309
Apr 16 14:00:06 lab-pc1 kernel: [1892213.093634] pppoe270: renamed from ppp310
Apr 16 14:01:22 lab-pc1 kernel: [1892288.552823] pppoe271: renamed from ppp311
Apr 16 14:02:35 lab-pc1 kernel: [1892361.289414] pppoe272: renamed from ppp313
Apr 16 14:02:56 lab-pc1 kernel: [1892382.984317] pppoe273: renamed from ppp314
Apr 16 14:03:47 lab-pc1 kernel: [1892433.363425] pppoe274: renamed from ppp315
Apr 16 14:04:12 lab-pc1 kernel: [1892458.531662] pppoe275: renamed from ppp316
Apr 16 14:04:37 lab-pc1 kernel: [1892483.664540] pppoe276: renamed from ppp317
Apr 16 14:05:42 lab-pc1 kernel: [1892548.953110] pppoe277: renamed from ppp318
Apr 16 14:06:02 lab-pc1 kernel: [1892569.086692] pppoe278: renamed from ppp319
Apr 16 14:06:45 lab-pc1 kernel: [1892611.668623] pppoe279: renamed from ppp320
Apr 16 14:06:55 lab-pc1 kernel: [1892621.954323] pppoe280: renamed from ppp321
Apr 16 14:07:05 lab-pc1 kernel: [1892632.119140] pppoe281: renamed from ppp322
Apr 16 14:07:21 lab-pc1 kernel: [1892647.302671] pppoe282: renamed from ppp323
Apr 16 14:09:08 lab-pc1 kernel: [1892755.038662] pppoe283: renamed from ppp324
Apr 16 14:09:27 lab-pc1 kernel: [1892773.331902] pppoe284: renamed from ppp325
Apr 16 14:09:48 lab-pc1 kernel: [1892794.997317] pppoe285: renamed from ppp326
Apr 16 14:10:13 lab-pc1 kernel: [1892820.126018] pppoe286: renamed from ppp327
Apr 16 14:10:39 lab-pc1 kernel: [1892845.221762] pppoe287: renamed from ppp328
Apr 16 14:11:04 lab-pc1 kernel: [1892870.351898] pppoe288: renamed from ppp329
Apr 16 14:11:29 lab-pc1 kernel: [1892895.484292] pppoe289: renamed from ppp330
Apr 16 14:11:54 lab-pc1 kernel: [1892920.637349] pppoe290: renamed from ppp331
Apr 16 14:12:19 lab-pc1 kernel: [1892945.779278] pppoe291: renamed from ppp332
Apr 16 14:13:25 lab-pc1 kernel: [1893012.040241] pppoe292: renamed from ppp333
Apr 16 14:13:51 lab-pc1 kernel: [1893037.207845] pppoe293: renamed from ppp334
Apr 16 14:14:16 lab-pc1 kernel: [1893062.405786] pppoe294: renamed from ppp335
Apr 16 14:15:46 lab-pc1 kernel: [1893152.980414] pppoe295: renamed from ppp337
Apr 16 14:18:24 lab-pc1 kernel: [1893310.702093] pppoe296: renamed from ppp339
Apr 16 14:18:49 lab-pc1 kernel: [1893335.884176] pppoe297: renamed from ppp340
Apr 16 14:19:14 lab-pc1 kernel: [1893361.076245] pppoe298: renamed from ppp341
Apr 16 14:20:22 lab-pc1 kernel: [1893428.510575] pppoe299: renamed from ppp342
Apr 16 14:20:47 lab-pc1 kernel: [1893453.657392] pppoe300: renamed from ppp343
Apr 16 14:21:12 lab-pc1 kernel: [1893478.847078] pppoe301: renamed from ppp344
Apr 16 14:21:35 lab-pc1 kernel: [1893501.994806] pppoe302: renamed from ppp345


unfortunately accel logs has been deleted.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests