Find the answer to your Linux question:
Results 1 to 2 of 2
I run a small office Linux server. Pentium 200 with 128Mb Ram and 40Gb HDD. RH7.3, Samba, dhcp, email server. Today the server has started behaving strangely. It is suddenly ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2003
    Location
    /dev/ocean
    Posts
    20

    Linux become slow to authenticate ?


    I run a small office Linux server. Pentium 200 with 128Mb Ram and 40Gb HDD. RH7.3, Samba, dhcp, email server.
    Today the server has started behaving strangely. It is suddenly running quite "slowly". I have done no upgrades, nor changed any settings, or fiddled with anything that I think might cause this.
    Samba seems to be working just fine, as it always does.
    But when LAN users check their email, it now takes about 20 secs instead of the usual <1 sec.
    When I login using telnet (ssh), it takes about 15 seconds to authenticate me instead of the usual <1 sec.
    top tells me that the system is only using about 75% of RAM, and none of the swapfile is being used.
    hdparm -t /dev/hda gives me about 22 MB/sec which is normal.
    I've started to look in the logs, and all I can find in /var/log/secure is confirmation that every email check is taking over 20 secs.
    Yes, I've rebooted the server. Didn't expect that to help, but WindoZe has taught me that you do it anyway.
    Anybody got any suggestions as to where else I should start looking for the cause of this partial slowness ?
    Yes I would RTFM if I could find the right page to look at !
    TIA's

  2. #2
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    But when LAN users check their email, it now takes about 20 secs instead of the usual <1 sec.
    When I login using telnet (ssh), it takes about 15 seconds to authenticate me instead of the usual <1 sec.
    top tells me that the system is only using about 75% of RAM, and none of the swapfile is being used.
    I didn't see your cpu usage which is part of top as well, what are you getting for cpu usage?

    I have had similar isssues with logins and email with top showing a anti-spam app spawning multiple times for about 5 to 10 minutes then back to normal.

    Things to check into:
    So to start if you could post a screen prn of top -c here so we could see it would be helpful.

    Are the ps that you see in top all identifyable by you? or is there one or more unknown ones.

    Do you have any dir that are close to or at there quota? or just abnormally large like in /etc/postoffice/postofficeboxes or /home/file direcories. i.e. someone mailbox is jammed or they decided to store all there mp3's on the network.

    Does your mail go in and out on a timed basis or on demand?

    Have you checked the size of your log files? If you have one or more that seems big rename it and touch a new log. Even small logs can cause the server to slow down since it has to open it, find the eof, then write to it, then save it for each request.

    Your statement of your swap file not bing used throws me for a loop. Did you mean its not vary big compared to the machines RAM or its like 1 meg or less? With your RAM at 128 I would expect your swap file should be something greater than 128 megs. If its really not using any of your swap file you have another issue that may or maynot be related to this one.
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

Posting Permissions

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