Announcement

Collapse
No announcement yet.

Highly Available setup

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Highly Available setup

    I have created an autoscaling group of EspoCRM web servers, the data dir is shared via NFS (AWS EFS). But I have noticed some issues with stale file handler in the error logs. Can someone advise if this is an acceptable way to run multiple servers or if there are potential issues?

    Example error:

    [2018-01-02 18:06:06] Espo.WARNING: E_WARNING: include(/var/www/html/crm/data/cache/application/ormMetadata.php): failed to open stream: Stale file handle {"code":2,"message":"include(/var/www/html/crm/data/cache/application/ormMetadata.php): failed to open stream: Stale file handle","file":"/var/www/html/crm/application/Espo/Core/Utils/File/Manager.php","line":190,"context":{"path":"data/cache/application/ormMetadata.php","fullPath":"data/cache/application/ormMetadata.php"}} []


    Thanks


  • #2
    It is sometimes possible, due to network, environmental, or other issues, for an NFS mount to become disconnected from the server which results in stale NFS file handles. This results in hanging commands and errors such as NFS server not responding, or stale file handle reported in various OS command output (df -h, mount, ls)

    see here:
    https://support.delphix.com/Delphix_..._Linux_Systems

    acceptable?
    obviously not if your NFS mount is disconnecting randomly.

    Comment

    Working...
    X