Problem with 2.0-RELEASE (amd64), 100% CPU



  • Hi,

    A few weeks ago, I installed pfsense v2.0-RC1 and upgraded to new versions.

    Actually, I use 2.0-RELEASE (amd64). This software is installed on a VMware with 6 CPU and 4 Gb RAM.

    Today, all processor where used at 100% of process and I had to restart the server.

    It's the first time I've this problem but I don't know how I can fix this problem.

    Many thanks to help me, I'm lost :-(

    Christophe

    A screenshot :



  • you should take a look at "DIAGNOSTICS -> SYSTEM ACTIVITY" and tell us which processes are using all the CPU power.



  • Hi,

    Thanks for your help.

    But at this time, I couldn't connect to the firewall.

    Actually, here's what I could see :

    
    last pid: 15272;  load averages:  0.30,  0.06,  0.02  up 0+03:50:36    19:59:13
    104 processes: 7 running, 77 sleeping, 20 waiting
    
    Mem: 90M Active, 18M Inact, 109M Wired, 1072K Cache, 54M Buf, 3708M Free
    Swap: 2048M Total, 2048M Free
    
      PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
       11 root     171 ki31     0K    96K CPU5    5 228:09 100.00% {idle: cpu5}
       11 root     171 ki31     0K    96K CPU3    3 228:08 100.00% {idle: cpu3}
       11 root     171 ki31     0K    96K CPU4    4 227:58 100.00% {idle: cpu4}
       11 root     171 ki31     0K    96K CPU2    2 227:38 100.00% {idle: cpu2}
       11 root     171 ki31     0K    96K CPU1    1 226:45 100.00% {idle: cpu1}
       11 root     171 ki31     0K    96K RUN     0 226:06 100.00% {idle: cpu0}
       12 root     -44    -     0K   320K WAIT    1   1:07  0.00% {swi1: netisr 0}
        0 root      46    0     0K   128K sched   1   0:46  0.00% {swapper}
        0 root     -68    0     0K   128K -       4   0:39  0.00% {em0 taskq}
       12 root     -32    -     0K   320K WAIT    0   0:37  0.00% {swi4: clock}
        0 root     -68    0     0K   128K -       5   0:32  0.00% {em1 taskq}
    31370 root      76    0   104M 26408K accept  0   0:08  0.00% php
    31482 root      76    0   104M 25992K accept  2   0:07  0.00% php
    31059 root      61    0   104M 28996K piperd  2   0:06  0.00% php
    24698 root      44    0 25768K  5872K kqread  1   0:06  0.00% lighttpd
    28972 root      48    0   102M 20744K accept  0   0:05  0.00% php
    28377 root      44    0   102M 20420K accept  0   0:05  0.00% php
    48396 root      76   20  8292K  1700K wait    0   0:05  0.00% sh
    
    

    Thanks for your help.

    Christophe



  • All CPU are idle. Thats ok.

    Can you connect to your pfsense box using ssh when there is such a high CPU load ?

    If yes, than connect to your box and type "top" in the console and then you can see which process is using so much CPU power.

    But what were you doing when you get this high CPU usage ?
    Are you using any packages ?



  • Hi,

    Thanks for your feedback.

    I didn't think to try to connect with ssh. I tried to connect to the VPN but it was not possible.

    When the problem occured, nothing special. I looked at Cacti but the trafic was very quiet.

    It's very strange because this load was very fast (sorry for my poor English).

    No other packages installed.


Locked