[lkml]   [1996]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectoverwriting running text file?

A weird thing happened to my system today: after running 1.99.12 for 27
days I discovered a few stuck processes. These processes were the children
of a daemon that had been killed. When I killed these processes one turned
into a zombie, the other got stuck in disk wait.
After a bit of research I found out that the text file of this process had
been overwritten by a newer version of the daemon. /proc/<pid>/exe
pointed to an inode that contained a file several hours newer than the
start time of the process.
I wonder how this could have happened, why was there no 'text file busy'
error? Maybe because the parent of these processes was being debugged with
gdb at the time?

Wieger Opmeer

 \ /
  Last update: 2005-03-22 13:37    [W:0.026 / U:3.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site