Article ID: 118533, created on Nov 10, 2013, last review on May 4, 2014

  • Applies to:
  • Virtuozzo containers for Linux

Symptoms

It is not possible to update the hardware node, vzup2date utility fails. The following messages are recorded in /var/log/vzup2date.log:

2013-11-09T20:37:30+0000 Can't open file /vz/vzup2date/eztemplates//partial/centos-6-x86_64-ez-4.0.0-7.noarch.rpm.O8TApO: Too many open files
2013-11-09T20:37:30+0000 Internal error https://vzup2date.swsoft.com/virtuozzo/linux/x86_64/eztemplates/centos-6/pub/centos-6-x86_64-ez-4.0.0-7.noarch.rpm: Failed writing body

Cause

The allowed amount of open files has been exceeded on the server.

Resolution

Increase the allowed number of open files. Example:

  • Get the current limit of open files:

    [root@vz ~]# ulimit -n
    1024
    
  • Increase the limit twice:

    [root@vz ~]# ulimit -n 2048
    

Search Words

vzup2date

Failed writing body

Too many open files

d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223 e8e50b42231236b82df27684e7ec0beb

Email subscription for changes to this article
Save as PDF