- Veeam Support Knowledge Base
- "Too many open files" error during SAP on Oracle backup
"Too many open files" error during SAP on Oracle backup
| KB ID: | 3213 |
| Product: | Veeam Backup & Replication | 11 |
| Published: | 2021-03-01 |
| Last Modified: | 2021-03-02 |
Get weekly article updates
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Challenge
The backup job performed by Veeam Plug-in for SAP on Oracle fails with the following error:
"Too many open files. Please increase the file descriptor limit. You may refer to the KB 3213 for more information"
"Too many open files. Please increase the file descriptor limit. You may refer to the KB 3213 for more information"
Cause
The "Too many open files" error happens when a process needs to open more files than the operating system allows. The issue can occur if Veeam Plug-in for SAP on Oracle uses a lot of parallel channels to transfer data to Veeam backup repository while the file descriptor system limit on the database server is not high enough.
Solution
There are 2 workarounds:
- You can decrease the number of used parallel channels by changing the plug-in configuration. To change the number of parallel channels, run the following command on the SAP on Oracle server:
SapOracleBackintConfigTool --set-parallelism n
where n is the number of required channels
- Alternatively, you can increase the file descriptor limit on the SAP on Oracle server:
- Check the actual value by running the following command: ulimit -a
- Increase the value of the "fs.file-max" parameter in the /etc/sysctl.conf file. For example:
fs.file-max = 65536
- Edit the /etc/security/limits.conf parameters accordingly:
soft nproc 65535
hard nproc 65535
soft nofile 65535
hard nofile 65535
- Reboot the SAP on Oracle server.
- Check that the new limit is correctly applied by running the following command: ulimit -a
Before you apply this workaround, make sure that the descriptor limit change will not destabilize the system. It is recommended to create a backup of the entire system before increasing the file descriptor limit.
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.