Eclipse (Swing or WebUI) use 100 % cpu

163 views
Skip to first unread message

dadan su

unread,
Sep 5, 2017, 1:02:13 PM9/5/17
to iDempiere
Hi, community.

I use eclipse juno and idempiere 4.1. After run swing client or idempiere server from eclipse , after 2-3 hours , the computer is very slow, and eclipse (java) use 100 % cpu.
Anyone experience with this ? What does cause it ?
I cannot have problem if i run old compiere from this eclipse juno.
What does background process after 2-3 hours running idempiere from eclipse ? Please help.


Dadan.

Victor Suárez

unread,
Sep 5, 2017, 10:28:23 PM9/5/17
to iDempiere
I have an i3 processor, 6GB of RAM, Java 8, Debian, eclipse neon, and I've never had that problem. 
What resources does your computer have?

Regards.

dadan su

unread,
Sep 5, 2017, 10:38:51 PM9/5/17
to iDempiere

Hi, Victor S.

My computer spec is i7, 16 GB of RAM, java 8, Windows 10, eclipse juno.
Ok, I will try to upgrade eclipse to Neon , maybe it is juno bug ?
Thanks.

Dadan.

dadan su

unread,
Sep 6, 2017, 12:42:50 PM9/6/17
to iDempiere
I tried to use eclipse neon , and problem is still same.
Exactly after 2 hour , web ui or swing client will use almost 100 % cpu. Is there any idempiere background process every 2 hours ?

This is screenshot from jvisualvm

Auto Generated Inline Image 1

dadan su

unread,
Sep 7, 2017, 12:24:11 AM9/7/17
to idem...@googlegroups.com
Apparently the cause is hazelcast. anybody know how to fix it ? how to disable hazelcast in idempiere ? 
Here is the log top thread when the cpu is 100 % :

182.8% CPU Usage by Thread 'hz._hzInstance_1_adempiere.idempiere19072017/ASUSROG.IO.thread-out-1'
10/10 snapshots sharing following 3 elements
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
com.hazelcast.nio.tcp.AbstractIOSelector.run(AbstractIOSelector.java:133)

181.3% CPU Usage by Thread 'hz._hzInstance_1_adempiere.idempiere19072017/ASUSROG.IO.thread-in-2'
8/10 snapshots sharing following 7 elements
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296)
sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
com.hazelcast.nio.tcp.AbstractIOSelector.run(AbstractIOSelector.java:133)
2/10 snapshots sharing following 6 elements
sun.nio.ch.WindowsSelectorImpl.resetWakeupSocket0(Native Method)
sun.nio.ch.WindowsSelectorImpl.resetWakeupSocket(WindowsSelectorImpl.java:473)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:174)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
com.hazelcast.nio.tcp.AbstractIOSelector.run(AbstractIOSelector.java:133)

176.6% CPU Usage by Thread 'hz._hzInstance_1_adempiere.idempiere19072017/ASUSROG.IO.thread-in-0'
4/10 snapshots sharing following 6 elements
sun.nio.ch.WindowsSelectorImpl.resetWakeupSocket0(Native Method)
sun.nio.ch.WindowsSelectorImpl.resetWakeupSocket(WindowsSelectorImpl.java:473)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:174)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
com.hazelcast.nio.tcp.AbstractIOSelector.run(AbstractIOSelector.java:133)
5/10 snapshots sharing following 7 elements
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296)
sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
com.hazelcast.nio.tcp.AbstractIOSelector.run(AbstractIOSelector.java:133)
Unique snapshot
java.lang.Object.notifyAll(Native Method)
sun.nio.ch.WindowsSelectorImpl$StartLock.startThreads(WindowsSelectorImpl.java:189)
sun.nio.ch.WindowsSelectorImpl$StartLock.access$300(WindowsSelectorImpl.java:181)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:153)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
com.hazelcast.nio.tcp.AbstractIOSelector.run(AbstractIOSelector.java:133)


--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/1G2Rg4luMEo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/cfeb2fe7-725b-4beb-936a-6ddd9157d29a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Victor Suárez

unread,
Sep 7, 2017, 3:35:48 PM9/7/17
to iDempiere
Hi Dadan. 

I also think the problem is Hazelcast, but I do not see that consumption, although I have much less resources. It's very strange, your iDempiere is updated?

Regards!.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

dadan su

unread,
Sep 7, 2017, 9:49:31 PM9/7/17
to idem...@googlegroups.com
Hi, Victor

Yes, my idempiere is the latest update. May be the problem is windows 10 ? The strange thing that it's exactly 2 hours after running client/server, the hazelcast is going crazy.


Dadan.

To unsubscribe from this group and all its topics, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/3370659b-64fa-4d9f-aed9-d37fd70b12e7%40googlegroups.com.
Message has been deleted

dadan su

unread,
Sep 8, 2017, 5:21:01 AM9/8/17
to idem...@googlegroups.com
Yes, i have do it. And the problem is gone. Thank you.

Dadan.

On Fri, Sep 8, 2017 at 10:28 AM, Anozi Mada <anoz...@gmail.com> wrote:
If you want to disable hazelcast in your eclipse you can go to Run/Debug Configurations, go to tab Plug-ins, and uncheck hazelcast related plugin/fragment.

Regards,
Anozi Mada
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/1G2Rg4luMEo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+unsubscribe@googlegroups.com.

Victor Suárez

unread,
Sep 8, 2017, 7:38:45 PM9/8/17
to iDempiere
May be Windows 10 the problem. I was reading and other people have had problems with Hazelcast in W10.
Reply all
Reply to author
Forward
0 new messages