OPNsense Forum
International Forums => German - Deutsch => Topic started by: monstermania on March 09, 2018, 08:51:11 am
-
Moin,
ich habe meine 32Bit OPNsense Nano vor einigen Tage von 17.7.12 auf 18.1.3 upgedatet. Das Update lief auch problemlos durch und Alles funktioniert.
Heute ist mir dann aufgefallen, dass der CPU Graph im Dashboard immer bei 100% hängt. Ich habe aber das Gefühl, das es sich um eine falsche Angabe handelt.
Das System (GUI) verhält sich gefühlt genau so schnell/langsam wie vorher unter den Vorversionen (16.7/17.1/17.7). Auch ein Check der CPU-Auswertung im Health sieht aus wie unter 17.7.
Hat sich bezüglich des CPU Graphen im Dashboard beim Update auf 18.1 was geändert?
Die CPU ist eine VIA Eden 500 MHz.
Unter (16.1/16.7/17.7) schwankte der CPU Graph im Dashboard immer zwischen 17 und 23% mit gelegentlichen kurzen Peaks auf 100%. Einzig beim Neustart von Diensten wurde dann zeitweise 100% Last angezeigt (Beim Neustart von squid wurde ca. 10 Minuten 100% Last angezeigt).
Gruß
Dirk
-
Moin,
scheint so zu sein, dass die GUI unter 18.1.x dafür verantwortlich ist.
Ich hab mich mal per Putty auf meine OPNsense geschaltet und mir per 'top -aSH' die Auslastung anzeigen lassen.
Sieht dann so aus:
last pid: 43740; load averages: 0.38, 0.84, 1.44 up 3+06:59:47 12:53:49
124 processes: 2 running, 105 sleeping, 17 waiting
CPU: 0.4% user, 0.0% nice, 1.2% system, 0.0% interrupt, 98.4% idle
Mem: 20M Active, 552M Inact, 167M Laundry, 147M Wired, 69M Buf, 76M Free
Swap:
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND
11 root 155 ki31 0K 8K RUN 64.0H 98.12% [idle]
76658 root 20 0 7264K 3056K RUN 0:03 0.69% top -aSH
44365 root 20 0 6140K 1844K bpf 8:49 0.28% /usr/local/sbin/filterlog -i pflog0 -p /var/run/filterlog.pid
7 root -16 - 0K 8K - 26:16 0.14% [rand_harvestq]
6 root -16 - 0K 8K pftm 7:10 0.13% [pf purge]
12 root -92 - 0K 136K WAIT 10:32 0.12% [intr{irq5: rl2}]
51150 nobody 20 0 6900K 3548K select 0:54 0.09% /usr/local/sbin/dnsmasq --all-servers --rebind-localhost-ok --stop-dns-rebind -H /var/etc/dnsmasq-hosts -
87571 root 20 0 9300K 5336K select 0:01 0.09% sshd: root@pts/0 (sshd)
13604 root 20 0 5988K 1904K select 2:47 0.09% /usr/local/sbin/syslogd -s -c -c -P /var/run/syslog.pid -l /var/dhcpd/var/run/log -f /var/etc/syslog.conf
12 root -92 - 0K 136K WAIT 14:24 0.06% [intr{irq10: rl0}]
12 root -60 - 0K 136K WAIT 3:48 0.06% [intr{swi4: clock (0)}]
6874 squid 20 0 152M 132M kqread 17:40 0.02% (squid-1) -f /usr/local/etc/squid/squid.conf (squid)
45077 root 20 0 9004K 9036K select 0:50 0.02% /usr/local/sbin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid{ntpd}
89123 squid 20 0 9012K 4388K select 0:01 0.01% (pinger) (pinger)
32510 root 20 0 11064K 7992K kqread 0:39 0.01% /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf
18 root -16 - 0K 24K psleep 0:14 0.01% [pagedaemon{pagedaemon}]
12 root -72 - 0K 136K WAIT 0:03 0.00% [intr{swi1: netisr 0}]
23 root 16 - 0K 8K syncer 5:03 0.00% [syncer]
21 root 20 - 0K 16K sdflus 0:09 0.00% [bufdaemon{/ worker}]
12 root -72 - 0K 136K WAIT 0:08 0.00% [intr{swi1: pfsync}]
24 root 20 - 0K 8K vlruwt 0:04 0.00% [vnlru]
21 root 20 - 0K 16K psleep 0:04 0.00% [bufdaemon{bufdaemon}]
22 root 20 - 0K 8K - 0:04 0.00% [bufspacedaemon]
35969 root 52 0 6404K 1880K wait 1:41 0.00% /bin/sh /var/db/rrd/updaterrd.sh
0 root -16 - 0K 80K swapin 1:35 0.00% [kernel{swapper}]
35247 root 20 0 44608K 37980K accept 0:16 0.00% /usr/local/bin/php-cgi
35574 root 20 0 36416K 31044K accept 0:14 0.00% /usr/local/bin/php-cgi
67456 root 38 0 5940K 1852K nanslp 0:10 0.00% /usr/sbin/cron -s
35492 root 20 0 42560K 32076K accept 0:09 0.00% /usr/local/bin/php-cgi
34957 root 21 0 44608K 39324K accept 0:08 0.00% /usr/local/bin/php-cgi
34874 root 43 0 44608K 32560K accept 0:08 0.00% /usr/local/bin/php-cgi
67462 root 20 0 8840K 4844K select 0:06 0.00% /usr/local/sbin/openvpn --config /var/etc/openvpn/server1.conf
34782 root 21 0 36416K 30884K accept 0:06 0.00% /usr/local/bin/php-cgi
15 root -68 - 0K 200K - 0:04 0.00% [usb{usbus4}]
63668 squid 20 0 8996K 3276K select 0:04 0.00% (pinger) (pinger)
4 root -16 - 0K 16K - 0:04 0.00% [cam{doneq0}]
Sobald ich mich dann per Browser (Chrome) an der GUI anmelde sieht es dann so aus:
last pid: 58158; load averages: 6.53, 4.46, 2.65 up 3+06:47:04 12:41:06
145 processes: 9 running, 119 sleeping, 17 waiting
CPU: 61.9% user, 0.0% nice, 37.3% system, 0.8% interrupt, 0.0% idle
Mem: 49M Active, 548M Inact, 167M Laundry, 147M Wired, 69M Buf, 50M Free
Swap:
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND
58072 root 74 0 6328K 2296K RUN 0:00 15.51% /sbin/pfctl -vvPnf /tmp/rules.debug
57900 root 74 0 6328K 2296K RUN 0:00 13.89% /sbin/pfctl -vvPnf /tmp/rules.debug
57798 root 74 0 6328K 2420K RUN 0:00 13.28% /sbin/pfctl -vvPnf /tmp/rules.debug
56393 root 75 0 6328K 3144K RUN 0:01 12.24% /sbin/pfctl -vvPnf /tmp/rules.debug
55948 root 75 0 6328K 3792K RUN 0:02 12.21% /sbin/pfctl -vvPnf /tmp/rules.debug
57504 root 74 0 15584K 11452K RUN 0:01 12.17% /usr/local/bin/python2.7 /usr/local/opnsense/scripts/filter/update_tables.py
58158 root 73 0 6328K 2256K RUN 0:00 7.60% /sbin/pfctl -vvPnf /tmp/rules.debug
7 root -16 - 0K 8K - 26:12 7.04% [rand_harvestq]
56756 root 52 0 16492K 10004K wait 0:01 4.26% /usr/local/bin/python2.7 /usr/local/opnsense/scripts/filter/read_log.py /limit 100 /digest
2316 root 20 0 7264K 3160K RUN 0:03 0.80% top -aSH
44365 root 20 0 6140K 1844K bpf 8:47 0.26% /usr/local/sbin/filterlog -i pflog0 -p /var/run/filterlog.pid
6 root -16 - 0K 8K pftm 7:08 0.13% [pf purge]
12 root -60 - 0K 136K WAIT 3:48 0.13% [intr{swi4: clock (0)}]
12 root -92 - 0K 136K WAIT 10:31 0.11% [intr{irq5: rl2}]
87571 root 20 0 9300K 5304K select 0:01 0.10% sshd: root@pts/0 (sshd)
13604 root 20 0 5988K 1904K select 2:46 0.08% /usr/local/sbin/syslogd -s -c -c -P /var/run/syslog.pid -l /var/dhcpd/var/run/log -f /var/etc/syslog.conf
56445 root 52 0 16492K 10012K wait 0:01 0.03% /usr/local/bin/python2.7 /usr/local/opnsense/scripts/filter/read_log.py /limit 100 /digest
45077 root 20 0 9004K 9036K select 0:50 0.02% /usr/local/sbin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid{ntpd}
12 root -92 - 0K 136K WAIT 14:23 0.02% [intr{irq10: rl0}]
6874 squid 20 0 146M 125M kqread 17:36 0.02% (squid-1) -f /usr/local/etc/squid/squid.conf (squid)
32510 root 20 0 11064K 7988K kqread 0:39 0.01% /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf
18 root -16 - 0K 24K psleep 0:14 0.01% [pagedaemon{pagedaemon}]
34957 root 20 0 44608K 39324K select 0:08 0.01% /usr/local/bin/php-cgi
34874 root 20 0 44608K 32556K select 0:07 0.01% /usr/local/bin/php-cgi
35247 root 22 0 44608K 37980K select 0:16 0.01% /usr/local/bin/php-cgi
35492 root 20 0 42560K 32076K select 0:09 0.01% /usr/local/bin/php-cgi
35574 root 20 0 36416K 31044K select 0:14 0.01% /usr/local/bin/php-cgi
34782 root 20 0 36416K 30884K select 0:06 0.01% /usr/local/bin/php-cgi
21 root 20 - 0K 16K sdflus 0:09 0.00% [bufdaemon{/ worker}]
67462 root 20 0 8840K 4844K select 0:06 0.00% /usr/local/sbin/openvpn --config /var/etc/openvpn/server1.conf
12 root -72 - 0K 136K WAIT 0:08 0.00% [intr{swi1: pfsync}]
21 root 20 - 0K 16K psleep 0:04 0.00% [bufdaemon{bufdaemon}]
23 root 16 - 0K 8K syncer 5:02 0.00% [syncer]
22 root 20 - 0K 8K - 0:04 0.00% [bufspacedaemon]
24 root 20 - 0K 8K vlruwt 0:04 0.00% [vnlru]
11 root 155 ki31 0K 8K RUN 63.9H 0.00% [idle]
35969 root 52 0 6404K 1880K wait 1:41 0.00% /bin/sh /var/db/rrd/updaterrd.sh
Hat Jemand das gleiche Phänomen mit seiner OPNsense? Natürlich auf ähnlich leistungsschwacher Hardware (z.B. ALIX).
Wenn ich mich von der GUI wieder abmelde geht auch nach einigen Sekunden die Last wieder runter (Putty).
Stört jetzt nicht wirklich, da es offenbar keine Auswirkungen auf die Funktion hat.
Gruß
Dirk
-
Die Befehle gehören zu PF, dem Paketfilter. Lädst du gerade the Firewallregeln ins System?
-
Nein,
einfach nur Anmeldung an der GUI und Anzeige des Dashboards.
Gruß
Dirk
-
Hi Dirk,
Das Firewall-Log-Widget auf dem Dashboard?
Es kann schon sein, dass dies jetzt rechenintensiver ist.
Grüsse
Franco
-
Hallo Franco,
ja das war es. Sobald das Widget vom Dashboard entfernt wird verhält sich der CPU Graph wieder wie unter den Vorversionen.
Wird wohl wirklich langsam Zeit auf potentere HW umzustellen. Na ja, ein Atom D525 steht schon bereit. ;)
Gruß
Dirk
-
*hust* potenter? Du solltest wirklich besser trollen lernen, Dirk :P
-
*hust* potenter? Du solltest wirklich besser trollen lernen, Dirk :P
Ist ja nur für zu Hause. ;D
Ehrlicherweise ist heutzutage jedes 50€ Smartphone potenter als ein VIA Eden! Da ist so ein Atom D525 schon richtiger Overkill. ;)
Bin grad dabei mir eine neue Box zu basteln. Basis wird ein Lexcom 3I525D-Board mit 4 GB Ram und 8GB CF-Karte aus einer alten Securepoint RC100G2. In das Alu-Gehäuse wird gleich ein PoE-Injektor für den AP integriert, so dass meine speziellen Anforderungen an Platz und Energieverbrauch optimal erfüllt werden.
Gruß
Dirk