I am using Red Hat Enterprise Linux Server release 5.7 (Tikanga).
When I change LD_LIBRARY_PATH, the system becomes very slow for every command (except for shell builtins like
ls in empty directory takes around 1 second. When I change LD_LIBRARY_PATH back to the default, all looks ok.
The LD_LIBRARY_PATH I added is not especially long (10-11 directories.)
I tried to set LD_DEBUG=all , but couldnt find anything suspicious.
I checked all FS which I added in PATH have normal performance.
Please tell me what else I should check and what might be the reason for the slowdown.