Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Msngr high CPU usage on hub #32

Open
shortstheory opened this issue Aug 12, 2017 · 0 comments
Open

Msngr high CPU usage on hub #32

shortstheory opened this issue Aug 12, 2017 · 0 comments

Comments

@shortstheory
Copy link
Member

shortstheory commented Aug 12, 2017

Can be reproduced by running sudo bash scripts/runHublets.sh and then observing top output. It appears two instances of Msnger are spawned.

Output from runHublets.sh:

Processing with DIR as scripts and SWIFIIC_HUB_BASE as /opt/swifiic
Processing 
Launching suta/suta-hub.jar with in.swifiic.plat.app.suta.hub.Suta
Trying to create daemon for :: /usr/bin/java -Dfile.encoding=UTF-8 -classpath /opt/swifiic/suta/suta-hub.jar:/opt/swifiic/hub/lib/in-swifiic-hub.jar:/opt/swifiic/lib/hub/commons-codec-1.8.jar:/opt/swifiic/lib/hub/mysql-connector-java-5.1.29-bin.jar:/opt/swifiic/lib/common/simple-xml-2.7.1.jar:/opt/swifiic/lib/hub/log4j-api-2.2.jar:/opt/swifiic/lib/hub/log4j-core-2.2.jar:/opt/swifiic/lib/hub/log4j-jcl-2.2.jar:/opt/swifiic/lib/hub/log4j-jul-2.2.jar in.swifiic.plat.app.suta.hub.Suta :: with logas at /opt/swifiic/log/suta
Command tried is start-stop-daemon --start -p /opt/swifiic/pid/suta.pid -g swifiic -c swifiic -b -m --startas /bin/bash -- -c /usr/bin/java -Dfile.encoding=UTF-8 -classpath /opt/swifiic/suta/suta-hub.jar:/opt/swifiic/hub/lib/in-swifiic-hub.jar:/opt/swifiic/lib/hub/commons-codec-1.8.jar:/opt/swifiic/lib/hub/mysql-connector-java-5.1.29-bin.jar:/opt/swifiic/lib/common/simple-xml-2.7.1.jar:/opt/swifiic/lib/hub/log4j-api-2.2.jar:/opt/swifiic/lib/hub/log4j-core-2.2.jar:/opt/swifiic/lib/hub/log4j-jcl-2.2.jar:/opt/swifiic/lib/hub/log4j-jul-2.2.jar in.swifiic.plat.app.suta.hub.Suta
process already running.
Processing 
Launching msngr/msngr-hub.jar with in.swifiic.app.msngr.hub.Messenger
Trying to create daemon for :: /usr/bin/java -Dfile.encoding=UTF-8 -classpath /opt/swifiic/msngr/msngr-hub.jar:/opt/swifiic/hub/lib/in-swifiic-hub.jar:/opt/swifiic/lib/hub/commons-codec-1.8.jar:/opt/swifiic/lib/hub/mysql-connector-java-5.1.29-bin.jar:/opt/swifiic/lib/common/simple-xml-2.7.1.jar:/opt/swifiic/lib/hub/log4j-api-2.2.jar:/opt/swifiic/lib/hub/log4j-core-2.2.jar:/opt/swifiic/lib/hub/log4j-jcl-2.2.jar:/opt/swifiic/lib/hub/log4j-jul-2.2.jar in.swifiic.app.msngr.hub.Messenger :: with logas at /opt/swifiic/log/msngr
Command tried is start-stop-daemon --start -p /opt/swifiic/pid/msngr.pid -g swifiic -c swifiic -b -m --startas /bin/bash -- -c /usr/bin/java -Dfile.encoding=UTF-8 -classpath /opt/swifiic/msngr/msngr-hub.jar:/opt/swifiic/hub/lib/in-swifiic-hub.jar:/opt/swifiic/lib/hub/commons-codec-1.8.jar:/opt/swifiic/lib/hub/mysql-connector-java-5.1.29-bin.jar:/opt/swifiic/lib/common/simple-xml-2.7.1.jar:/opt/swifiic/lib/hub/log4j-api-2.2.jar:/opt/swifiic/lib/hub/log4j-core-2.2.jar:/opt/swifiic/lib/hub/log4j-jcl-2.2.jar:/opt/swifiic/lib/hub/log4j-jul-2.2.jar in.swifiic.app.msngr.hub.Messenger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant