• 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.

Question Why plesk use hard link for logs domain?

federiklampo

New Pleskian
Server operating system version
cloudlinux 8
Plesk version and microupdate number
18.0.48
Why does plesk make use of hard links for domain logs?
Is it for a performance issue? Does it make it easier to manage permissions on files? Is it done to keep the number of inodes down?
just curious...thx

Code:
[root@test~]# find / -inum 528484409
/var/www/vhosts/system/gfvdndghftgcbej/logs/access_log
/var/www/vhosts/gfvdndghftgcbej/logs/access_log
[root@test ~]# stat /var/www/vhosts/gfvdndghftgcbej/logs/access_log
  File: /var/www/vhosts/gfvdndghftgcbej/logs/access_log
  Dim.: 0               Blocchi: 0          Blocco di IO: 4096   file regolare vuoto
Device: fd00h/64768d    Inode: 528484409   Coll.: 2
Accesso: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Accesso  : 2022-11-18 03:57:02.862835876 +0100
Modifica : 2022-11-16 03:39:03.437593898 +0100
Cambio   : 2022-11-18 03:22:55.787473131 +0100
Creazione: 2022-11-15 14:34:36.879789761 +0100
 
Back
Top