web stats
CPU VM of Mirth is 98% - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2019, 11:45 PM
neotof neotof is offline
Mirth Guru
 
Join Date: Jun 2011
Posts: 218
neotof is on a distinguished road
Default CPU VM of Mirth is 98%

Hello,

I use Mirth Connect 3.5.2 on VM Centos with Mysql DB.

I Have 90 channels Started.

I'm having a recurring problem with CPU VM is 98% but only once a month (on average).

Workaround: I have to restart all the channels and the CPU of the VM then decreases to 15%

In my log:

HTML Code:
ERROR 2019-06-25 20:23:57,940 [TCP Receiver Thread on INTEGRATEUR EXACTO (043f32a8-6b6c-4fed-8391-bb44571d5e74) < pool-475-thread-1] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel 043f32a8-6b6c-4fed-8391-bb44571d5e74).
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at com.mirth.connect.model.transmission.framemode.FrameStreamHandler.read(FrameStreamHandler.java:120)
at com.mirth.connect.connectors.tcp.TcpReceiver$TcpReader.readBytes(TcpReceiver.java:807)
at com.mirth.connect.plugins.datatypes.hl7v2.ER7BatchAdaptor.getMessageFromReceiver(ER7BatchAdaptor.java:117)
at com.mirth.connect.plugins.datatypes.hl7v2.ER7BatchAdaptor.getNextMessage(ER7BatchAdaptor.java:106)
at com.mirth.connect.donkey.server.message.batch.BatchAdaptor.getMessage(BatchAdaptor.java:38)
at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchBatchMessage(SourceConnector.java:231)
at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchBatchMessage(SourceConnector.java:196)
at com.mirth.connect.connectors.tcp.TcpReceiver$TcpReader.call(TcpReceiver.java:591)
at com.mirth.connect.connectors.tcp.TcpReceiver$TcpReader.call(TcpReceiver.java:506)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
ERROR 2019-06-25 20:25:21,045 [TCP Receiver Thread on LAB_ALERTE_MOLISTOEPICARE (b704e1bc-d7e2-484e-b98d-54dd00cd26c0) < pool-447-thread-7] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel b704e1bc-d7e2-484e-b98d-54dd00cd26c0).
java.net.SocketException: Socket closed

ERROR 2019-06-25 20:25:52,293 [TCP Receiver Thread on LAB_MOLIS_HL7_RESULT (a2524e41-d293-49a4-85f8-e36e78b1c66b) < pool-579-thread-6] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel a2524e41-d293-49a4-85f8-e36e78b1c66b).
java.net.SocketException: Socket closed

ERROR 2019-06-25 20:25:52,301 [TCP Receiver Thread on LAB_MOLIS_KMEHR_RESULT (2352d2e6-1eb0-4bd4-8228-e64f01f80b7a) < pool-578-thread-6] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel 2352d2e6-1eb0-4bd4-8228-e64f01f80b7a).
java.net.SocketException: Socket closed

ERROR 2019-06-26 10:35:53,034 [TCP Receiver Thread on INTEGRATEUR EXACTO (043f32a8-6b6c-4fed-8391-bb44571d5e74) < pool-635-thread-1] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel 043f32a8-6b6c-4fed-8391-bb44571d5e74).
java.net.SocketException: Socket closed

ERROR 2019-06-26 10:35:53,045 [TCP Receiver Thread on LAB_ALERTE_MOLISTOEPICARE (b704e1bc-d7e2-484e-b98d-54dd00cd26c0) < pool-626-thread-1] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel b704e1bc-d7e2-484e-b98d-54dd00cd26c0).
java.net.SocketException: Socket closed

ERROR 2019-06-26 10:35:53,043 [TCP Receiver Thread on LAB_MOLIS_HL7_RESULT (a2524e41-d293-49a4-85f8-e36e78b1c66b) < pool-648-thread-2] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel a2524e41-d293-49a4-85f8-e36e78b1c66b).
java.net.SocketException: Socket closed

