我试图了解高内存和 CPU 使用率,因此我这样做journatctl -f
并在结果中发现了这一点:
Feb 06 13:16:18 arrakis create_ap[393537]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:18 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:18 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
Feb 06 13:16:23 arrakis systemd[1]: create_ap.service: Scheduled restart job, restart counter is at 93087.
Feb 06 13:16:23 arrakis systemd[1]: Stopped Create AP Service.
Feb 06 13:16:23 arrakis systemd[1]: Started Create AP Service.
Feb 06 13:16:24 arrakis create_ap[393578]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:24 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:24 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
Feb 06 13:16:29 arrakis systemd[1]: create_ap.service: Scheduled restart job, restart counter is at 93088.
Feb 06 13:16:29 arrakis systemd[1]: Stopped Create AP Service.
Feb 06 13:16:29 arrakis systemd[1]: Started Create AP Service.
Feb 06 13:16:29 arrakis create_ap[393620]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:29 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:29 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
Feb 06 13:16:34 arrakis systemd[1]: create_ap.service: Scheduled restart job, restart counter is at 93089.
Feb 06 13:16:34 arrakis systemd[1]: Stopped Create AP Service.
Feb 06 13:16:34 arrakis systemd[1]: Started Create AP Service.
Feb 06 13:16:34 arrakis create_ap[393663]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:34 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:34 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
● create_ap.service - Create AP Service
Loaded: loaded (/usr/lib/systemd/system/create_ap.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2021-02-07 02:14:28 CET; 3s ago
Process: 659956 ExecStart=/usr/bin/create_ap --config /etc/create_ap.conf (code=exited, status=1/FAILURE)
Main PID: 659956 (code=exited, status=1/FAILURE)
另外,执行“sudo systemctl disable create_ap.service”也无法解决问题。
我如何找出这个问题的根源?我的意思是,为什么我的系统不断尝试创建热点。我不需要热点,我该如何阻止这种情况?
“systemctl sttus create_ap.service”的输出: