LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 06: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 06:27 AM.
 
Old 11-01-2013, 06:37 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

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

Post the output of

Code:
ls -al /var/log
 
Old 11-01-2013, 07: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, 17 views)
 
Old 11-01-2013, 08:23 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
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, 03: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, 04:58 PM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,091
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
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-07-2013, 12:02 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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, 07:34 PM   #8
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
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


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


All times are GMT -5. The time now is 02:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration