Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    [RESOLU] - 100% de CPU utilisé - [idle{idle: cpu0}]

    Scheduled Pinned Locked Moved Français
    1 Posts 1 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sallain
      last edited by

      [RESOLU]

      ^Excactly. What your are seeing is the system idle process, one for each core/CPU. When the core is doing nothing at all that uses the spare cycles. This is the expected behaviour.

      https://forum.pfsense.org/index.php?topic=66695.msg364317#msg364317

      [/RESOLU]

      Bonjour,

      Sur une pfSense récente, un processus mange du CPU…

      2.1-RELEASE (amd64)
      built on Wed Sep 11 18:17:48 EDT 2013
      FreeBSD 8.3-RELEASE-p11

      Avez vous constaté ce même type d'activité ?

      Vue Diagnostics / System Activity

      last pid: 73292;  load averages:  0.24,  0.18,  0.12  up 3+22:32:03    11:48:46
      140 processes: 6 running, 118 sleeping, 16 waiting
      
      Mem: 177M Active, 43M Inact, 209M Wired, 300K Cache, 147M Buf, 3487M Free
      Swap: 8192M Total, 8192M Free
      
        PID USERNAME    PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
         10 root        171 ki31     0K    32K RUN     0  91.3H 94.97% [idle{idle: cpu0}]
         10 root        171 ki31     0K    32K RUN     1  91.6H 90.97% [idle{idle: cpu1}]
      70945 root         67   20   178M   115M bpf     1  11:24  3.96% /usr/local/bin/ntop -i em1,em0 -u root -
      70945 root         66   20   178M   115M CPU1    1  10:50  3.96% /usr/local/bin/ntop -i em1,em0 -u root -
          0 root        -68    0     0K   272K -       0  36:31  2.98% [kernel{em1 que}]
          0 root        -68    0     0K   272K -       0  34:15  1.95% [kernel{em0 que}]
      75932 root         53    0   142M 43440K piperd  0   0:16  0.98% /usr/local/bin/php{php}
        255 root         76   20  6908K  1388K kqread  0  29:16  0.00% /usr/local/sbin/check_reload_status
         11 root        -32    -     0K   272K RUN     0   5:00  0.00% [intr{swi4: clock}]
         13 root        -16    -     0K    16K -       0   3:12  0.00% [yarrow]
          0 root        -68    0     0K   272K -       0   2:34  0.00% [kernel{em2 que}]
      56420 nobody       44    0 10100K  3192K select  1   2:19  0.00% /usr/local/sbin/dnsmasq --all-servers --
      77781 root         76   20  8296K  1876K wait    0   1:30  0.00% /bin/sh /var/db/rrd/updaterrd.sh
      23584 root         44    0 15536K  7384K select  0   1:12  0.00% /usr/local/sbin/openvpn --config /var/et
      30128 root         44    0  5780K  1464K select  1   1:09  0.00% /usr/local/sbin/apinger -c /var/etc/apin
         19 root         20    -     0K    16K syncer  0   1:07  0.00% [syncer]
      51626 root         44    0 28316K  8292K kqread  0   1:06  0.00% /usr/local/sbin/lighttpd -f /var/etc/lig
      70945 root         64   20   178M   115M nanslp  0   1:02  0.00% /usr/local/bin/ntop -i em1,em0 -u root -
      

      #top -S -H

      last pid: 19790;  load averages:  0.08,  0.15,  0.13                                                                                                           up 3+22:39:50  11:56:33
      142 processes: 4 running, 121 sleeping, 17 waiting
      CPU:  0.2% user,  5.6% nice,  3.0% system,  0.0% interrupt, 91.2% idle
      Mem: 179M Active, 43M Inact, 209M Wired, 296K Cache, 147M Buf, 3485M Free
      Swap: 8192M Total, 8192M Free
      
        PID USERNAME    PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
      [b]   10 root        171 ki31     0K    32K CPU1    1  91.7H 94.97% idle{idle: cpu1}
         10 root        171 ki31     0K    32K RUN     0  91.4H 87.99% idle{idle: cpu0}[/b]
      70945 root         67   20   178M   113M bpf     0  11:43  3.96% ntop{ntop}
      70945 root         67   20   178M   113M bpf     1  11:09  3.96% ntop{ntop}
          0 root        -68    0     0K   272K RUN     0  34:27  2.98% kernel{em0 que}
          0 root        -68    0     0K   272K -       0  36:42  1.95% kernel{em1 que}
        255 root         76   20  6908K  1388K kqread  0  29:16  0.00% check_reload_status
         11 root        -32    -     0K   272K WAIT    1   5:01  0.00% intr{swi4: clock}
         13 root        -16    -     0K    16K -       1   3:13  0.00% yarrow
      

      Vue plus détaillée :

      [2.1-RELEASE][root@pfsensemaster.domain]/root(3): ps uxawww
      USER     PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
      root      10 199.0  0.0     0    32  ??  RL   Mon01PM 10963:27.78 [idle]
      root       0  2.9  0.0     0   272  ??  DLs  Mon01PM  73:07.69 [kernel]
      root   70945  2.0  2.7 182324 114280  ??  SNs   4:15PM  24:04.73 /usr/local/bin/ntop -i em1,em0 -u root -d -4 -M -x 8102 -X 8192
      root   75932  1.0  1.0 145832 43440  ??  S    10:27AM   0:12.34 /usr/local/bin/php
      root       1  0.0  0.0  3200   584  ??  ILs  Mon01PM   0:00.07 /sbin/init --
      root       2  0.0  0.0     0    16  ??  DL   Mon01PM   0:03.80 [g_event]
      root       3  0.0  0.0     0    16  ??  DL   Mon01PM   1:01.95 [g_up]
      root       4  0.0  0.0     0    16  ??  DL   Mon01PM   0:32.62 [g_down]
      root       5  0.0  0.0     0    16  ??  DL   Mon01PM   0:00.00 [crypto]
      root       6  0.0  0.0     0    16  ??  DL   Mon01PM   0:00.00 [crypto returns]
      root       7  0.0  0.0     0    16  ??  DL   Mon01PM   0:29.79 [pfpurge]
      root       8  0.0  0.0     0    16  ??  DL   Mon01PM   0:00.00 [xpt_thrd]
      root       9  0.0  0.0     0    16  ??  DL   Mon01PM   0:00.32 [pagedaemon]
      root      11  0.0  0.0     0   272  ??  WL   Mon01PM   6:32.54 [intr]
      root      12  0.0  0.0     0    32  ??  DL   Mon01PM   0:00.00 [ng_queue]
      root      13  0.0  0.0     0    16  ??  DL   Mon01PM   3:11.80 [yarrow]
      root      14  0.0  0.0     0   448  ??  DL   Mon01PM   0:10.53 [usb]
      root      15  0.0  0.0     0    16  ??  DL   Mon01PM   0:00.00 [vmdaemon]
      root      16  0.0  0.0     0    16  ??  DL   Mon01PM   0:00.00 [pagezero]
      root      17  0.0  0.0     0    16  ??  DL   Mon01PM   0:00.45 [idlepoll]
      root      18  0.0  0.0     0    16  ??  DL   Mon01PM   0:01.42 [bufdaemon]
      root      19  0.0  0.0     0    16  ??  DL   Mon01PM   1:06.80 [syncer]
      root      20  0.0  0.0     0    16  ??  DL   Mon01PM   0:01.62 [vnlru]
      root      21  0.0  0.0     0    16  ??  DL   Mon01PM   0:02.02 [softdepflush]
      root      33  0.0  0.0     0    32  ??  DL   Mon01PM   0:04.55 [zfskern]
      root      64  0.0  0.0     0    16  ??  DL   Mon01PM   0:02.75 [md0]
      root     255  0.0  0.0  6908  1388  ??  INs  Mon01PM  29:16.08 /usr/local/sbin/check_reload_status
      root     260  0.0  0.0  6908  1284  ??  IN   Mon01PM   0:00.00 check_reload_status: Monitoring daemon of check_reload_status
      root     266  0.0  0.1  5248  3104  ??  Is   Mon01PM   0:00.07 /sbin/devd
      root    9971  0.0  0.1 15268  3492  ??  Is   Mon01PM   0:00.00 /usr/sbin/sshd
      root   10146  0.0  0.0  7036  1320  ??  Is   Mon01PM   0:00.02 /usr/local/sbin/sshlockout_pf 15
      root   12823  0.0  0.1 26168  4188  ??  Ss   11:43AM   0:00.06 sshd: root@pts/0 (sshd)
      root   18658  0.0  0.0  5784  1188  ??  Is   Mon01PM   0:00.00 /usr/local/bin/minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
      root   18960  0.0  0.0  5784  1236  ??  I    Mon01PM   0:00.33 minicron: helper /usr/local/bin/ping_hosts.sh  (minicron)
      root   19233  0.0  0.0  5784  1188  ??  Is   Mon01PM   0:00.00 /usr/local/bin/minicron 3600 /var/run/expire_accounts.pid /etc/rc.expireaccounts
      root   19553  0.0  0.0  5784  1236  ??  I    Mon01PM   0:00.02 minicron: helper /etc/rc.expireaccounts  (minicron)
      root   19592  0.0  0.0  5784  1188  ??  Is   Mon01PM   0:00.00 /usr/local/bin/minicron 86400 /var/run/update_alias_url_data.pid /etc/rc.update_alias_url_data
      root   19627  0.0  0.1 15536  5632  ??  Ss   Mon01PM   0:06.45 /usr/local/sbin/openvpn --config /var/etc/openvpn/server1.conf
      root   20171  0.0  0.0  5784  1236  ??  I    Mon01PM   0:00.00 minicron: helper /etc/rc.update_alias_url_data  (minicron)
      root   22641  0.0  0.0  7036  1392  ??  Is   Mon01PM   0:00.02 /usr/local/sbin/sshlockout_pf 15
      root   23584  0.0  0.2 15536  7384  ??  Ss   Mon01PM   1:12.08 /usr/local/sbin/openvpn --config /var/etc/openvpn/server3.conf
      root   23810  0.0  0.0  8984  1552  ??  Is   Mon01PM   0:00.02 /usr/sbin/inetd -wW -R 0 -a 127.0.0.1 /var/etc/inetd.conf
      root   25053  0.0  0.1 13488  5440  ??  Ss    4:15PM   0:00.78 /usr/local/sbin/openvpn --config /var/etc/openvpn/server2.conf
      root   30128  0.0  0.0  5780  1464  ??  Ss   Mon01PM   1:09.33 /usr/local/sbin/apinger -c /var/etc/apinger.conf
      root   30337  0.0  0.0 14384  2008  ??  S    Mon01PM   0:02.54 /usr/local/bin/rrdtool -
      root   38128  0.0  0.0  2716   972  ??  IN   11:43AM   0:00.00 sleep 60
      root   39940  0.0  0.1 11748  3404  ??  S    10:15AM   0:00.70 /usr/sbin/tcpdump -s 256 -v -S -l -n -e -ttt -i pflog0
      root   39943  0.0  0.0  5780  1152  ??  S    10:15AM   0:00.85 logger -t pf -p local0.info
      root   41310  0.0  0.0  6956  1660  ??  Ss    7:53PM   0:37.39 /usr/sbin/syslogd -s -c -c -l /var/dhcpd/var/run/log -f /var/etc/syslog.conf
      root   48538  0.0  0.2 15264  7164  ??  SNs   4:15PM   0:05.65 /usr/local/bin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid
      root   51626  0.0  0.2 28316  8292  ??  S    Mon01PM   1:06.03 /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf
      root   52331  0.0  0.5 139048 21692  ??  Is   Mon01PM   0:00.20 /usr/local/bin/php
      root   55141  0.0  0.5 139048 21692  ??  Is   Mon01PM   0:00.24 /usr/local/bin/php
      nobody 56420  0.0  0.1 10100  3192  ??  S    Mon01PM   2:18.38 /usr/local/sbin/dnsmasq --all-servers --rebind-localhost-ok --stop-dns-rebind --dns-forward-max=5000 --cache-size=10000 --local-ttl=1
      root   67406  0.0  0.0  7928  1612  ??  INs   4:15PM   0:00.10 /usr/sbin/cron -s
      root   76498  0.0  0.0  7036  1396  ??  Is    9:33AM   0:00.01 /usr/local/sbin/sshlockout_pf 15
      root   83993  0.0  0.1 16776  4692  ??  Ss    6:17PM   0:00.59 /usr/local/sbin/racoon -f /var/etc/ipsec/racoon.conf
      root   89154  0.0  0.9 143144 38940  ??  I     3:43PM   0:18.49 /usr/local/bin/php
      root   22381  0.0  0.0 19480  1844  u0  Is   Mon01PM   0:00.02 login [pam] (login)
      root   22798  0.0  0.0  8296  1804  u0  I    Mon01PM   0:00.01 -sh (sh)
      root   24540  0.0  0.0  8296  1804  u0  I+   Mon01PM   0:00.06 /bin/sh /etc/rc.initial
      root   77781  0.0  0.0  8296  1876  u0- IN   Mon01PM   1:29.60 /bin/sh /var/db/rrd/updaterrd.sh
      root   38245  0.0  0.0  8296  1852   0  Is   11:43AM   0:00.01 -sh (sh)
      root   38978  0.0  0.0  8296  1856   0  I    11:43AM   0:00.01 /bin/sh /etc/rc.initial
      root   43427  0.0  0.1  8268  2604   0  S    11:43AM   0:00.02 /bin/tcsh
      root   49500  0.0  0.0  7992  1512   0  R+   11:44AM   0:00.00 ps uxawww
      
      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy