Unexpected exit re: Too many open files (File::Error)

This is a very old-school method, but you could try monitoring the number of open files with a simple shell script like this. Using watch or tmux might make it even easier.

PID=4439
while true; do
  printf "%s\t%s\n" "$(date '+%F %T')" "$(lsof -p $PID 2>/dev/null | wc -l)"
  sleep 5
done

If the number keeps increasing over time, that might be the cause.