Openvpn status 9. 10 13 prior to restart openvpn:
OpenVPN 2.3.2 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Jun  3 2013
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
Compile time defines: enable_crypto=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_eurephia=yes enable_fast_install=yes enable_fragment=yes enable_http_proxy=yes enable_iproute2=yes enable_libtool_lock=yes enable_lzo=yes enable_lzo_stub=no enable_management=yes enable_multi=yes enable_multihome=yes enable_pam_dlopen=no enable_password_save=yes enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_pthread=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_socks=yes enable_ssl=yes enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_win32_dll=yes enable_x509_alt_username=no with_crypto_library=openssl with_gnu_ld=yes with_iproute_path=/sbin/ip with_mem_check=no with_plugindir='$(libdir)/openvpn/plugins' with_sysroot=no
[root@localhost openvpn]#

top - 14:48:40 up 2 days, 27 min,  2 users,  load average: 0.09, 0.07, 0.12
Tasks:  71 total,   1 running,  70 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3%us,  4.8%sy,  0.0%ni, 94.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   7629920k total,  3109828k used,  4520092k free,    80036k buffers
Swap:        0k total,        0k used,        0k free,   176812k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3246m 2.5g 2048 S  1.0 34.8 115:09.44 openvpn
  230 root      20   0 54836 1432 1168 S  0.7  0.0   0:36.65 systemd-journal
19633 root      20   0 15236 1228  932 R  0.3  0.0   0:00.02 top
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3246m 2.5g 2036 S  1.7 34.8 112:35.39 openvpn
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
    5 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kworker/u:0
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    7 root      RT   0     0    0    0 S  0.0  0.0   0:00.58 watchdog/0
    8 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1
   10 root      20   0     0    0    0 S  0.0  0.0   0:00.02 ksoftirqd/1
   11 root      RT   0     0    0    0 S  0.0  0.0   0:00.80 watchdog/1
   12 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 cpuset
   13 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 khelper
   14 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kdevtmpfs
   15 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 netns
   16 root      20   0     0    0    0 S  0.0  0.0   0:00.00 xenwatch
   17 root      20   0     0    0    0 S  0.0  0.0   0:00.00 xenbus
   18 root      20   0     0    0    0 S  0.0  0.0   0:00.39 sync_supers
   19 root      20   0     0    0    0 S  0.0  0.0   0:00.01 bdi-default
   20 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kintegrityd
   21 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kblockd
   23 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 ata_sff
   24 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khubd
   25 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 md
   28 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0
   29 root      25   5     0    0    0 S  0.0  0.0   0:00.00 ksmd
   30 root      20   0     0    0    0 S  0.0  0.0   0:00.00 fsnotify_mark
   31 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 crypto
   37 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kthrotld
   38 root      20   0     0    0    0 S  0.0 

[root@localhost ~]# wc -l /etc/openvpn/cgwvpn/persipoff
55 /etc/openvpn/cgwvpn/persipoff
[root@localhost ~]# wc -l /etc/openvpn/cgwvpn/persipon
2955 /etc/openvpn/cgwvpn/persipon
[root@localhost ~]#

[root@localhost ~]# cat /proc/25964/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            8388608              unlimited            bytes
Max core file size        0                    unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             1024                 unlimited            processes
Max open files            655350               655350               files
Max locked memory         65536                65536                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       59302                59302                signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us
[root@localhost ~]# cat /proc/25964/status
Name:   openvpn
State:  S (sleeping)
Tgid:   25964
Pid:    25964
PPid:   1
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
Utrace: 0
FDSize: 4096
Groups: 0
VmPeak:  3324756 kB
VmSize:  3324752 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:   2652224 kB
VmRSS:   2652220 kB
VmData:  3281000 kB
VmStk:       136 kB
VmExe:       624 kB
VmLib:      5812 kB
VmPTE:      6516 kB
VmSwap:        0 kB
Threads:        1
SigQ:   0/59302
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 0000000180004a03
CapInh: 0000000000000000
CapPrm: ffffffffffffffff
CapEff: ffffffffffffffff
CapBnd: ffffffffffffffff
Cpus_allowed:   3
Cpus_allowed_list:      0-1
Mems_allowed:   00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list:      0
voluntary_ctxt_switches:        5344707
nonvoluntary_ctxt_switches:     648648
[root@localhost ~]#

[root@localhost ~]# lsof -n |wc -l
4632
[root@localhost ~]#

^C[ec2-user@localhost ~]ip -6 neigh show | grep fed0 | wc -l
2944
[ec2-user@localhost ~]$

