Millions of lines of "dhcpcd[365]: received SIGPIPE" in syslog file

hal_sk

New Member
Joined
May 25, 2020
Messages
19
Reaction score
3
Credits
188
Hello,
My Raspberry Pi with openhabian is connected to internet via USB GSM modem. Recently my modem disconnects from the internet from unknown reason at around 00:30 AM and then connects back online at around 06:00 AM. To my horror the syslog file is around 250 MB big in size and contains millions lines containing this string: "dhcpcd[365]: received SIGPIPE". Few hundreds these lines per one second. I suspect some issue with scripts related to my modem. What could be the problem?
 


Additional info:
In syslog there is sometime also this segment of lines repeating in a loop:

Code:
Dec  9 14:23:25 openhabian systemd[1]: comitup-web.service: Main process exited, code=exited, status=1/FAILURE
Dec  9 14:23:25 openhabian systemd[1]: comitup-web.service: Failed with result 'exit-code'.
Dec  9 14:23:31 openhabian systemd[1]: comitup-web.service: Scheduled restart job, restart counter is at 1422.
Dec  9 14:23:31 openhabian systemd[1]: Stopped Comitup Web Service.
Dec  9 14:23:31 openhabian systemd[1]: Started Comitup Web Service.
Dec  9 14:23:31 openhabian comitup-web[21589]: Traceback (most recent call last):
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/sbin/comitup-web", line 11, in <module>
Dec  9 14:23:31 openhabian comitup-web[21589]:     load_entry_point('comitup==1.31', 'console_scripts', 'comitup-web')()
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/share/comitup/web/comitupweb.py", line 171, in main
Dec  9 14:23:31 openhabian comitup-web[21589]:     ciu_client.ciu_points()
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
Dec  9 14:23:31 openhabian comitup-web[21589]:     return self._connection.call_blocking(self._named_service,
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
Dec  9 14:23:31 openhabian comitup-web[21589]:     reply_message = self.send_message_with_reply_and_block(
Dec  9 14:23:31 openhabian comitup-web[21589]: dbus.exceptions.DBusException: org.freedesktop.DBus.Python.BrokenPipeError: Traceback (most recent call last):
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3/dist-packages/dbus/service.py", line 711, in _message_cb
Dec  9 14:23:31 openhabian comitup-web[21589]:     retval = candidate_method(self, *args, **keywords)
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/share/comitup/comitup/statemgr.py", line 71, in access_points
Dec  9 14:23:31 openhabian comitup-web[21589]:     aps = iwscan.candidates()
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/share/comitup/comitup/iwscan.py", line 106, in candidates
Dec  9 14:23:31 openhabian comitup-web[21589]:     p.start()
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3.9/multiprocessing/process.py", line 121, in start
Dec  9 14:23:31 openhabian comitup-web[21589]:     self._popen = self._Popen(self)
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
Dec  9 14:23:31 openhabian comitup-web[21589]:     return _default_context.get_context().Process._Popen(process_obj)
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3.9/multiprocessing/context.py", line 277, in _Popen
Dec  9 14:23:31 openhabian comitup-web[21589]:     return Popen(process_obj)
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 16, in __init__
Dec  9 14:23:31 openhabian comitup-web[21589]:     util._flush_std_streams()
Dec  9 14:23:31 openhabian comitup-web[21589]:   File "/usr/lib/python3.9/multiprocessing/util.py", line 435, in _flush_std_streams
Dec  9 14:23:31 openhabian comitup-web[21589]:     sys.stdout.flush()
Dec  9 14:23:31 openhabian comitup-web[21589]: BrokenPipeError: [Errno 32] Broken pipe
 
I have disabled "comitup-web.service". Will se if it helps and if it does not break the system.
 
So it did not help. After 00:30 AM it still disconnects from internet and getting these logs bellow.
Is there a way to disable "dhcpcd" service (or what is it?) ?
Screenshot at 2021-12-10 10-27-21.png
 
You might want to repost this here....
Openhabian <----Link
 
You might want to repost this here....
Openhabian <----Link
I have already asked about this issue on that forum website. Based on that I guess my USB modem setup (without router providing static IP) is not supported in Openhab. As possible solution I am buying router for SIM cards and will try connect my Raspberry to that router with IP address set to be always same. Will see if it helps.
 

Members online


Latest posts

Top