ERROR 2019-06-26 10:35:53,040 [TCP Receiver Thread on SurveillancePHILIPS2MIRTH (e67dbe04-a5fb-4e96-b4b8-97b8e66967f3) < pool-525-thread-1] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel e67dbe04-a5fb-4e96-b4b8-97b8e66967f3).
java.net.SocketException: Socket closed

ERROR 2019-06-26 10:35:53,049 [TCP Receiver Thread on LAB_MOLIS_KMEHR_RESULT (2352d2e6-1eb0-4bd4-8228-e64f01f80b7a) < pool-647-thread-2] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel 2352d2e6-1eb0-4bd4-8228-e64f01f80b7a).
java.net.SocketException: Socket closed

ERROR 2019-06-26 10:35:53,120 [TCP Receiver Thread on RapportPHILIPS2MIRTH (b5d1b3bc-c581-40cb-8bf2-86b8f8e3516d) < pool-601-thread-1] com.mirth.connect.connectors.tcp.TcpReceiver: Error receiving message (TCP Listener "Source" on channel b5d1b3bc-c581-40cb-8bf2-86b8f8e3516d).
java.net.SocketException: Socket closed
In my /var/log/mysqld.log

HTML Code:
2019-06-26T08:37:35.092039Z 14106 [Note] Aborted connection 14106 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092062Z 16 [Note] Aborted connection 16 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092079Z 12 [Note] Aborted connection 12 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092088Z 14075 [Note] Aborted connection 14075 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092095Z 14107 [Note] Aborted connection 14107 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092096Z 13 [Note] Aborted connection 13 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092100Z 14105 [Note] Aborted connection 14105 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092104Z 14078 [Note] Aborted connection 14078 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092108Z 7 [Note] Aborted connection 7 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092112Z 14085 [Note] Aborted connection 14085 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092115Z 14079 [Note] Aborted connection 14079 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
2019-06-26T08:37:35.092115Z 14092 [Note] Aborted connection 14092 to db: 'mirthdb' user: 'mirth' host: 'localhost' (Got an error reading communication packets)
SHOW GLOBAL STATUS LIKE 'aborted_clients'; ==> 34 (aborted_clients)

Do you have any idea about the cause of the problem?

Thank you
Reply With Quote
  #2  
Old 07-11-2019, 06:15 AM
kirbykn2's Avatar
kirbykn2 kirbykn2 is offline
Mirth Guru
 
Join Date: Sep 2014
Location: Michigan
Posts: 567
kirbykn2 is on a distinguished road
Default

Does the CPU usage steadily increase over time or is there an event that happens that causes the CPU to spike? Are you able to view the logs of the server os? What do those tell you?

https://www.percona.com/blog/2016/05...packet-errors/

Any recent changes/updates to your network?
__________________
Kirby

Mirth Certified|Epic Bridges Certified|Cloverleaf Level 2 Certified

Appliance Version 3.11.2
Mirth Connect Version 3.6.1
Java Version 1.6.0_45-b06
Java (64 bit) Version 1.6.0_45-b06
Java 7 (64 bit) Version 1.7.0_151-b15
Java 8 (64 bit) Version 1.8.0_121-b13
PostgreSQL Version 9.6.3
Reply With Quote
  #3  
Old 07-15-2019, 04:50 AM
neotof neotof is offline
Mirth Guru
 
Join Date: Jun 2011
Posts: 218
neotof is on a distinguished road
Default

Hi,

Thanks for your response.

Oui we are a lot network update, can you explain to me why that would have a link with the CPU of my VM, the other VMs are not impacted.

For me the CPU to spike(the CPU goes up once)

For the log, i find then var\log ==> mysqld.log I do not see anything else

Thanks
Reply With Quote
  #4  
Old 07-26-2019, 05:39 AM
neotof neotof is offline
Mirth Guru
 
Join Date: Jun 2011
Posts: 218
neotof is on a distinguished road
Default

UP
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation