LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2013, 05:18 AM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
very slow system performance


Hi,

Linux system performance is been degraded and so it takes way long to execute simple commands like ls and df etc.

I tried to look at /var/log/messages file but it is empty.
I tried reboot and no luck. I noticed that there 1025 files with name btmp.X.gz (permissions on file are -rw-rw-r-- 1 root utmp) where X=1 to 1024. Not sure what these files are and if they are anything to do with issue.

Any insight into troubleshooting this issue will be greatly appreciated!!!

Thanks!

Code:
[root@lnx09 ~]# ls -ltrh /var/log/messages
-rw------- 1 root root 0 Oct 27 04:02 /var/log/messages
[root@lnx09 ~]# cat /var/log/messages
[root@lnx09 ~]#
One more thing, i noticed many errors in ifconfig output for eth1

Code:
RX packets:4529479 errors:2327904 dropped:0 overruns:0 frame:899130
TX packets:5689294 errors:0 dropped:0 overruns:0 carrier:0

see below for complete output (I removed IP address etc from output)
Code:
[root@usbmlnx0009 ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:217

eth1      Link encap:Ethernet  HWaddr 
          inet addr:  Bcast:  Mask:255.255.255.0
          inet6 addr:  Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4529479 errors:2327904 dropped:0 overruns:0 frame:899130
          TX packets:5689294 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4141296134 (3.8 GiB)  TX bytes:3746882528 (3.4 GiB)
          Interrupt:225

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5656 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5656 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:471054 (460.0 KiB)  TX bytes:471054 (460.0 KiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Last edited by linuxandtsm; 11-01-2013 at 05:27 AM.
 
Old 11-01-2013, 05:37 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Perhaps the logs are not going to messages.

Post the output of

Code:
ls -al /var/log
 
Old 11-01-2013, 06:08 AM   #3
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi Andrewthomas,

Please find attached file for the output. I could not post it here as it was too long to post.

Thanks!
Attached Files
File Type: txt ls output.txt (64.8 KB, 19 views)
 
Old 11-01-2013, 07:23 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
So you are running Fedora? What version? Your Rsyslog config may be a bit off.
 
1 members found this post helpful.
Old 11-06-2013, 02:25 PM   #5
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
No. It is RHEL 5.3. It used to work just fine earlier though, in terms of performance and logging events in /var/log/messages.
 
Old 11-06-2013, 03:58 PM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
I'm not sure if it would be helpful or perhaps temporally to run a programs like BleachBit(carefully) or to clean the system; you looked into the systems monitor or top for out of control pids?
 
Old 11-06-2013, 11:02 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
No. It is RHEL 5.3.
you are aware that the current OLDER rhel5 is RHEL 5.10
and you are 7 minor upgrades behind

and that the current version is RHEL 6.5

well ALL of those backup archives can be deleted
it looks like you never configured "logrotate"
http://linuxcommand.org/man_pages/logrotate8.html


also the old backup bootlogs
boot.log.1 through boot.log.4

the bad login
btmp.1.gz through btmp.1024.gz

and with this rhel5 install missing the last 7 operating system upgrades
and there for WIDE OPEN to the last 4 years ( since 2009) to ALL of the NOW FIXED security holes


if a system that is missing 4 years of updates ,is misbehaving, my FIRST guess will be that you have been comprised .

that and that the log folder is eating ALL of the drive space with old back-ups
 
3 members found this post helpful.
Old 11-07-2013, 06:34 PM   #8
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by andrewthomas View Post
Perhaps the logs are not going to messages.
Quote:
Originally Posted by John VV View Post
well ALL of those backup archives can be deleted
it looks like you never configured "logrotate"
http://linuxcommand.org/man_pages/logrotate8.html
Well said John. :-)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Interview question: slow system performance shivaa Linux - Newbie 14 02-18-2013 02:36 AM
NVIDIA driver problem in openSUSE, System performance has been slow but ilali Linux - Hardware 20 09-01-2012 12:47 PM
Slow system performance deathsfriend99 Linux - Desktop 21 03-04-2011 04:08 PM
Performance of CentOS 5.1 is slow...very slow! 90% mem used!! Why? Jazzmaster777 Linux - Server 5 04-13-2008 05:48 AM
Slow performance!!! System using a lot of Physical Memory SLOW HELP! badgerbox76 Linux - Newbie 31 07-19-2007 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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