Patching of Veeam Recovery Media version 5.0 fails with "ISO: FATAL ERROR:write_file: failed to create file /tmp/veeam/livecd-..., because Too many open files"

KB ID: 4121
Product: Veeam Agent for Linux | 5.0
Published: 2021-03-02
Last Modified: 2022-03-14
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

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

error icon

Oops! Something went wrong.

Please try again later.

Challenge

The patching of the Veeam Recovery Media version 5.0 fails with the error:

ISO: FATAL ERROR:write_file: failed to create file /tmp/veeam/livecd-..., because Too many open files

Cause

Veeam Agent reaches the limit of concurrently opened files during the ISO image unpacking that is performed by means of the unsquashfs utility.

Solution

Increase the limit of concurrently opened files for the Veeam Agent service. To do this, perform the following operations:

  1. Open the service file for editing:
sudo systemctl edit --full veeamservice.service
  1. Set the following values:
[Service]
LimitNOFILE=524288
LimitNOFILESoft=524288
  1. Save changes:
sudo systemctl daemon-reload && sudo systemctl restart veeamservice.service
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.