question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OS X: Increased CPU usage in drivelist perl regular expression

See original GitHub issue
  • Etcher version: 1.0.0 beta10

  • Operating system and architecture: Mac X 10.12.4

  • Do you see any meaningful error information on DevTools? Nope!

I used this tool, serveral days, very interesting and useful. But, after writing some image file, raspbian zipped image. etcher remains some ‘perl’ processes like below.


perl -n -e/\((\d+)\sBytes\)/ && print $1

and I followed this process then found more

~$ ps -ef |grep 21296
  501 21296 21292   0 화05AM ??       878:52.60 perl -n -e/\((\d+)\sBytes\)/ && print $1

~$ ps -ef|grep 21292
  501 21292 21196   0 화05AM ??         0:00.00 /bin/bash /var/folders/mn/prcr5p_95vx_m1rx342svyvc0000gn/T/.io.resin.etcher.G7bxhO
  501 21296 21292   0 화05AM ??       879:35.17 perl -n -e/\((\d+)\sBytes\)/ && print $1

@ ~$ ps -ef |grep 21196
  501 21196     1   0 화05AM ??         0:00.01 /bin/bash /var/folders/mn/prcr5p_95vx_m1rx342svyvc0000gn/T/.io.resin.etcher.G7bxhO
  501 21292 21196   0 화05AM ??         0:00.00 /bin/bash /var/folders/mn/prcr5p_95vx_m1rx342svyvc0000gn/T/.io.resin.etcher.G7bxhO

it did not sleep my computer and processing something… i don’t know it make overheat my macbook, all time 60~65 degree and run fans through 3500~4000 rpms.

when i kill theses process my computer back to normal condition and very cool.

I will try 1.0.0 rc2 and check and monitor this happend. thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:25 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
pixeltrixcommented, Sep 22, 2017

FYI, I just had to kill an Etcher perl process:

perl -n -em{^/dev/disk0(s[0-9]+)? on (.*) \(.*\)$} && print "$2\n"

It was still consuming 99% of a CPU core many hours after I’d quit Etcher. This was on Mac OS Sierra 10.12.6 using Etcher 1.1.2. Seems like this is still a problem?

1reaction
jviotticommented, Apr 24, 2017

I just experienced this issue. Perl was taking a decent amount of CPU on my MacBook Pro, even though I had closed Etcher long ago. I can’t manage to reproduce again neither 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

Q: perl overloading CPU for no reason - Apple Discussions
If I select perl and quit it the CPU usage (and the fan noise) stops, and perl doesn't appear to restart unless I...
Read more >
Solved: perl script taking too much cpu time - HPE Community
we are using a perl script for parsing log files. we noted it is taking 94% cpu time which is too high i...
Read more >
HostMonitor - KS-Soft
This allows you to show CPU Usage test items with CPU load between 50% and 80% using different color/sorting mode. Example #2: You...
Read more >
Untitled
Espresso timeline, Logitech gamepads for mac, Joseph golcher rifle! ... Beachhead restaurant, Kariza wrap dress pattern, 6203 summit bridge rd, ...
Read more >
OS X Mavericks Preview has very high CPU usage - Super User
Once I click "Done" to dismiss the find bar and its associated sidebar, the CPU usage goes back to normal. So if you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found