We have just upgraded to Confluence 6.6.9 and are getting Thread Limit messages
os is Linux
I edited /etc/security/limit.conf and added,
conflu soft nofile 4096
conflu hard nofile 8192
conflu soft nproc 4096
conflu hard nproc 8192
conflu is our confluence user.
I then restarted confluence but still get the Thread Limit health check warning
What's going on ?
Thanks
Just noticed "systemd ignores system ulimits. The values will need to be specified in the proper service file <servicename>.service
. A list of values can be found here."
we have confluence running under systemd, so which values do we need to set
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Changed
LimitNOFILE=4096
LimitNPROC=4096
in confluence.service file, okay now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please type the following command and let us know the results.
[root@glow ~]# ulimit -Sn
1024
[root@glow ~]# ulimit -Hn
4096
Please verify the following two links as well.
https://confluence.atlassian.com/kb/health-check-thread-limit-858578685.html
https://singztechmusings.wordpress.com/2011/07/11/ulimit-how-to-permanently-set-kernel-limits-in-linux/
Thanks
Yoga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you have to reboot machine after editing /etc/security/limits.conf ?
We have not done so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.