Closed michaelfruth closed 2 years ago
The output of the command shows two deleted fifos: /tmp/p10k.worker.1000.5826.1639728475.fifo
and /tmp/gitstatus.POWERLEVEL9K.1000.5826.1639728475.1.fifo
. This is the expected number of deleted fifos per interactive zsh with powerlevel10k.
Does having two deleted fifos cause issues?
By the way, you can use lsof -nKi
to avoid listing the same file descriptor more than once.
I faced a problem in not being able to create new files on /tmp because " No space left on device". Killing these two processes resolved it intermediately, but as I found out now, this was not the root cause (cause was that I run out of Inodes). So when these two file handles are expected, I will close the issue. Thanks for your help!
Thanks for the update.
For the reference, powerlevl10k uses a deleted fifo to communicate with gitstatusd. In the ideal world it would use pipe(2)
but zsh doesn't expose this function. A deleted fifo is the closest thing.
Hi,
Executing
sudo lsof -n | grep /tmp | grep deleted
on a Debian System with OhMyZSH + Powerlevel10k shows me that Powerlevel10k/gitstatus has a lot of opened file handles on deleted files.Here is an example of the command above:
How can this be fixed?