Live Migration Fails With Error: "Too many open files

Problem

  • Live migration of an instance fails with error "Too many open files" as see in /var/log/nova/nova-conductor.log.
Copy
  • Below errors are seen in /var/log/pf9/ostackhost.log.
Copy

Environment

  • Platform9 Managed OpenStack - v3.6.0 and Higher

Cause

For the majority of operating systems, 1024 is the maximum number of open files per process. But for the pf9-ostackhost process, we can see that the threshold has been crossed and there are 1158 files opened.

Copy
Copy
Copy
Copy

This indicates that pf9-ostackhost service has 1158 open files and has crossed the limit of 1024.

Resolution

Restart pf9-ostackhost service on the affected host.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard