LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-18-2011, 06:55 PM   #1
hauppage
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
Centos slowness after hours of idling


Hello, i've been a long time user of Centos, mostly as a VmWare host OS.

I recently picked up 3x IBM Netvistas, 1.8Ghz P4, 512MB ram, 40GB IDE hard drive. I forget the exact model number, but I can provide that if needed.

I initially set up Centos 5.2 on these, updated them with yum, and installed Vmware Server on 2/3 of them. One just sat there idling doing nothing. After about 6-8 hours of uptime they would stop responding to SSH login requests. I would get a prompt for my username, after that it would sit and time out.

I could log in via keyboard at the physical machine, but I couldn't run any commands. Top would time out, sleep would hang, and pinging anything would return 1 packet/response and then it would hang.

I downgraded them to Centos 4.1, again 2 are running vmware server, one is a control that hasn't even been upgraded or touched. They all do the same thing, except I can log in via ssh after 10 hours of idling.

One peculiar behavior is demonstrated by running the 'time' command paired with sleep:

#######
[root@localhost ~]# hdparm -tT /dev/hda

/dev/hda:
Timing cached reads: 41360 MB in 3.71 seconds = 11161.98 MB/sec
Timing buffered disk reads: 3332 MB in 3.71 seconds = 899.22 MB/sec
[root@localhost ~]# time sleep 0.01

real 0m2.590s
user 0m0.000s
sys 0m0.000s
[root@localhost ~]# time sleep 0.05

real 0m0.359s
user 0m0.000s
sys 0m0.000s
[root@localhost ~]# time sleep 0.01

real 0m2.498s
user 0m0.000s
sys 0m0.000s
#######


In reality, time sleep 0.01 takes around 45-55 seconds to execute, timed using a physical clock. I am at a complete loss to explain what is going on here, or how to troubleshoot this. This only occurs on these IBM netvistas. I would also like to add, at one point these all used to run Windows Server 2003 without trouble. I have also performed a memory test using memtest86 on two of these machines. One tested clean with 1GB of ram (2x 512MB), another with 2x 256MB (512 total) had two memory errors. The other I haven't bothered with (the control machine)

Any ideas on what may be going on?

Last edited by hauppage; 06-18-2011 at 07:43 PM.
 
Old 06-19-2011, 08:50 PM   #2
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
I downgraded them to Centos 4.1
???
4.9 is the current and only supported in the 4 series

With 512 meg ram i would expect them to be slow , VERY slow , and running a VM with 512 meg very very very slow .

With out knowing what was in the CentOS 5.6 logs that you erased when 4.1 was reinstalled ?
who knows

what did the logs say ?
 
0 members found this post helpful.
Old 06-20-2011, 04:20 PM   #3
hauppage
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
I downgraded them to Centos 4.1
???
4.9 is the current and only supported in the 4 series

With 512 meg ram i would expect them to be slow , VERY slow , and running a VM with 512 meg very very very slow .
If you are implying that having 512MB of ram would cause sleep 0.01 to take a minute to complete (as I have described in the first post), that is complete nonsense. The host OS and Vmware Server use ~60MB of ram to boot to shell, and behave as expected for several hours before things begin to gum up. As I said in my first post, I am having trouble alone just getting the shell to respond in a period of time that does not have to be gauged by a sundial. My "control" machine that is un-updated, off the network, and without any other software installed than the base OS exhibits this same behavior.

Quote:
Originally Posted by John VV View Post
With out knowing what was in the CentOS 5.6 logs that you erased when 4.1 was reinstalled ?
who knows

what did the logs say ?
If its absolutely necessary, I can provide the Centos 5 logs, but neither Centos 4 or 5 logs contained anything of alarm or interest, however recently I disabled ACPI via the grub bootloader, and now we have one valid error message to work with:


Jun 20 03:52:42 localhost kernel: Losing too many ticks!
Jun 20 03:52:42 localhost kernel: TSC cannot be used as a timesource.
Jun 20 03:52:42 localhost kernel: Possible reasons for this are:
Jun 20 03:52:42 localhost kernel: You're running with Speedstep,
Jun 20 03:52:42 localhost kernel: You don't have DMA enabled for your hard disk (see hdparm),
Jun 20 03:52:42 localhost kernel: Incorrect TSC synchronization on an SMP system (see dmesg).
Jun 20 03:52:42 localhost kernel: Falling back to a sane timesource now.


I've also attached the messages and dmesg logfile.
Attached Files
File Type: txt messages.txt (57.9 KB, 11 views)
File Type: txt dmesg.txt (12.2 KB, 12 views)
 
Old 06-25-2011, 05:42 PM   #4
hauppage
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Any other ideas? :/
 
  


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
Linux machine gets stuck after 8 hours or 12 hours fahadaziz Linux - Newbie 4 03-28-2010 04:19 PM
C2 state used much more than C3 when computer seems to be idling Olaus Linux - Software 20 11-03-2009 10:30 AM
HP DL360 SmartArray 5i and slowness in CentOS 5 dickeyp Linux - Hardware 0 09-06-2007 03:01 PM
My KDE keeps idling and apps take forever to load. crashes on InitSystemServices too. Blinky Linux - Software 2 10-20-2006 01:49 AM
ssh becomes unresponsive after several minutes of idling k4zau Linux - Software 4 10-27-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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