mirror of
https://github.com/kmvan/x-prober.git
synced 2026-08-15 22:39:38 +08:00
[BUG] Incorrect CPU/RAM/SWAP usage #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thistehneisen on GitHub (Jan 14, 2019).
Originally assigned to: @kmvan on GitHub.
** Report content **
https://www.nils.digital/x.php
@kmvan commented on GitHub (Jan 14, 2019):
Thanks your report.
Is it cPanel virtual host?
@thistehneisen commented on GitHub (Jan 14, 2019):
It's Plesk on a dedicated server
@kmvan commented on GitHub (Jan 14, 2019):
Thanks, I got the reason.
Plesk's
open_basedirsetting is:/var/www/vhosts/nils.digital/:/tmp/.The CPU/memory/network stats information requires that the dir
/proc/should be read.Like
/var/www/vhosts/nils.digital:/tmp/:/proc/.So you can add
:/proc/toopen_basedirin php.ini and works fine.@thistehneisen commented on GitHub (Jan 14, 2019):
True, that did work (you can see it live). The disk usage is unavailable, I guess that's permissions also?
@kmvan commented on GitHub (Jan 14, 2019):
The disk usage information calls by
disk_total_space('/')function, you can comment theopen_basedirconfig if you want to show disk usage info. But not recommend, it is dangerous permission.@kmvan commented on GitHub (Jan 14, 2019):
Can be talking continue after closed the issue.