File Descriptor Configuration for Global and Non Global Zones
Posted: Fri Feb 19, 2016 4:07 pm
1. /etc/system can have the following settings for both global and non-global zones:
2. /etc/project can be modified individually in global and non-global zones:
/etc/project update doesn't require a reboot. Users just need to log out first after the change's made and log back in to see the change.
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)
The change will disappear once logged out.
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 $$