New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
[HELP] HOSTSOLUTIONS: Failed to allocate directory watch: Too many open files
It happened on hostsolution's new VPS (the 1T storage one). The terminal always shows Too many open files
when I want to set up something. I have tried to update some configs with google, but nothing worked. I also opened a ticket, no response.
How can I solve this BIG problem or is it something wrong with host server?
Comments
This is not hostsolutions help desk. Contact your provider
your SOLUTION is to contact hostsolutions.
Contact @cociu here. BUT you must wait for ticket reponse...
Hi,
what exactly do you trying to execute?
Which OS? Please give us some more informations
I have tried to update the /etc/security/limits.conf and /etc/sysctl.conf for nofile and fs.file-max;
Debian 8/16.04 amd 64/CentOS7, every OS has the same problem.
Which hypervisor do you use?
See this page here: https://www.tecmint.com/increase-set-open-file-limits-in-linux/
It helped me to increase the number of open files easily and on the fly.
I thought it was some restrictions with latest OS on hostsolutions nodes.
I found that the sysctl fs.inotify may be the limit:
When I try to update it, it shows
sysctl: setting key "fs.inotify.max_user_instances": Read-only file system
those are LXC containers, your provider needs to change the settings if needed. contact their support.
I understand that to be meant as a - reasonable - sharing mechanism and protection from the provider.
You should think about why that's not enough for you.
What do you think I can do when I just reinstall OS and try to install nextcloud on it?
Did I use this VPS to destroy the world? Or have I simulated galaxy on it?
Yeah! I have tried to reinstall centos 6 and it works now!
@paci What are you trying to do that needs so many open files?
Some form of fileshare.
I tried to install snap, the snapd.service cannot start by itself and showed
too many open files
. It did not work when I usedsystemctl start snapd
to start it (the same reason). I thought there were something wrong with host server(might fs.inotify config).this problem will be resolved today , also when you open a tiket please do not open multiple tikets with the same problem , do not push in the tiket , all this will delay the response , i dont tell is your case but is good to know.
This problem will be resolved today or tumorrow because we need to test the settings first.
thanks for the info, please reply to this thread when the problem got sorted out.
I have same problem too.
first please open a ticket because we need to receive all this problems in our whmcs not in a forum. Also we have change the limit so if someone is still have this problems please open tickets.
Okay