When using Pluto for long running Pluto notebooks, after some days, I am running into the following
Worker 6 terminated.
UNHANDLED TASK ERROR: EOFError: read end of file
Stacktrace:
[1] wait_locked
@ ./stream.jl:947
[2] unsafe_read
@ ./stream.jl:955
[3] unsafe_read
@ ./io.jl:761 [inlined]
[4] unsafe_read
@ ./io.jl:760
[5] read!
@ ./io.jl:762 [inlined]
[6] deserialize_hdr_raw
@ /usr/local/julia/share/julia/stdlib/v1.9/Distributed/src/messages.jl:167 [inlined]
[7] message_handler_loop
@ /usr/local/julia/share/julia/stdlib/v1.9/Distributed/src/process_messages.jl:172
[8] process_tcp_streams
@ /usr/local/julia/share/julia/stdlib/v1.9/Distributed/src/process_messages.jl:133
[9] #103
@ ./task.jl:514
The best help I could find so far is from this stackoverflow which mentions and out of memory as on potential source of this error.
I indeed was able to fix a couple of memory leaks on my side but think that there is no memory now any longer (I am plotting memory consumption and it looks constant).
Hence I am looking for other potential sources of this error, but couldn’t find any so far. (Apparently you get it too if you interrupt(2)
a worker 2, but this will also output more loggings about which error was not handled - I really only have the above output, nothing more)