# Nwjs runaway process?

**URL:** <https://forum.pinegrow.com/t/nwjs-runaway-process/5533>\
**Category:** Bug Reports\
**Tags:** bug\
**Created:** [August 10, 2021, 3:57pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533 "2021-08-10T15:57:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrSidX](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mrSidX](https://forum.pinegrow.com/u/mrSidX)\
**Post date:** [August 10, 2021, 3:57pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/1 "2021-08-10T15:57:06Z")

</div>

Was using Pinegrow recently, 6.0, and had recently downloaded and updated to 6.1 as of last night… Throughout the night my system was running with high fans, so I closed all apps.  
I’m on a Mac, and the fans still running, so I looked at the processes and seen 2 nwjs Helper (Renderer) processes running at around 80%+ CPU.

I double checked these and seen Pingrow.app as the source to these nwjs instances.

All supposedly has been closed on the Pinegrow end, and still I have these running seemingly full blast? A force quit settled things down… Though, I’m curious how these managed to stick around doing whatever they do, at 80%+ CPU. Any Idea WHAT it’s still doing? I’d hope they are caught in some null processing loop.

Is this a bug issue?

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [August 10, 2021, 5:37pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/2 "2021-08-10T17:37:45Z")

</div>

Hi @mrSidX,  
Could you please give us a few more details about your operating system/computer model? Also, keep us posted if this occurs again. I typically don’t see much more than a transient 30% CPU usage running the latest Pinegrow on 10.14.6, 3GHz i5.  
Thanks,  
Bob

---

<div class="post-metadata">

**Author:** ![mrSidX](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mrSidX](https://forum.pinegrow.com/u/mrSidX)\
**Post date:** [August 15, 2021, 5:15pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/3 "2021-08-15T17:15:33Z")

</div>

Hey Rob,

Thanks for the reply…

This issue occurred on my Mac running 10.15, and was with the nwjs process invoked by Pinegrow.  
I have not yet seen this issue repeat. I was on Pinegrow 6.0, and happened to be downloading and updating to 6.1 at the time. Not sure if this update transition was the cause as the version 6.0 was still running in memory. I then noticed the fans and closed apps, had Pinegrow closed and the (2x nwjs) processes stayed in process at 80% CPU usage each.

I have yet to replicate this issue on the same machine/ environment, or any other environment. Perhaps it was a transitional glitch, or maybe remedied within the update? The transition (update) was done with 6.0 still running, and noticed the issue between closing the 6.0 instance, and prior to running the 6.1 (newly installed) instance of Pinegrow.

I will be keeping an eye out for this in the future when CPU fans are audible, and apps are closed. I will report asap if and when this occurs again.  
Hopefully then I can provide more details.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [August 15, 2021, 5:49pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/4 "2021-08-15T17:49:16Z")

</div>

Thanks for the reply. I don’t think that there were any underlying NWJS changes between 6.0 and 6.1.

---

<div class="post-metadata">

**Author:** ![mrSidX](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mrSidX](https://forum.pinegrow.com/u/mrSidX)\
**Post date:** [August 16, 2021, 12:58am UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/5 "2021-08-16T00:58:10Z")

</div>

Do you think anyhow that the NJWS instances went awol when Pinegrow 6.1 got “patched” over when 6.0 was running?  
Possibly an internal V8 issue? Maybe it didn’t hear the termination event call? Just throwing out some what ifs…  
But like I said, I’ve not re-encountered the issue yet. When it does, I will report back and provide any dumps, or debug messages you’d like.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [August 16, 2021, 9:11am UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/6 "2021-08-16T09:11:47Z")

</div>

It is possible. When we test we are upgrading and downgrading all the time. Sounds like a random hiccup. Thanks for the offer - it will make trouble-shooting a lot easier.

---

<div class="post-metadata">

**Author:** ![mrSidX](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mrSidX](https://forum.pinegrow.com/u/mrSidX)\
**Post date:** [September 3, 2021, 6:00am UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/7 "2021-09-03T06:00:55Z")

</div>

OK, I got the issue to replicate, or at least happen again.

I’ve taken a screen shot to show the Pinegrow icon indicates that the process is not running. The nwjs process is still running in the Activity Monitor.

 ![Screen Shot 2021-09-02 at 10.48.19 PM](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/a/a624be98a115ebd83a9bc04ed4176cf272654aac.jpeg)

I saved the spindump data into a txt file, but can’t seem to upload and share on this thread.  
I would be happy to email you a copy if you’d like to see it.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [September 3, 2021, 9:12am UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/8 "2021-09-03T09:12:08Z")

</div>

Yeah, if you could email the file to [support@pinegrow.com](https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=support@pinegrow.com) it would be great.  
Thanks,  
Bob

---

<div class="post-metadata">

**Author:** ![mrSidX](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mrSidX](https://forum.pinegrow.com/u/mrSidX)\
**Post date:** [September 10, 2021, 6:27pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/9 "2021-09-10T18:27:12Z")

</div>

Her RobM,

Will do that now. Sorry been busy lately, else would’ve sent sooner.

Thanks

**EDIT:**  
It appears I didn’t save the file at the time like I thought I did. As soon as I can regenerate a new one I will send to support immediately…

Thanks for your patience.

---

<div class="post-metadata">

**Author:** ![timbowerbank](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@timbowerbank](https://forum.pinegrow.com/u/timbowerbank)\
**Post date:** [November 24, 2021, 1:17pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/10 "2021-11-24T13:17:18Z")

</div>

Hi,

I’m getting an NWJS Helper problem too with Pinegrow 6.1. See attached screengrab.  
 ![Screenshot 2021-11-24 at 13.15.30](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/2d12b7ac9ab9304387d99800b66b159bbff1f619.png)

---

<div class="post-metadata">

**Author:** ![timbowerbank](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@timbowerbank](https://forum.pinegrow.com/u/timbowerbank)\
**Post date:** [December 3, 2021, 12:03pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/11 "2021-12-03T12:03:54Z")

</div>

Still getting Pinegrow triggering the fan coincides with NWJS. See screen grabs.  
 ![Screenshot 2021-12-03 at 12.01.44](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/4/4116d01626dbc19de55aff1babbdd65d3c33b78b.png)  
 ![Screenshot 2021-12-03 at 12.01.52](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/e/ea9eb06ad25050b2a7a4630508fece8e9de5de29.png)

Both the renderer and the GPU are related to Pinegrow.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 3, 2021, 9:28pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/12 "2021-12-03T21:28:03Z")

</div>

We have an experimental fix for this issue on Pinegrow Live (a special PG version that loads the latest PG code straight from our server). This lets us quickly publish big fixes and address any issues.  
Please give it a try and let me know if there is any improvement:

> **[Pinegrow Live update log | Pinegrow Web Editor](https://docs.pinegrow.com/download/pinegrow-live/pinegrow-live-update-log/#6-21-1-dec-1-2021)**
>
> The exciting story of Pinegrow Live updates.

---

<div class="post-metadata">

**Author:** ![schpengle](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/schpengle/32/238_2.png) [@schpengle](https://forum.pinegrow.com/u/schpengle)\
**Post date:** [December 3, 2021, 9:29pm UTC](https://forum.pinegrow.com/t/nwjs-runaway-process/5533/13 "2021-12-03T21:29:51Z")

</div>

Downloading… 😉 yet more useless characters…just so its over 20 and will post
