Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence 6.6.9 Thread Limit

David Urquhart December 6, 2018

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

 

 

 

 

 

2 answers

1 accepted

0 votes
Answer accepted
Yoga Reddy {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2018

 

HI @David Urquhart

Please Reboot your machine and test the new limits configuration

Thanks

Yoga

David Urquhart December 13, 2018

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

David Urquhart December 14, 2018

Changed

LimitNOFILE=4096
LimitNPROC=4096

in confluence.service file, okay now

0 votes
Yoga Reddy {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2018

Hi @David Urquhart

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

David Urquhart December 10, 2018

ulimit -Sn
1024

ulimit -Hn
4096

David Urquhart December 10, 2018

do you have to reboot machine after editing /etc/security/limits.conf ?

We have not done so.

Yoga Reddy {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2018

Hi @David Urquhart,

Glad that issue has been fixed. Happy to work with you.

Thanks

Yoga

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events