LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-11-2019, 09:10 AM   #1
homer_3
Member
 
Registered: May 2008
Posts: 99

Rep: Reputation: 15
Centos 7 keeps freeing up?


I have a fairly fresh install of Centos 7 and it keeps randomly freezing up for ~30 seconds at a time. Like I'll be trying to tab complete something in the terminal, and the whole machine will lock up for a while or I'll be scrolling down throw a small text file in vim and again it will just lock up. I tried keeping top up to see if something is spiking the CPU, but top freezes too and when it comes back, it's not showing anything even above 10%.

I'm wondering if it's some kind of power save on the HDD but I can't find any power save settings anywhere. Anyone else see anything like this and know how to fix it?
 
Old 11-11-2019, 09:18 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
How much memory do you have? Is this something that had started recently. Possibly memory or drive going bad? Was there a reason for a fresh install?

Last edited by colorpurple21859; 11-11-2019 at 09:19 AM.
 
Old 11-11-2019, 09:37 AM   #3
homer_3
Member
 
Registered: May 2008
Posts: 99

Original Poster
Rep: Reputation: 15
It's a brand new machine (~2 months old) with an i7-8700 and 16GB RAM. I didn't really notice it happening when I was setting it up, but didn't really use it too much until last week, but I didn't notice this issue until today. Only difference is today, I'm using it directly instead of remoting into it, but you'd think it'd perform better in that case.

Also ran badblocks but it didn't find anything.

Last edited by homer_3; 11-11-2019 at 10:03 AM.
 
Old 11-11-2019, 10:55 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
I'm using it directly instead of remoting into it, but you'd think it'd perform better in that case.
That is strange, maybe a video driver problem, since it is worse when using the machine directly.
 
Old 11-11-2019, 11:06 AM   #5
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
Pressing TAB for bash completions utilize /tmp.
Please check that /tmp is tmpfs, that it is not full, that you have any size swap exist.
It is not a virtual machine, correct ?
Also check /var/log/messages for SATA errors, then play with SATA cables if you have them.
 
Old 11-11-2019, 11:37 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
what is the output of df
 
Old 11-11-2019, 12:16 PM   #7
homer_3
Member
 
Registered: May 2008
Posts: 99

Original Poster
Rep: Reputation: 15
Didn't see anything in /var/log/messages. Checked right after a freeze too. It happens most often with tab, but also happens when doing other things like navigating vim. No, it's not a VM. I don't know how to check that /tmp is tmpfs.

df output is

Code:
Filesystem              1K-blocks    Used Available Use% Mounted on
/dev/mapper/centos-root  52403200 6525440  45877760  13% /
devtmpfs                  8029356       0   8029356   0% /dev
tmpfs                     8046596       0   8046596   0% /dev/shm
tmpfs                     8046596    9440   8037156   1% /run
tmpfs                     8046596       0   8046596   0% /sys/fs/cgroup
/dev/sda3                 1038336  180824    857512  18% /boot
/dev/sda1                  763904   51056    712848   7% /boot/efi
/dev/mapper/centos-home 149091200 2306288 146784912   2% /home
tmpfs                     1609320      68   1609252   1% /run/user/1000
/dev/sr0                  4414592 4414592         0 100% /run/media/<user>/CentOS 7 x86_64
 
Old 11-12-2019, 06:18 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
You could check your drive(s) with smartctl to see if that might give you any hint about any possible drive problems.

Code:
smartctl -a /dev/sdX
(replace "sdX" with the actual device node for the drive(s) in question)

While it's a bit of a long shot, you could also check for any hints from libata.

Code:
dmesg | grep -i ata
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos install stuck at: Freeing unused kernel memory 1604k freed Kingilz CentOS 5 10-13-2015 02:41 PM
HELP! CentOS 7 install stuck on 'Freeing unused kernel memory 1604k freed' Kingilz CentOS 1 10-12-2015 09:19 AM
[SOLVED] Not Freeing up disk space after deleting files centos 5.6 bit 64 Rohant Linux - Server 5 04-01-2014 12:56 PM

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

All times are GMT -5. The time now is 05:52 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