[ec2-user@localhost ~]$ ip -6 neigh show | grep fe80 | wc -l
219
[ec2-user@localhost ~]$

[ec2-user@localhost ~]$ ip -6 neigh show | wc -l
3164
[ec2-user@localhost ~]$

17:18:
top - 15:18:05 up 2 days, 56 min,  3 users,  load average: 0.04, 0.08, 0.10
Tasks:  77 total,   1 running,  76 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3%us,  8.1%sy,  0.0%ni, 91.4%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:   7629920k total,  3116968k used,  4512952k free,    81060k buffers
Swap:        0k total,        0k used,        0k free,   177640k cached

[root@localhost openvpn]#  top
top - 15:22:20 up 2 days,  1:00,  3 users,  load average: 0.51, 0.23, 0.15
Tasks:  77 total,   1 running,  76 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.4%us, 11.8%sy,  0.0%ni, 87.6%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   7629920k total,  3118072k used,  4511848k free,    81224k buffers
Swap:        0k total,        0k used,        0k free,   178168k cached

17:22: (23'58" since last restart of Openvpn, allocated and reserved memory stable for hours)
[root@localhost openvpn]#  top
top - 15:22:20 up 2 days,  1:00,  3 users,  load average: 0.51, 0.23, 0.15
Tasks:  77 total,   1 running,  76 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.4%us, 11.8%sy,  0.0%ni, 87.6%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   7629920k total,  3118072k used,  4511848k free,    81224k buffers
Swap:        0k total,        0k used,        0k free,   178168k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3246m 2.5g 2048 S  1.7 34.8 115:38.74 openvpn
  230 root      20   0 54840 1436 1172 S  0.3  0.0   0:38.88 systemd-journal
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd

17:26:
top - 15:26:36 up 2 days,  1:05,  4 users,  load average: 0.24, 0.24, 0.17
Tasks:  80 total,   1 running,  79 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.7%us, 14.9%sy,  0.0%ni, 84.2%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   7629920k total,  3350316k used,  4279604k free,    81412k buffers
Swap:        0k total,        0k used,        0k free,   179192k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3475m 2.7g 2048 S  3.3 37.7 116:14.42 openvpn
25897 root      20   0 50104 3916 1864 S  0.3  0.1   0:48.77 openvpn
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd

17:28

[root@localhost openvpn]#  top
top - 15:28:22 up 2 days,  1:07,  4 users,  load average: 0.35, 0.26, 0.18
Tasks:  80 total,   3 running,  77 sleeping,   0 stopped,   0 zombie
Cpu(s):  5.7%us, 32.7%sy,  0.0%ni, 35.1%id,  0.0%wa, 14.5%hi,  0.1%si, 11.8%st
Mem:   7629920k total,  3440192k used,  4189728k free,    81496k buffers
Swap:        0k total,        0k used,        0k free,   179648k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3569m 2.8g 2048 R 34.9 38.9 116:27.78 openvpn
  230 root      20   0 54844 1536 1272 R  3.7  0.0   0:44.74 systemd-journal
23351 ec2-user  20   0  111m 2124 1636 S  0.3  0.0   0:00.04 bash
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
    5 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kworker/u:0

17:30

[root@localhost openvpn]#  top
top - 15:28:22 up 2 days,  1:07,  4 users,  load average: 0.35, 0.26, 0.18
Tasks:  80 total,   3 running,  77 sleeping,   0 stopped,   0 zombie
Cpu(s):  5.7%us, 32.7%sy,  0.0%ni, 35.1%id,  0.0%wa, 14.5%hi,  0.1%si, 11.8%st
Mem:   7629920k total,  3440192k used,  4189728k free,    81496k buffers
Swap:        0k total,        0k used,        0k free,   179648k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3569m 2.8g 2048 R 34.9 38.9 116:27.78 openvpn
  230 root      20   0 54844 1536 1272 R  3.7  0.0   0:44.74 systemd-journal
23351 ec2-user  20   0  111m 2124 1636 S  0.3  0.0   0:00.04 bash
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
    5 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kworker/u:0

17:32

[root@localhost openvpn]#  top
top - 15:29:56 up 2 days,  1:08,  4 users,  load average: 0.17, 0.22, 0.17
Tasks:  80 total,   1 running,  79 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.0%us, 11.9%sy,  0.0%ni, 83.7%id,  0.0%wa,  1.0%hi,  0.7%si,  1.6%st
Mem:   7629920k total,  3523340k used,  4106580k free,    81540k buffers
Swap:        0k total,        0k used,        0k free,   179944k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3647m 2.9g 2048 S  4.7 39.9 116:35.26 openvpn
  230 root      20   0 54836 1432 1168 S  2.7  0.0   0:45.86 systemd-journal
16248 root      20   0  104m  600  512 S  0.3  0.0   0:00.11 tail
24290 root      20   0 15236 1224  932 R  0.3  0.0   0:00.07 top
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0

17:35

[root@localhost openvpn]# top
top - 15:35:04 up 2 days,  1:13,  4 users,  load average: 0.41, 0.32, 0.23
Tasks:  81 total,   1 running,  80 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.6%us,  3.9%sy,  0.0%ni, 95.0%id,  0.2%wa,  0.2%hi,  0.2%si,  0.0%st
Mem:   7629920k total,  3695784k used,  3934136k free,    81732k buffers
Swap:        0k total,        0k used,        0k free,   181936k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3823m 3.1g 2048 S  2.0 42.2 117:20.38 openvpn
26253 root      20   0 15240 1232  932 R  0.3  0.0   0:00.07 top
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
    5 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kworker/u:0
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    7 root      RT   0     0    0    0 S  0.0  0.0   0:00.62 watchdog/0

17:37

[root@localhost openvpn]# top
top - 15:35:04 up 2 days,  1:13,  4 users,  load average: 0.41, 0.32, 0.23
Tasks:  81 total,   1 running,  80 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.6%us,  3.9%sy,  0.0%ni, 95.0%id,  0.2%wa,  0.2%hi,  0.2%si,  0.0%st
Mem:   7629920k total,  3695784k used,  3934136k free,    81732k buffers
Swap:        0k total,        0k used,        0k free,   181936k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3823m 3.1g 2048 S  2.0 42.2 117:20.38 openvpn
26253 root      20   0 15240 1232  932 R  0.3  0.0   0:00.07 top
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
    5 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kworker/u:0

17:40
[root@localhost openvpn]# top
top - 15:40:07 up 2 days,  1:18,  4 users,  load average: 0.27, 0.36, 0.28
Tasks:  81 total,   2 running,  79 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.6%us, 30.7%sy,  0.0%ni, 46.3%id,  0.2%wa, 13.0%hi,  0.0%si,  9.3%st
Mem:   7629920k total,  3844096k used,  3785824k free,    81900k buffers
Swap:        0k total,        0k used,        0k free,   183360k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3968m 3.2g 2048 R 60.5 44.1 118:10.98 openvpn
  230 root      20   0 54836 1532 1268 D  0.7  0.0   0:57.13 systemd-journal
28101 root      20   0 15236 1228  932 R  0.3  0.0   0:00.14 top
29066 ec2-user  20   0 15244 1240  936 S  0.3  0.0   0:00.03 top
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
17:41
[root@localhost openvpn]# top
top - 15:40:07 up 2 days,  1:18,  4 users,  load average: 0.27, 0.36, 0.28
Tasks:  81 total,   2 running,  79 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.6%us, 30.7%sy,  0.0%ni, 46.3%id,  0.2%wa, 13.0%hi,  0.0%si,  9.3%st
Mem:   7629920k total,  3844096k used,  3785824k free,    81900k buffers
Swap:        0k total,        0k used,        0k free,   183360k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25964 root      20   0 3968m 3.2g 2048 R 60.5 44.1 118:10.98 openvpn
  230 root      20   0 54836 1532 1268 D  0.7  0.0   0:57.13 systemd-journal
28101 root      20   0 15236 1228  932 R  0.3  0.0   0:00.14 top
29066 ec2-user  20   0 15244 1240  936 S  0.3  0.0   0:00.03 top
    1 root      20   0 65924  23m 2088 S  0.0  0.3   0:01.65 systemd
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
=================================================================================================

Oct  9 15:40:29 ip-10-56-61-152 openvpn[25964]: openvpn_execve: unable to fork: Cannot allocate memory (errno=12)
Oct  9 15:40:29 ip-10-56-61-152 openvpn[25964]: Exiting due to fatal error
Oct  9 15:40:29 ip-10-56-61-152 openvpn[25964]: Closing TUN/TAP interface
Oct  9 15:40:29 ip-10-56-61-152 openvpn[25964]: /usr/sbin/ip addr del dev tap1 172.16.0.1/17
Oct  9 15:40:29 ip-10-56-61-152 openvpn[25964]: openvpn_execve: unable to fork: Cannot allocate memory (errno=12)
Oct  9 15:40:29 ip-10-56-61-152 openvpn[25964]: Exiting due to fatal error