virtualmin command line probing 7119 time /opt/phpfarm/inst/bin that do not exist

1 post / 0 new
#1 Thu, 09/15/2016 - 11:16
gadnet@aqueos.com

virtualmin command line probing 7119 time /opt/phpfarm/inst/bin that do not exist

hi,

we have virtualmin cli command acting very slowly. the command is:

virtualmin list-domains --mail-user "myuser23" --name-only

We straced the process and it show thousands ( 7119 times) of

openat(AT_FDCWD, "/opt/phpfarm/inst/bin/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/opt/phpfarm/inst/bin/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/opt/phpfarm/inst/bin/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/opt/phpfarm/inst/bin/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

etc...

GUEST:root:[/etc/haproxy/ssl]: strace -e trace=file virtualmin list-domains --mail-user "myuser23" --name-only 2>&1|grep -c "/opt/phpfarm/inst/bin/" 7119

do you know why it loop thousands of time try to open this non existant dir ?

GUEST:root:[/etc/haproxy/ssl]: ll /opt/phpfarm/ ls: cannot access /opt/phpfarm/: No such file or directory

it also try to access /etc/webmin/virtual-server/hashpass/ files that do not exist.

best regards, Ghislain.