I am installing Confluence on Debian 9 and it fails to start the synchrony proxy with an out of memory error - unable to create new native thread.
My setup:
Steps to reproduce issue:
Expected result:
Confluence starts and shows login page
Actual result:
Confluence shows following error page -
Description: Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:dblowercheck (Check to ensure the database correctly supports lower() for non-ASCII characters)
Level: fatal
Exception: unable to create new native thread
Initial investigation into log files show that synchrony proxy fails to start because it is unable to create a new native thread (out of memory error).
I have run this config successfully on debian 8 and run into this problem after upgrading to debian 9.
Please advise.
So far, I have none. The only option was to revert back to Debian 8.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Forget MariaDB, it's not supported, so trying it is a waste of time.
But the error is (probably) not database related, it looks to be the memory. How much memory are you giving Confluence and Synchrony, and how much memory does the physical machine have?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried with postgres as well, first thing I checked. Same result.
I have a virtual machine with 32GB memory. Should be more than enough..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, you have enough memory to use, but what are the memory settings for the JVM? Just because you've got 32Gb, doesn't mean you've told Confluence to use most of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Running confluence with these options: -Xms1024m -Xmx1024m -XX:+UseG1GC
Also tried: -Xms1024m -Xmx2048m -XX:+UseG1GC. No change.
Btw: default settings worked fine with debian 8.
Is there any other way to configure memory?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted],
Problem might be either no memory or exceeding the Operating System limit for new threads.
Please have look on advise for similar kind of issue at CONFSERVER-16755 and have look at how to trouble shoot unable to create new native thread.
If problem still persists provide us the server statistics in terms of how much memory allocated to confluence and available on server.
Thanks,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response.
I did a stack trace analysis. The number of threads are not the issue.
I am running the instance on a 32GB memory machine.
I also played around with the memory settings by increasing heap size to 2 and then 3GB. No help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.