unable to create new native thread as non-root user [message #1749693] |
Fri, 09 December 2016 12:56  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04227 seconds