• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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