Find the answer to your Linux question:
Results 1 to 10 of 10
Hello, I have a server for running Oracle that from times to times it simply gives timeouts when I try to log in, via SSH and via local console! Even ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    8

    Linux giving timeout for autentication

    Hello, I have a server for running Oracle that from times to times it simply gives timeouts when I try to log in, via SSH and via local console! Even hitting the button for shutdown via ACPI won't work, I have to hold the button for shuttind down, and the server get's inconsistent file system and all.

    I wonder if anyone could help me trying to find why this is happening (/var/log/messages shows nothing really usefull...).

    Thank you.

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    It is possible, that the machine is swapping.
    That means it runs out of memory and uses the swap partition.

    If that happens a lot and continous, the machine is barely useable and very slow.
    Also, if even the swap partition is not big enough,
    the kernel will start killing processes to get some free memory.

    If you have a trend monitoring tool like Munin (there are many alternatives) you can look how the ressources are used over time.

    Example from a demo installation:
    Munin :: ping.uio.no :: knoll.ping.uio.no :: memory

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    8
    Hum, tough it makes sense it's kinda hard to believe, it has 8GB physical RAM and 1.6Gb of Swap.

    Any other opinions?

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Depending on what you do with oracle and how it is configured, 8GB might not be that much.

    I would rule out swapping first, as it matches your problem description.

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    On systems with a lot of disc write activity it can become I/O bound unloading the write-behind cache to disc. This can be mitigated somewhat by forcing output to disc on a regular basis with the sync command. On systems with a lot of RAM, the OS will allocate a lot of space to disc cache so that for the most part file system performance is greatly enhanced, but as I said, the downside is when it has a lot of data to write to disc and AFAIK that is an atomic operation.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Just Joined!
    Join Date
    Dec 2009
    Posts
    8
    Hum, and how can I check this?
    ==EDIT==
    We do have a memory/cpu network monitoring tool, but since Oracle always takes up almos all free memory (physical) it's hard to say if it used everything (always peeking), and both CPU and Swap we have no alerts or strangeness...

  7. #7
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Which also would be nice to have in a trend graph.
    Just to know what is going on.

    But for a short term, watching "vmstat 1" and "atop 1" might give some clues.

  8. #8
    Just Joined!
    Join Date
    Dec 2009
    Posts
    8
    Here's the result for vmstat 1

    vmstat 1
    procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    0 0 0 4436204 101788 982152 0 0 6 7 165 174 1 0 98 0
    0 0 0 4436180 101788 982152 0 0 0 0 1118 3498 0 0 100 0
    0 0 0 4436172 101788 982152 0 0 0 28 1065 3443 0 0 100 0
    0 0 0 4436172 101788 982152 0 0 0 0 1047 3507 1 0 98 0
    0 0 0 4436300 101788 982152 0 0 0 68 1123 3622 1 1 98 0
    0 0 0 4436236 101800 982140 0 0 0 72 1110 3589 0 0 100 0
    0 0 0 4436236 101800 982140 0 0 0 0 1170 3431 0 0 100 0
    0 0 0 4436220 101800 982140 0 0 0 120 1062 3347 0 0 100 0

  9. #9
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Judging from that short log, the machine does nothing.
    No swapping, no disk IO, no CPU load.

    Do it again, while the machine is under stress.

    Ah ok, does your tool also log disk IO?

  10. #10
    Just Joined!
    Join Date
    Dec 2009
    Posts
    8
    As I said, we do have the monitoring, but it shows up nothing, the machine really is most of the part idle (it's a test machine), and sometimes we just can't log in, it gives timeout...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...