-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Cannot Reproduce
-
Affects Version/s: master
-
Fix Version/s: None
-
Component/s: Scheduler
-
Labels:None
Mar 27 00:11:46 personal-coins env[4255]: ERROR:agentlauncher.py:146(6234): Exception during agent launch: '[Errno 24] Too many open files' (attempt: 1)
I had this issue many times in personal-coins. Despite the coin@service unit having a high limit, it's not permitted to apply it because the user systemd instance has a low limit. It can be verified if the limits are low by checking the file /proc/PID/limits, where PID can be the pid of scheduler.py for example.
The following file was needed to change the limits of the user@`id -u`.service for all users on personal-coins:
$ cat /etc/systemd/system/user@.service.d/override.conf [Service] LimitNOFILE=98765
Then run `systemctl daemon-reload` and kill the user-level systemd instances and restart them and relogin.
I'm opening this since I'm guessing it might be affecting production Coin on vmbuilder too. In that case, the user@vmbuilder.service should be changed.