Jump to content
LSL1337

containered.toml -- log-level error [htop] - After a few days constant extra 10% CPU usage

17 posts in this topic Last Reply

Recommended Posts

After a few days of running, I can see in the stats window, that my cpu usage is 15%, compared to the normal 4-5% constantly (if nothing else is running, on a daily, weekly stats chart)

 

If I restart docker, it doesn't solve it (In settings, docker enable No, than back to yes)

If I restart the server, I think it solves it sometimes, for a few days, than it starts again.

 

I think it started around the time, when I changed some docker log settings or after i switch my cache to encrypted xfs

It starts to bother me now, cos if this writes to SSD so much log constantly, that it takes up 10% CPU, it will just kill my SSD in a few months (Or var/run/ is all in RAM?)

 

my docker.img is less than 50%, log is 1% in the dashboard.

 

If I run a htop, I get the following results:

image.png.411234707f96e72a3c97f3850c08669a.thumb.png.2c2b2060c1617536b777f4fb7573e9e6.png

My cache drive is now XFS encrypted for a few months, i though it would solve this occasional btrfs csum error. I was wrong, as the docker img is still btrfs...

Any ideas?

Thank you!

Share this post


Link to post

So am I the only one with this issue, and noone has any idea.

This is not github on an open source free loveproject.

 

This is a paid software, right?

Share this post


Link to post
On 5/26/2020 at 4:08 AM, LSL1337 said:

This is a paid software, right?

Yes, but by and large the community of volunteers is who does the support

 

And without diagnostics being posted, no one is going to be able to help.  But, your first course of diagnosis is to start shutting down your containers one at a time and then see when that disappears.  Personally though, I don't particularly worry about CPU % being utilized.  If the CPU has something to do, then it has something to do.

 

And the stats window isn't particularly the best place to guage what the server is actually doing because both it (and the dashboard) do consume CPU cycles.  

 

Your load average over the last 15 minutes of the screen shot is 0.68 which is basically nothing on an 8 core system.

 

Now, if your writes to the SSD are increasing exponentially, then that is a different story.

Share this post


Link to post
1 hour ago, Squid said:

Yes, but by and large the community of volunteers is who does the support

 

And without diagnostics being posted, no one is going to be able to help.  But, your first course of diagnosis is to start shutting down your containers one at a time and then see when that disappears.  Personally though, I don't particularly worry about CPU % being utilized.  If the CPU has something to do, then it has something to do.

 

And the stats window isn't particularly the best place to guage what the server is actually doing because both it (and the dashboard) do consume CPU cycles.  

 

Your load average over the last 15 minutes of the screen shot is 0.68 which is basically nothing on an 8 core system.

 

Now, if your writes to the SSD are increasing exponentially, then that is a different story.

first of all, thanks for the reply.

second: if the baseline would be 15%, i wouldn't care about it, but it is less than 5% (has been for years, without plex transcoding), so the system is doing something, which it shouldn't/ didn't before.

based on htop, it might have something to do with containered.toml, which could indicate possible  drive usage. this is a 1 line txt file. if it has 10% cpu usage, that would mean something is very wrong...

 

i stopped my containers one by one, and the cpu usage decreased proportionally, which means it's not a single docker which causes the issue, it could be with the docker engine itself.

 

Diagnostics attached

lsl-nas-diagnostics-20200527-1300.zip

Share this post


Link to post

I changed back my cache drive from encrypted xfs back to xfs, but the issue still persist.

 

I can't be the only one with this issue...

Share this post


Link to post

Noone? Nothing? I tryed updating to Version: 6.9.0-beta29, same thing happening.

Share this post


Link to post

still nothing, I've given up.

What dockers do you run, what motherboard do you have, cpu etc.

maybe we can pinpoint something

Share this post


Link to post

are you f'in kidding me? @ich777

it works

why does it have any impact even, and why is it ok for a few days after boot?

is this a bug, or a feature?

and it has impact, when the ui is not even open

 

I can't even find the words...

how many people does this impact btw?

 

@INTEL check the previous post

Edited by LSL1337

Share this post


Link to post

I'm still speechless. Thanks very much.

Is there a way to get advanced view without this extra side effect? whatever, i can always toggle it off.

Share this post


Link to post
Just now, LSL1337 said:

are you f'in kidding me? @ich777

it works

I know ;)

 

1 minute ago, LSL1337 said:

why does it have any impact even, and why is it ok for a few days after boot?

is this a bug, or a feature?

Both, I will report that directly to @limetech it's more kind of a bug but not sure if it's easily fixable... :P

 

1 minute ago, LSL1337 said:

and it has impact, when the ui is not even open

Yep, I won't get to technical. :D

 

I know what it is and I will report back about my findings. ;)

 

Share this post


Link to post
23 minutes ago, ich777 said:

I know ;)

 

Both, I will report that directly to @limetech it's more kind of a bug but not sure if it's easily fixable... :P

 

Yep, I won't get to technical. :D

 

I know what it is and I will report back about my findings. ;)

 

GOD TIER :D

Share this post


Link to post

Can't belive this works! Just disabled advenced view and cpu dropped. 

No more .toml in htop

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.