Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dmesg shows "... used greatest stack depth: xxx bytes left"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
boerns
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 164

PostPosted: Thu Feb 05, 2015 5:49 am    Post subject: dmesg shows "... used greatest stack depth: xxx bytes l Reply with quote

Hi,

what does these messages in dmesg mean:

[ 305.362895] kworker/dying (676) used greatest stack depth: 11896 bytes left
[ 1364.146634] patch (9914) used greatest stack depth: 11592 bytes left
[ 4868.461541] cc1 (5221) used greatest stack depth: 10920 bytes left
[13339.375000] cc1plus (1346) used greatest stack depth: 10504 bytes left
[13502.827982] kworker/dying (16153) used greatest stack depth: 9944 bytes left


In backgroud emerge -e system is running and memtester.

Greetings

Alex
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43546
Location: 56N 3W

PostPosted: Thu Feb 05, 2015 7:54 pm    Post subject: Reply with quote

boerns,

They are informational messages about what is happening on the kernel stack.
The stack is a dynamic memory structure of a fixed maximun size.
Running out of kernel stack space is a very bad thing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
boerns
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 164

PostPosted: Thu Feb 05, 2015 8:26 pm    Post subject: Reply with quote

What do you mean with "Very bad thing"?

Does it mean to less memory?
Wrong kernel-config?
CPU or Memory defect?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43546
Location: 56N 3W

PostPosted: Thu Feb 05, 2015 8:46 pm    Post subject: Reply with quote

boerns,

Haveing too big a stack is wasteful. You have 9944 bytes left, which is a safe margin.
If you run out of stack space and the kernel realises, it will panic, as it cannot continue.
If you overflow the stack, some other data structure may be will be overwritten. Effects depend on what gets overwritten.

Either outcome is bad.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum