leeroybrun / glacier-vault-remove

Remove all archives stored inside an Amazon Glacier vault, even if you have a huge number of them.
379 stars 50 forks source link

Error: Too Many Open Files #24

Closed jensjakob closed 5 years ago

jensjakob commented 7 years ago

Hi. I get the error "Too many open files" using Ubuntu Server in a VirtualBox environment.

raphael-riel commented 7 years ago

HI @jensjakob,

I managed to resolve this issue by setting higher values for Hard/Soft file descriptors limits.

In my case, on an AmazonLinux (RedHat):

/etc/security/limits.d/custom.conf

* hard nofile 500000
* soft nofile 500000

A reboot/session login/logout may be necessary. Check this thread for more info (My source): http://stackoverflow.com/a/24685189/719535

leeroybrun commented 5 years ago

Closing as this is quite old. Feel free to let us know if that's still an issue.