lsof shows that .xsession-errors' deleted files chews up all disk space

I configured a cronjob that truncates the ~/.xsession-errors file because it was chewing up all disk space. This keeps the file smaller than 500K. The disk space is still being filled.

lsof +L1 | grep deleted shows many instances of xsession-errors deleted items that will fill all disk space. Only a reboot seems to clear this.

What could be the cause?


Thanks for the advice. I found what was writing to the .xsession-errors file. kpatient ver. 19 has a bug that fills up the disk. Ver 21 fixes that.