• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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