The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 Champions.
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 Champions.
December 14, 2018

Hi @David Urquhart,

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

Thanks

Yoga

TAGS
AUG Leaders

Atlassian Community Events