System logging for: “unable to create new native thread” by JVM

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












OutOfMemoryException by whatever JVM service is a popular error message. What strives me is the fact it does not get logged somewhere in the system. Also the JVM does not report the underlying reason. Mostly the application hosted is bad by design and needs fixing. However in my special case the problem arose as migrating from 32 to a 64 bit environment. The application was simply the same and the error did not occur in the 32 environment. There are numbers of reasons which limits might be hit. The web is full of explanations like file limits, process limits, stack sizes and so on.



In my case the system is a openSuse 42.3 running a 4.4.x 64 bit kernel with systemd event logging. The JVM is a Oracle 1.8 (does not matter if 32 or 64). In journalctl there is nothing reported nor it is in any other logfile in /var/log nor in dmesg.



Do you know how to activate logging of such an event?



This is a typical error message by the JVM without any further explanation:



*Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at x.x.x.run(ThreadWorker.java






share|improve this question






















  • What java version are you using, look at this: blog.codefx.org/java/unified-logging-with-the-xlog-option
    – George Udosen
    Jan 13 at 12:33










  • Thanks, in my case it is a 1.8, I added. I will see to check the link if it gives more details with xlog in 1.9 but beside of this I am curious how to log in the system.
    – Thomas
    Jan 13 at 12:42














up vote
0
down vote

favorite












OutOfMemoryException by whatever JVM service is a popular error message. What strives me is the fact it does not get logged somewhere in the system. Also the JVM does not report the underlying reason. Mostly the application hosted is bad by design and needs fixing. However in my special case the problem arose as migrating from 32 to a 64 bit environment. The application was simply the same and the error did not occur in the 32 environment. There are numbers of reasons which limits might be hit. The web is full of explanations like file limits, process limits, stack sizes and so on.



In my case the system is a openSuse 42.3 running a 4.4.x 64 bit kernel with systemd event logging. The JVM is a Oracle 1.8 (does not matter if 32 or 64). In journalctl there is nothing reported nor it is in any other logfile in /var/log nor in dmesg.



Do you know how to activate logging of such an event?



This is a typical error message by the JVM without any further explanation:



*Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at x.x.x.run(ThreadWorker.java






share|improve this question






















  • What java version are you using, look at this: blog.codefx.org/java/unified-logging-with-the-xlog-option
    – George Udosen
    Jan 13 at 12:33










  • Thanks, in my case it is a 1.8, I added. I will see to check the link if it gives more details with xlog in 1.9 but beside of this I am curious how to log in the system.
    – Thomas
    Jan 13 at 12:42












up vote
0
down vote

favorite









up vote
0
down vote

favorite











OutOfMemoryException by whatever JVM service is a popular error message. What strives me is the fact it does not get logged somewhere in the system. Also the JVM does not report the underlying reason. Mostly the application hosted is bad by design and needs fixing. However in my special case the problem arose as migrating from 32 to a 64 bit environment. The application was simply the same and the error did not occur in the 32 environment. There are numbers of reasons which limits might be hit. The web is full of explanations like file limits, process limits, stack sizes and so on.



In my case the system is a openSuse 42.3 running a 4.4.x 64 bit kernel with systemd event logging. The JVM is a Oracle 1.8 (does not matter if 32 or 64). In journalctl there is nothing reported nor it is in any other logfile in /var/log nor in dmesg.



Do you know how to activate logging of such an event?



This is a typical error message by the JVM without any further explanation:



*Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at x.x.x.run(ThreadWorker.java






share|improve this question














OutOfMemoryException by whatever JVM service is a popular error message. What strives me is the fact it does not get logged somewhere in the system. Also the JVM does not report the underlying reason. Mostly the application hosted is bad by design and needs fixing. However in my special case the problem arose as migrating from 32 to a 64 bit environment. The application was simply the same and the error did not occur in the 32 environment. There are numbers of reasons which limits might be hit. The web is full of explanations like file limits, process limits, stack sizes and so on.



In my case the system is a openSuse 42.3 running a 4.4.x 64 bit kernel with systemd event logging. The JVM is a Oracle 1.8 (does not matter if 32 or 64). In journalctl there is nothing reported nor it is in any other logfile in /var/log nor in dmesg.



Do you know how to activate logging of such an event?



This is a typical error message by the JVM without any further explanation:



*Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at x.x.x.run(ThreadWorker.java








share|improve this question













share|improve this question




share|improve this question








edited Jan 13 at 13:20

























asked Jan 13 at 12:26









Thomas

1325




1325











  • What java version are you using, look at this: blog.codefx.org/java/unified-logging-with-the-xlog-option
    – George Udosen
    Jan 13 at 12:33










  • Thanks, in my case it is a 1.8, I added. I will see to check the link if it gives more details with xlog in 1.9 but beside of this I am curious how to log in the system.
    – Thomas
    Jan 13 at 12:42
















  • What java version are you using, look at this: blog.codefx.org/java/unified-logging-with-the-xlog-option
    – George Udosen
    Jan 13 at 12:33










  • Thanks, in my case it is a 1.8, I added. I will see to check the link if it gives more details with xlog in 1.9 but beside of this I am curious how to log in the system.
    – Thomas
    Jan 13 at 12:42















What java version are you using, look at this: blog.codefx.org/java/unified-logging-with-the-xlog-option
– George Udosen
Jan 13 at 12:33




What java version are you using, look at this: blog.codefx.org/java/unified-logging-with-the-xlog-option
– George Udosen
Jan 13 at 12:33












Thanks, in my case it is a 1.8, I added. I will see to check the link if it gives more details with xlog in 1.9 but beside of this I am curious how to log in the system.
– Thomas
Jan 13 at 12:42




Thanks, in my case it is a 1.8, I added. I will see to check the link if it gives more details with xlog in 1.9 but beside of this I am curious how to log in the system.
– Thomas
Jan 13 at 12:42















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416800%2fsystem-logging-for-unable-to-create-new-native-thread-by-jvm%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416800%2fsystem-logging-for-unable-to-create-new-native-thread-by-jvm%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?