High load on open VPN



  • last pid: 26320;  load averages:  1.34,  1.37,  1.33  up 19+11:02:18    16:18:24
    129 processes: 5 running, 97 sleeping, 27 waiting
    I run pfsense 2.2.2 on a Dell 210 using BCE nics

    we are getting high load from our openVPN

    Mem: 13M Active, 117M Inact, 230M Wired, 233M Buf, 1591M Free
    Swap: 4096M Total, 4096M Free

    PID USERNAME  PRI NICE  SIZE    RES STATE  C  TIME    WCPU COMMAND
    15069 root      100    0 21732K  5544K RUN    1  27:15  90.77% /usr/local/sbin/openvpn –config /var/etc
      11 root      155 ki31    0K    32K RUN    0 225.7H  38.09% [idle{idle: cpu0}]
      11 root      155 ki31    0K    32K RUN    1 205.9H  37.26% [idle{idle: cpu1}]
      12 root      -92    -    0K  448K CPU1    1  22.5H  20.17% [intr{irq277: bce1}]
      12 root      -92    -    0K  448K WAIT    0  19.6H  15.67% [intr{irq276: bce0}]
    13593 root      23    0  224M 35648K piperd  1  0:00  0.29% php-fpm: pool lighty (php-fpm)
    78776 nobody    20    0 30260K  4500K select  0  1:04  0.20% [dnsmasq]

    The Client side is not running hot at all

    last pid: 75301;  load averages:  0.17,  0.09,  0.08  up 34+13:52:31    16:20:39
    143 processes: 3 running, 117 sleeping, 23 waiting

    Mem: 8488K Active, 89M Inact, 134M Wired, 91M Buf, 1716M Free
    Swap: 4096M Total, 4096M Free

    PID USERNAME PRI NICE  SIZE    RES STATE  C  TIME    WCPU COMMAND
      11 root    155 ki31    0K    16K RUN    1 734.3H  97.17% [idle{idle: cpu1}]
      11 root    155 ki31    0K    16K CPU0    0 741.1H  96.58% [idle{idle: cpu0}]
      12 root    -92    -    0K  184K WAIT    0 287:21  1.56% [intr{irq257: re0}]
      12 root    -56    -    0K  184K WAIT    0  19.2H  0.78% [intr{swi5: fast taskq}]
    62709 root      22    0 83724K 27532K piperd  1  0:00  0.49% php-fpm: pool lighty (php-fpm)
    92224 root      20    0 12732K  4760K select  0  48.3H  0.29% /usr/local/sbin/openvpn –config /var/etc/
      12 root    -92    -    0K  184K WAIT    0  42.6H  0.00% [intr{irq22: rl0}]
      12 root    -72    -    0K  184K WAIT    1 540:32  0.00% [intr{swi1: netisr 1}]

    Can anyone suggest a reason that this is occuring. There is no encryption on the vpn. traffic is passing ok and we are not getting packet loss, just the high CPU load on the server side.