When attempting to use a TCP/UDP Web Portal service with session recording the PAM end-user gets the following error:
Web portal connection to "(hostname)" failed.
Network mount for session recording unavailable.
Release : 3.4.x
Component : PRIVILEGED ACCESS MANAGER
Very big NFS filesystem
Ultimately the root cause is the NFS filesystem that all PAM Appliances are writing to, had close to a million files in it. We archived a lot of the session recordings and the performance increased.
Even though Linux and Windows session recording were successful to the same mounted NFS directory, the creation and validation of the session recording happens in the allotted 20 seconds.
However since the Web Portal is graphical, the initial file is bigger and the creation and validation took over 20 seconds to create and validate, therefore the error.
Also Redhat documents that filesystems shouldn't have more than 100,000 files in one directory: