I’m running Cor 170. I created a new certificate for OpenVPN because that’s why I’m getting this error.
I had no problems with the old certificate until yesterday.
Oct 18 13:43:48 famschamrouter kernel: Out of memory: Killed process 20609 (openvpn-authent) total-vm:6056616kB, anon-rss:5725164kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:11848kB oom_score_adj:0
The problem keeps recurring, this process (openvpn-authent) fills up the memory until it is full. This process occurs periodically every night or after a new certificate is created. Other processes are then terminated (qemu). I have now deleted the certificates and deactivated OpenVPN, since then the problem has not occurred again.
to rule out a bug in OpenVPN < 2.5.7, may I ask you to install the latest Core Update 171, reboot your IPFire machine, and test whether the latest OpenVPN version makes a difference?
I created a new certificate for openVPN and started openVPN. The problem doesn’t seem to exist at the moment.
On Core 170, the process (openvpn-authentic) is carried out immediately after creating a certificate, the frequency of the CPU has increased to 100% and the memory is filled.
Will continue to monitor the development, but it seems like the update will fix it.
Oct 21 01:49:21 famschamrouter kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=openvpn-authent,pid=7917,uid=0
Oct 21 01:49:21 famschamrouter kernel: Out of memory: Killed process 7917 (openvpn-authent) total-vm:8616456kB, anon-rss:6662008kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:15108kB oom_score_adj:0
I noticed that the trigger is a new contact establishment or openVPN is stopped.
MorningReconnect here:
Oct 21 01:10:00 famschamrouter ipfire: ConnSched disconnect
Oct 21 01:10:00 famschamrouter pppd[4532]: Terminating on signal 15
Oct 21 01:10:00 famschamrouter pppd[4532]: Connect time 437.5 minutes.
Oct 21 01:10:00 famschamrouter pppd[4532]: Sent 392473603 bytes, received 15497873 bytes.
Oct 21 01:10:00 famschamrouter pppd[4532]: Connection terminated.
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: event_wait : Interrupted system call (code=4)
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: /sbin/ip route del 10.80.147.0/24
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: ERROR: Linux route delete command failed: external program exited with error status: 2
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: /sbin/ip route del 10.90.147.0/24
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: ERROR: Linux route delete command failed: external program exited with error status: 2
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: Closing TUN/TAP interface
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: /sbin/ip addr del dev tun0 local 10.90.147.1 peer 10.90.147.2
Oct 21 01:10:00 famschamrouter openvpnserver[7877]: Linux ip addr del failed: external program exited with error status: 2
and here I stopped openVPN manually
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: event_wait : Interrupted system call (code=4)
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: /sbin/ip route del 10.80.147.0/24
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: ERROR: Linux route delete command failed: external program exited with error status: 2
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: /sbin/ip route del 10.90.147.0/24
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: ERROR: Linux route delete command failed: external program exited with error status: 2
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: Closing TUN/TAP interface
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: /sbin/ip addr del dev tun0 local 10.90.147.1 peer 10.90.147.2
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: Linux ip addr del failed: external program exited with error status: 2
Oct 21 02:35:49 famschamrouter openvpnserver[13717]: SIGTERM[hard,] received, process exiting
Oct 21 02:35:50 famschamrouter vnstatd[9357]: Interface "tun0" disabled.