• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved (deleted) files cannot be removed - used by plesk service

lukegalea16

New Pleskian
Server operating system version
Ubuntu 20.04.5 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.46 Update #1
Hi,

I have executed this command 'sudo /usr/bin/lsof | grep deleted' and found that the following files are being held from being deleted.
plesk 2211972 2211973 plesk root txt REG 8,1 5233560 29836 /usr/sbin/plesk (deleted)
plesk 2211972 2211974 plesk root txt REG 8,1 5233560 29836 /usr/sbin/plesk (deleted)
plesk 2211972 2211975 plesk root txt REG 8,1 5233560 29836 /usr/sbin/plesk (deleted)

Executing 'lsof -p 2211972', returns

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
plesk 2211972 root cwd DIR 8,1 4096 258412 /opt/psa/admin
plesk 2211972 root rtd DIR 8,1 4096 2 /
plesk 2211972 root txt REG 8,1 5233560 29836 /usr/sbin/plesk (deleted)
plesk 2211972 root mem REG 8,1 51856 9481 /usr/lib/x86_64-linux-gnu/libnss_files-2.31.so
plesk 2211972 root mem REG 8,1 2029592 9310 /usr/lib/x86_64-linux-gnu/libc-2.31.so
plesk 2211972 root mem REG 8,1 157224 10536 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
plesk 2211972 root mem REG 8,1 191504 9243 /usr/lib/x86_64-linux-gnu/ld-2.31.so
plesk 2211972 root 0r CHR 1,3 0t0 6 /dev/null
plesk 2211972 root 1w CHR 1,3 0t0 6 /dev/null
plesk 2211972 root 2w CHR 1,3 0t0 6 /dev/null

I tried restarting the plesk service using the following commands but nothing helped in deleting these files.

service sw-engine restart && service sw-cp-server restart

Any other suggestions please?
 
Back
Top