LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-19-2021, 08:44 PM   #1
TsVk!
LQ Newbie
 
Registered: Jul 2016
Location: Australia
Distribution: Debian
Posts: 19

Rep: Reputation: Disabled
System becomes unresponsive if left idle


Current stable Debian becomes unresponsive if left idle sometimes. Sometimes after one day, sometimes after 3 days.

Mouse cursor moves on black screen but system does not respond to ping, ssh or keyboard commands. No error I can discern in logs. It just freezes.

Any ideas how to diagnose and correct?

Thanks
 
Old 12-20-2021, 02:56 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
I guess I would try memtest, check disks, PSU. Probably I would run some monitoring tool continuously.
 
1 members found this post helpful.
Old 12-20-2021, 03:01 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
How much free space do you have in your root partition?

How much free memory? Does it get used up over time?

Check the syslog file for clues but it is possible you are running some process that has a memory leak.
 
1 members found this post helpful.
Old 12-20-2021, 04:32 PM   #4
TsVk!
LQ Newbie
 
Registered: Jul 2016
Location: Australia
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
I don't appear to have any storage or memory issues at this moment. Barely scratching my reserves.

I do tend to leave my computer on for weeks or even months so it could happen slowly over time.

Will set up a cron job to log memory usuage, see what happens over time.

Thanks for the ideas.
 
Old 12-21-2021, 02:14 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
Usually you can catch something in the logs right before the crash (like kernel panic) or look for coredumps. But in your special case probably I would implement a health check script to see if network, disk, ram, temperature, some processes are ok. And also would be nice to know if the kernel is still alive. Did you check the logs of X too?
 
Old 12-21-2021, 05:33 PM   #6
TsVk!
LQ Newbie
 
Registered: Jul 2016
Location: Australia
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Yeah I checked pretty much every log. Nothing of interest.

Did a BIOS update, just in case.

Included CPU, GPU, and memory stats into the monitor job already.

I'm about to go away so this computer will have until 4th Jan from today. Hopefully will recreate the issue and get some meaningful data.
 
Old 12-31-2021, 09:37 AM   #7
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
Is this a "power management" issue? I've had struggles with systems not fully suspending/sleeping or resuming.

Is the system suspended? and not resuming? had it fully completed suspend? does it had during resume? Or are these disabled?
 
Old 01-04-2022, 10:51 PM   #8
TsVk!
LQ Newbie
 
Registered: Jul 2016
Location: Australia
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Came back to the machine today and it's stable, for the moment.

I'll update this thread when it happens again.
 
Old 04-20-2022, 09:39 PM   #9
TsVk!
LQ Newbie
 
Registered: Jul 2016
Location: Australia
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Well, it's still up and the problem seems to have vanished. ¯\_(ツ)_/¯

I've restarted once for a kernel update, but that's it. It's ticking along just fine.

Thanks for your input everyone. It's typical that the issue would magically disappear once I asked for help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer detecting right-click as left-click, left-click as left-click and middle with 2 fingers pressed as right-click Festerdam Linux - Newbie 5 06-19-2017 05:41 PM
dhcp becomes "unresponsive" for a moment, or completely b0uncer Linux - Networking 2 10-11-2006 10:43 AM
mandriva 2006 - wireless interface ra0 becomes unresponsive via_strass Linux - Wireless Networking 0 02-25-2006 02:46 PM
KDE crashes and becomes unresponsive Alexio Linux - Newbie 6 01-23-2006 06:56 PM
ssh becomes unresponsive after several minutes of idling k4zau Linux - Software 4 10-27-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration