1 (edytowany przez xury 2023-05-12 19:13:27)

Temat: Archer C7 v5 = CPU 90% przez easyconfig_statistic.sh

Dzisiaj się przesiadłem na światłowód. Działa ładnie ale martwi mnie tylko, że top pokazuje 90% zajętego pocesora poprzez easyconfig_statistic.sh
Jedyne co zmieniłem od wcześniejszego stanu to konfiguracja sekcji WAN ze static na ppoe oraz flow offloading.


CPU:  89% usr   9% sys   0% nic   0% idle   0% io   0% irq   0% sirq
Load average: 1.03 1.08 1.08 2/231 21955
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
5770  5731 root     R     3348   3%  95% {easyconfig_stat} /bin/sh /usr/bin/easyconfig_statistics.sh
I jeszcze jedno pytanie czy używając pppoe to easyconfig nie wykrywa tego?
W ustawieniach easyconfig mam - Internet brak
wersja  OpenWrt 22.03-SNAPSHOT, r20060-f7541aecdc

a czy tyle poniższych zadań to normalne?

6285     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
11293     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6096     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6319     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6053     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
10054     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6301     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6273     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6141     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6132     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6332     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
10892     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
8451     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6196     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6161     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6114     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6383     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
24415     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
11311     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
24397     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
16140     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5996     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5944     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6820     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
9619     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
12741     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6073     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5983     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6031     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6213     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6230     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5840     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
10864     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5876     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5893     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5911     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
11989     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
6256     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
5856     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easyconfig
8039     1 root     S     1396   1%   0% /bin/sh -c . /lib/functions.sh . /etc/hotplug.d/dhcp/99-easycon

2

Odp: Archer C7 v5 = CPU 90% przez easyconfig_statistic.sh

Nie. To powinno wykonać się raz (i cronie co minutę). Weź to wszystko ubij lub zrestartuj router, bo ten proces powinien generalnie zrobić swoje i się wyłączyć, chyba że na czymś zawisł (odczyt danych czy dostęp do pliku).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Archer C7 v5 = CPU 90% przez easyconfig_statistic.sh

Zaktualizowałem easyconfig i zrestartowałem, ale nadal tak jest w logread mam coś w tym stylu:
Fri May 12 20:25:53 2023 cron.err crond[1934]: USER root pid 3494 cmd /usr/bin/easyconfig_logs.sh
Fri May 12 20:25:53 2023 cron.err crond[1934]: USER root pid 3495 cmd /usr/bin/easyconfig_statistics.sh
Fri May 12 20:29:00 2023 cron.err crond[1934]: user root: process already running: /usr/bin/easyconfig_statistics.sh
Fri May 12 20:29:00 2023 cron.err crond[1934]: USER root pid 3903 cmd /usr/bin/easyconfig_logs.sh
Fri May 12 20:30:00 2023 cron.err crond[1934]: user root: process already running: /usr/bin/easyconfig_statistics.sh
Fri May 12 20:30:00 2023 cron.err crond[1934]: USER root pid 3914 cmd /usr/bin/easyconfig_logs.sh
Fri May 12 20:31:00 2023 cron.err crond[1934]: user root: process already running: /usr/bin/easyconfig_statistics.sh
Fri May 12 20:31:00 2023 cron.err crond[1934]: USER root pid 3936 cmd /usr/bin/easyconfig_logs.sh
Fri May 12 20:32:00 2023 cron.err crond[1934]: user root: process already running: /usr/bin/easyconfig_statistics.sh
Fri May 12 20:32:00 2023 cron.err crond[1934]: USER root pid 4085 cmd /usr/bin/easyconfig_logs.sh

4

Odp: Archer C7 v5 = CPU 90% przez easyconfig_statistic.sh

Pisałem już, w logach to będzie bo jest wołane w cronie co minutę.

Złe jest tylko to: user root: process already running: bo to by znaczyło że proces się nie wyrabia lub na czymś wisi. Zmień sobie z cronie żeby wykonywał się co np. 3 minuty.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Archer C7 v5 = CPU 90% przez easyconfig_statistic.sh

Ok na razie usunąłem easyconfig i zabijam procesy.

A odnośnie pppoe to czy powinien być widoczny w połączeniach ?

6 (edytowany przez Cezary 2023-05-12 19:44:57)

Odp: Archer C7 v5 = CPU 90% przez easyconfig_statistic.sh

Jako proces pppd.

easyconfig nie ma obsługi podłączeń wan typu pppoe, więc trochę bez sensu jest jego używanie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.