How to debug using strace:
strace -s 80 -f -p 24274 2>&1 | stdbuf -i0 -o0 -e0 grep write
-s number- Strace usually prints only a few chars for each system call, to make it print more chars use-s number of chars-f- Follow all threads opened by parent pid-p pid- Pid to follow2>&1- Reddirectstderrtostdinto be able to grep itstdbuf -i0 -o0 -e0- Flush each line to grep
