Skip to main content



      Home
Home » Eclipse Projects » Kura » unable to create new native thread as non-root user
unable to create new native thread as non-root user [message #1749693] Fri, 09 December 2016 12:56 Go to next message
Eclipse UserFriend
Hi

I want to run Kura 1.4.0 on a WindRiver gateway based on Quark SoC X1000 as a non root user.

If I run kura as root, everything is fine and I don't get any errors.
If I run kura as a non privileged user I get the following error:

2016-12-09 INFO  LinuxUdevNative:250 - Starting LinuxUdevNative Thread ...
2016-12-09 INFO  Server:253 - jetty-8.1.3.v20120522
2016-12-09 WARN  AbstractLifeCycle:199 - FAILED qtp6874458{8<=4<=4/254,0}: java.lang.OutOfMemoryError: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Unknown Source)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.startThread(QueuedThreadPool.java:436)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.doStart(QueuedThreadPool.java:103)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
 


Is there any way to fix it or I necessarily need to run as root?
Re: unable to create new native thread as non-root user [message #1749709 is a reply to message #1749693] Fri, 09 December 2016 17:12 Go to previous message
Eclipse UserFriend
Hello,

Kura is intended to be run with super user privileges. There are times the framework needs to access various system directories and needs proper permissions. If you must run Kura with a different user, it may be some trial and error to find the minimal set of permissions. At the very least, Kura will need access to: /opt/eclipse, /tmp, /var/log. If you are using the version of Kura that provides network support the list will get much longer.

Thanks,
--Dave
Previous Topic:Classcast exception
Next Topic:Emulator error: Error performing operation on store. Store capacity exceeded
Goto Forum:
  


Current Time: Wed Jul 30 14:33:25 EDT 2025

Powered by FUDForum. Page generated in 0.07102 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top