Slow Server

Discussion in 'Installation/Configuration' started by 0plus1, Oct 15, 2008.

  1. 0plus1

    0plus1 New Member

    I installed ISPConfig correctly, everything works exept that php script takes a load of time to work, for example: www.twinpics.eu/info.php looks like it progressively loads. I use an externall DNS. Do you have any tips?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the command:

    uptime
     
  3. 0plus1

    0plus1 New Member

    13:33:45 up 8 days, 15:49, 1 user, load average: 0.00, 0.00, 0.00
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in Apache's error log?
     
  5. 0plus1

    0plus1 New Member

  6. falko

    falko Super Moderator Howtoforge Staff

  7. 0plus1

    0plus1 New Member

    That fixed the error, but the extreme slowness still remains.. what should i do?
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Is the server in a data center, or do you host it yourself (e.g. at home)?
     
  9. 0plus1

    0plus1 New Member

    I' m hosting it myself using a public ip on an HDSL. The problem i found is that while the downloads are pretty fast (wget ispconfig steady 400 kbs) the upload is painfully slow. I tried to download from ftp a big file (an sql dump) and it downloaded it at 0,2kbs. Now i'm thinking is a connection issue but:

    may it be a problem on the server?
    i'm using the ethernet card of the mobo with an external .ko file.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    How fast/slow is the server when you connect to it using its private IP address?
     
  11. 0plus1

    0plus1 New Member

    Short Answer: it's the same..

    I tried: ftp directly with ip (0,9 kbs); ISPConfig admin page with ip (feels the same: slow).
     
  12. falko

    falko Super Moderator Howtoforge Staff

    I suggest that you install munin. With the help of the graphs it might be easier to find out what's the reason.
     
  13. 0plus1

    0plus1 New Member

  14. falko

    falko Super Moderator Howtoforge Staff

    Everything's looking fine. All that I can think of is a slow hard drive. You could try to speed it up with hdparm.
     
  15. 0plus1

    0plus1 New Member

    I tried a quick test /w hdparm:


    Code:
    server1:~# hdparm -t /dev/sda
    
    /dev/sda:
     Timing buffered disk reads:  260 MB in  3.02 seconds =  86.19 MB/sec
    Code:
    server1:~# hdparm -T /dev/sda
    
    /dev/sda:
     Timing cached reads:   2200 MB in  2.00 seconds = 1099.51 MB/sec
    Seems ok to me?

    Couldn't be instead a problem of the internet provider? Or a problem of the router? It seems very strange this behaviour to me.


    EDIT: sdb seems pretty off:

    Code:
    server1:/dev# hdparm -Tt /dev/sdb
    
    /dev/sdb:
     Timing cached reads:   2220 MB in  2.00 seconds = 1109.92 MB/sec
     [B]Timing buffered disk reads:  260 MB in  3.01 seconds =  86.30 MB/sec[/B]
    I do think I'm using sda only though.. how come?
     
    Last edited: Oct 22, 2008
  16. falko

    falko Super Moderator Howtoforge Staff

    Seems to be ok. I have no idea why your server is so slow. :(
     
  17. 0plus1

    0plus1 New Member

    In your opinion, could it be a problem of the NIC? Could it be a problem of the internet provider? Do you think that formatting everything would resolve something?
     
  18. falko

    falko Super Moderator Howtoforge Staff

    It could be anything, but I'm not sure what it is...
     

Share This Page