Posts: 118
Threads: 13
Joined: May 2017
Reputation:
7
HI !
Now get the same problem with NOOBS installation and running for 24 + hours . No reboot helps and can't logon via VNC. Remote access with ssh works. RPi 3, OP V1
The only odd thing I can think of is that I configured a serial CAN in the boat, took home the RPi and it was "red" , not connected, in "serial" ??
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.1G 5.8G 0 100% /
devtmpfs 460M 0 460M 0% /dev
and so on.....
Posts: 2,871
Threads: 59
Joined: Mar 2016
Reputation:
271
That does not sound well. anyone else with this problem?
Please try to identify the big files/directory and its content. Maybe a log file?
Posts: 2,871
Threads: 59
Joined: Mar 2016
Reputation:
271
2018-06-09, 10:49 AM
(This post was last modified: 2018-06-09, 10:51 AM by Sailoog.)
Thanks otoio! that is a start. We need to know what is on that file and what is causing such writing loop.
Yannick, MatsA, could you confirme that big file on your systems?
Moving this thread to bugs forum
Posts: 22
Threads: 9
Joined: Apr 2018
Reputation:
2
More info about that file: /home/pi/.cache/lxsession/LXDE-pi/run.log
Its contents is "accept failed for connection to signalk: Too many open files", repeated in a lot of lines. I can not see how many they are, because I can see its contents only in a terminal. When I try to see in a text editor, the system freezes.
The last sentence is cut so I suppose that in that moment the file has become corrupted or something like that.
Posts: 2,871
Threads: 59
Joined: Mar 2016
Reputation:
271
Thanks, we could limit the allowed size of this log file or even prevent to write on it but we should try to find the loop that is creating such amount of messages.
We should wait for some feedback from other users suffering this issue to confirm.
Posts: 341
Threads: 0
Joined: Apr 2016
Reputation:
23
I had the same problem run.log "accept failed for connection to signalk: Too many open files"
I think it has to do with kplex.
If I attach a gps to kplex it needs 8 open files all the time.
If I now disconnect the gps and reboot. Every half minute it adds 1 open file untill the limit of the linux system is reached. Then SignalK fires errors until the disk is full.
To test it: Find the pid of kplex
"ps aux | grep kplex"
print out the counted open files of the pid (replace pid with the process number you got from last command) with
"ls /proc/pid/fd/ | wc -l"