txt file descriptor in lsof
Posted
by
wfaulk
on Server Fault
See other posts from Server Fault
or by wfaulk
Published on 2013-10-23T21:41:53Z
Indexed on
2013/10/23
21:55 UTC
Read the original article
Hit count: 258
In my experience, files that have the file descriptor of txt
in lsof
output are the executable file itself and shared objects. The lsof
man page says that it means "program text (code and data)".
While debugging a problem, I found a large number of data files (specifically, ElasticSearch database index files) that lsof
reported as txt
. These are definitely not executable files. The process was ElasticSearch itself, which is a java process, if that helps point someone in the right direction.
I want to understand how this process is opening and using these files that gets it to be reported in this way. I'm trying to understand some memory utilization, and I suspect that these open files are related to some metrics I'm seeing in some way.
The system is Solaris 10 x86.
© Server Fault or respective owner