• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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