Так как Вы не дали информации о том, где Вы видите это, я предположу, что Вы выполняете GNU lsof
без аргументов и Вы видите 0t0
в SIZE/OFF
столбец. Это, по умолчанию, показывает размер рассматриваемого файла.
Однако для "специальных" файлов, это дает смещение вместо этого. От lsof
страница справочника:
SIZE, SIZE/OFF, or OFFSET
is the size of the file or the file offset in bytes. A value is displayed in
this column only if it is available. Lsof displays whatever value - size or
offset - is appropriate for the type of the file and the version of lsof.
On some UNIX dialects
lsof can't obtain accurate or consistent file offset information from its
kernel data sources, sometimes just for particular kinds of files (e.g.,
socket files.) In other cases, files don't have true sizes - e.g., sockets,
FIFOs, pipes - so lsof displays for their sizes the content amounts it finds in
their kernel buffer descriptors (e.g., socket buffer size counts or TCP/IP
window sizes.) Consult the lsof FAQ (The FAQ section gives its location.) for
more information.
The file size is displayed in decimal;
the offset is normally displayed in decimal with a leading ''0t'' if it
contains 8 digits or less; in hexadecimal with a leading ''0x'' if it is
longer than 8 digits. (Consult the -o o option description for information
on when 8 might default to some other value.)
Thus the leading ''0t'' and ''0x'' identify an offset when the column
may contain both a size and an offset (i.e., its title is SIZE/OFF).
Другими словами, 0t
показывает десятичную запись и 0t0
означает файл с размером 0 в десятичной записи. Можно подтвердить, взглянув на то, какие файлы имеют тот размер (это выполняется на поле Debian):
lsof | grep 0t0 | awk '{print $(NF-2),$NF}' | sort -u
Вы будете видеть, что все файлы с тем размером, о котором сообщают, будут вещами как сокеты, каналы, открытые соединения TCP, устройства и т.п..
У меня были точно такие же проблемы и настройки
/sys/module/i915/parameters/semaphores
- 1 решенному этому для меня. Вы пробовали это?