WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
87 stars 37 forks source link

[ISSUE] Slow user manager page load (Admin / User & Groups) #530

Closed edvalley closed 1 year ago

edvalley commented 3 years ago

fM Version : 4.0.3

In raising this issue, I confirm the following:


(BUG | ISSUE) Expected Behavior: The user manager page must load rapidly

(BUG | ISSUE) Actual Behavior: The user manager page loads slowly

(BUG | ISSUE) Steps to reproduce: Login to facileManager and go to Admin / User & Groups

A request to /admin-users.php takes a long time. The problem is in the call to gethostbyaddr at class-users.php, line 468. It keeps trying for 30 seconds to get a host name for the users' IP addresses.

Thanks

WillyXJ commented 3 years ago

Does your fM server use a DNS server for lookups? If it does, then I wouldn't expect the long timeouts even if the record doesn't exist.

Perhaps an app setting to toggle the resolution of IP addresses should be implemented.

WillyXJ commented 1 year ago

This is now fixed in fM 4.4.0 and later.