Code: Select all
set rlim_fd_cur=2048
set rlim_fd_max=8192
Code: Select all
user.hsiaoc1:1000::::process.max-file-descriptor=(priv,8192,deny)
I haven't figured out the first field (project name) yet. I tried user.root but it didn't work. I tried user.fd, no good. I tried another user, still no good. I am not sure what the value it would take. I am not sure if the user needs to reside on the server either.
3. Change for live running processes (temporarily during the session)
Code: Select all
# prctl -n process.max-file-descriptor -r -v 1024 $$