CPVNMD high CPU [macOs 10.13]

CPVNMD high CPU [macOs 10.13]

Postby verstaerker » 02 Jan 2018, 17:54

sometimes the cpvnmd uses 100% CPU on one core

i can't really tell when and why it's happening .. it's on my macPro and my MBP

i can just kill it and then it's automatically restarting itself and all is good for some time
verstaerker
 
Posts: 55
Joined: 18 Sep 2015, 19:00

Re: CPVNMD high CPU [macOs 10.13]

Postby verstaerker » 05 Jan 2018, 13:06

anyone here?
verstaerker
 
Posts: 55
Joined: 18 Sep 2015, 19:00

Re: CPVNMD high CPU [macOs 10.13]

Postby CopperPhil » 05 Jan 2018, 13:29

Hello,

The first thing to do is to check if this issue still occurs if you disconnect any USB MIDI controller.

This kind problem is generally due to a broken 3rd party MIDI port handler after a MacOSX update. Some users using Korg or AVID hardware already reported this issue, and successfully fixed it by installing an updated version of their Korg or AVID software matching the new MacOSX version.

It has been also reported rarely in case of heavy Sysex transmission. Is it the case?
CopperPhil
 
Posts: 480
Joined: 30 Mar 2011, 15:02
Location: Brussels

Re: CPVNMD high CPU [macOs 10.13]

Postby verstaerker » 05 Jan 2018, 14:18

i have no Korg or Avid Software Installed .... but for sure a couple of USB Drivers for elektron-synth, roland and quite some others ...
i'm doing nothing when it happens .. so heavy sysex transmission doesn't seem to be the reason here

so i'll disconnect all usb-midi-devices and update the drivers where possible and see if it helps
verstaerker
 
Posts: 55
Joined: 18 Sep 2015, 19:00

Re: CPVNMD high CPU [macOs 10.13]

Postby CopperPhil » 05 Jan 2018, 14:28

.... and check that Elektron or Roland drivers are compatible with your MacOSX version. It happens that a driver is broken when you upgrade MaxOSX, and there is no notification about that. In this case, the system function we are using to open the MIDI port just freeze... and we have no way to guess that before trying to open the port.
CopperPhil
 
Posts: 480
Joined: 30 Mar 2011, 15:02
Location: Brussels

Re: CPVNMD high CPU [macOs 10.13]

Postby verstaerker » 14 Jan 2018, 19:39

it's hard to debug as it's not happening on a regular basis ... but today i started my MBP and the cpvnmd directly started using 100% cpu .. nothing was plugged into the MBP.

There's one thing wich i think could be a reason: i plugged in a networkcable via and usb-c adapter - and so the networkconfig was changing and i also plugged in an usb-harddrive

but both things are a typical scenario for me.. and the problem is not always appearing. pretty strange.

i foudn a log from cpvnmd ... i couldn't see any useful information for me
Attachments
cpvnmd_2018-01-14-182459_Tinos-MacBook-Pro.cpu_resource.diag.zip
(1.26 KiB) Downloaded 767 times
verstaerker
 
Posts: 55
Joined: 18 Sep 2015, 19:00

Re: CPVNMD high CPU [macOs 10.13]

Postby CopperPhil » 14 Jan 2018, 19:58

mmmhh... yes indeed the log file looks like the network receive thread is locked for some reason. Indeed, it could be related to a problem around the network interface. We already had to manage a similar issue with a Thunerbolt Ethernet plugged in the MacBook after the wake up from sleep while it was plugged in when going into sleep mode. The problem is not related to the network itself, it's safe to disconnect/reconnect from any network, but it seems that CopperLan is not notified and/or can't manage properly the events occurring on network interface changes on Mac.

I'll try to reproduce and fix, but in the meantime please check that your network interface is connected before waking up the computer.
CopperPhil
 
Posts: 480
Joined: 30 Mar 2011, 15:02
Location: Brussels

Re: CPVNMD high CPU [macOs 10.13]

Postby verstaerker » 22 Jan 2018, 00:38

i didn't happen over the last week .. so it seems not so terrible as i thought initially
verstaerker
 
Posts: 55
Joined: 18 Sep 2015, 19:00


Return to Bug report

cron