From unresponsive to high CPU

Posted on
Sat Dec 25, 2021 11:27 am
vitaprimo offline
User avatar
Posts: 37
Joined: Jul 12, 2016
Location: La Paz, Baja California Sur. MX.

From unresponsive to high CPU

In the last few days Indigo started to become unresponsive after a few hours, sometimes less than one, which would need to ARD/VNC into the host to restart the server (Indigo's server daemon, not the host) at which point it'd be available again for clients to connect to it.

Before this the last change I made was adding a POP account. The server didn't have enabled POP access so Indigo reported it in the log every minute. But it was when the message ReceivedConnRequestTCP_ts() caught exception: SocketError -- socket accept error appeared that it would need to be restarted.

I found this other thread with a similar error but it wasn't solved. It did mention something about email briefly near the end reenforcing my suspicion it was related to that so I enabled POP in the email server and verified it that it worked. Restarted Indigo Server and confirmed that the errors cleared. It didn't become unresponsive anymore after that either.

After a few hours I checked the server and noticed it was rather clumsy--slow. There were no errors in Indigo's log. Then I noticed Indigo was using 200% of CPU. It would spike to that usage about a minute or less after starting. This is the server process, not the plugin host processes nor the client process. Regardless, I started disabling plugins to rule them out until I got inpatient and just stopped the server to disable them all at once but it made no difference when I started back the server. About a minute after, it would spike the CPU to 200% again and hold it there.

I switched focus and I upgraded the OS from High Sierra to Mojave — if you can that an upgrade — but it wasn't fixed. I tried plugging in the PowerLinc modem in another USB port of the hub-workaround-thing it's on and changed the hub itself to another port on the Mac as well but nothing improved the situation.

What causes this? Is it well-known? Could something like a corrupt database be the culprit--I ask because I'm OK wiping the computer or moving it to another computer and wiping that too, but I'm not looking forward to manually enter my whole database manually if it has become damaged and I need to start from scratch. :/

Hopefully it's a known thing.

Indigo Pro 7.0.4 on macOS 10.13.6->10.14.6.

I'll bet you think this post is about you. Don't you. ♪

Posted on
Sat Dec 25, 2021 3:38 pm
matt (support) offline
Site Admin
User avatar
Posts: 21416
Joined: Jan 27, 2003
Location: Texas

Re: From unresponsive to high CPU

The 3rd party email client Indigo used was pretty buggy when used with some mail servers so we updated it to use a much more reliably Python client in Indigo 2021.1. I suspect if you upgrade to 2021.1 (or 2021.2) it will work much more smoothly.

Image

Posted on
Sun Dec 26, 2021 5:33 pm
vitaprimo offline
User avatar
Posts: 37
Joined: Jul 12, 2016
Location: La Paz, Baja California Sur. MX.

Re: From unresponsive to high CPU

Yeah, it was that. Thanks for answering.

It kept trying to check for email after disabling it though. It took a few more manual server stops to be set. It seemed as if data wasn't being written to disk. I wasn't long since it was upgraded but just to be safe I checked its health offline--it was OK. Maybe the additional load was keeping resources occupied, IDK. It's fine now. :)

I'll bet you think this post is about you. Don't you. ♪

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests