A/V Equipment link in web admin slow to load
The Change line 2680 in /var/www/lmce-admin/include/utils.inc.php.
Before: cmd = "ssh ".
IPaddress." ";
After: cmd = "ssh ".
ipAddress." ";
Because the variable name was wrong, $IPaddress was showing up blank in the line of bash code, making the line look like this:
sh -c ssh find /sys/devices -name 'tty' | egrep '/tty[| grep usb | grep 'pci0000:00/0000:00:1d.7.-5.2:1.0.' | sed -r 's,tty:/,,g'
After getting digested by grep and sed, the final command looked like this:
ssh find /sys/devices -name tty
This caused the system to slowly and unsuccessfully ssh into a list of ~150 virtual devices.