Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Local Server gone extremely slow

  1. #1
    Join Date
    Nov 2006
    Location
    Switzerland
    Beans
    183
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Local Server gone extremely slow

    I'm urging a little for help, as I haven't got much experience on the server side.

    I'm running a Jaunty Server installation on my sheevaPlug (ARM Architecture).

    It's been running perfectly for months, serving Files via Samba, running webmin, phpmyadmin and apache2

    it's only running locally, it can connect to the internet, but it has not accessably from outside.

    Since today it's been running extremely slow. Shortly after boot it's all ok, but then it rapidly slows down. I don't know what's wrong, but doubt that it can be hacked, because it is not accessible from the net. I tried rebooting, also taking off the power, no change.

    Is there a sensible way to track down what's wrong with the machine?

  2. #2
    Join Date
    Jul 2008
    Beans
    105
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Local Server gone extremely slow

    Running top should give you an idea about what is happening.
    Trying to help ... I hope it works ...
    Click here for my linux site
    Click here for some flash games

  3. #3
    Join Date
    Nov 2006
    Location
    Switzerland
    Beans
    183
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Local Server gone extremely slow

    Thanks.
    Tried that but find it hard to make something from it

    Highest CPU Loads are caused by
    -pdflush and syslogd seem to sometimes clog up the CPU load

    tried killall on them but they just come back.


    More frustrating is, that I've been looking for a solution for almost two hours, and right now speed is back to normal. Nevertheless, I'd still appreciate some tipps for if it comes back.

  4. #4
    Join Date
    Nov 2006
    Location
    Switzerland
    Beans
    183
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Local Server gone extremely slow

    I'm getting the impression, that especially syslogd is causing trouble.

    I'm writing php code in Netbeans and syncing it to the server. The slowdowns seem more often upon syncing the code. Could it be, that some log files have just grown too big? If so, how could I reset them?

  5. #5
    Join Date
    Jul 2008
    Beans
    105
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Local Server gone extremely slow

    Reseting the log files is a simple matter of deleting them from /var/log
    In /var/log there are all the logs so you can check the size, anyhow I do not think this is the issue.

    One system that I was working on was really slow one time when the disks were almost full, you can check that too.
    When running top you should look at io wait to, "%wa", that shows if the system is waiting for io operations.
    Trying to help ... I hope it works ...
    Click here for my linux site
    Click here for some flash games

  6. #6
    Join Date
    Nov 2006
    Location
    Switzerland
    Beans
    183
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Local Server gone extremely slow

    %wa stays at 0.0

    I notice if I constantly killall pdflush and killall syslogd I get my performance back... something is wrong with these two programs, I just don't know what.

  7. #7
    Join Date
    Jul 2008
    Beans
    105
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Local Server gone extremely slow

    Does some file in /var/log increases in size continuously? syslog is the logging service, it will write data to /var/logs
    Trying to help ... I hope it works ...
    Click here for my linux site
    Click here for some flash games

  8. #8
    Join Date
    Nov 2006
    Location
    Switzerland
    Beans
    183
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Local Server gone extremely slow

    I've executed

    Code:
    sysctl -w vm.dirty_writeback_centisecs=2000
    sysctl -w vm.dirty_expire_centisecs=6000
    First impression seems to help (got no idea what I'm doing), hope it holds

    the /var/log folder doesn't seem to have anything unusual, largest file is 1039229 daemon.log.0

  9. #9
    Join Date
    Nov 2006
    Location
    Switzerland
    Beans
    183
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Local Server gone extremely slow

    darn, pdflush is still causing system overloads

  10. #10
    Join Date
    May 2010
    Beans
    7

    Re: Local Server gone extremely slow

    Can you just nice these two processes? It this way these processes just get minimum priority and will not affect box productivity so much.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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