TNASDBD Process using 100% cpu

CPU, memory, fan, process, services status, system log, tempreture
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

There were a couple of new notifications this morning. The database size had grown to 9 rows. CPU usage was up again. I cleared the notifications, the databases back to 4 rows, and CPU usage is high again:
Screenshot 2021-06-02 072051.png
Screenshot 2021-06-02 072051.png (21.8 KiB) Viewed 3465 times
This is ridiculous. Nearly 70% CPU for such a tiny dataset :cry:
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: TNASDBD Process using 100% cpu

Post by TMSupport »

Please advise whether it’s ok to let our engineer has a remote session to check it. Please contact support team to confirm it.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

TMSupport wrote: 03 Jun 2021, 11:23 Please advise whether it’s ok to let our engineer has a remote session to check it. Please contact support team to confirm it.
I don't allow Internet access to or from my NAS and I don't want to switch it on. So I don't really see how a remote session would help?
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

If I look at info using redis client I can see the following:
rdb_changes_since_last_save:203

I have looked at this every day since realising that it was potentially an issue with redis. It is always around 200 and sometimes more. Yesterday it was 279. I still suspect that redis is scanning all my data and not just notifications.
User avatar
titanrx8
Posts: 222
Joined: 17 Jul 2020, 06:17

Re: TNASDBD Process using 100% cpu

Post by titanrx8 »

{L_BUTTON_AT}Scrums

Do you have Clam installed? I get CPU exceeded 100% admin notifications overnight. There's no detail. When I shut down Clam, the notifications don't happen.
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

{L_BUTTON_AT}Scrums
titanrx8 wrote: 03 Jun 2021, 22:53 Do you have Clam installed? I get CPU exceeded 100% admin notifications overnight. There's no detail. When I shut down Clam, the notifications don't happen.
No. To install applications I would need Internet access
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

# Persistence
loading:0
rdb_changes_since_last_save:390
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

Scrums wrote: 04 Jun 2021, 02:50 # Persistence
loading:0
rdb_changes_since_last_save:390
So that's nearly 200 changes since this morning with no Internet access…
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

Scrums wrote: 04 Jun 2021, 02:52
Scrums wrote: 04 Jun 2021, 02:50 # Persistence
loading:0
rdb_changes_since_last_save:390
So that's nearly 200 changes since this morning with no Internet access…
My husband uploaded some files to our media folder. He's not sure how many. I'm still certain that Redis is scanning all my data. I would understand that if it were in itself a virus scanner designed to protect my NAS. As it stands it feels like quite the opposite.
Scrums
Posts: 36
Joined: 26 Jan 2020, 20:34

Re: TNASDBD Process using 100% cpu

Post by Scrums »

127.0.0.1:6379> DBSIZE
(integer) 4

rdb_changes_since_last_save:146
Attachments
Screenshot 2021-06-04 065635.png
Screenshot 2021-06-04 065635.png (7.86 KiB) Viewed 3423 times
Locked