View Full Version : Slow Server
0plus1
15th October 2008, 01:28
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?
till
15th October 2008, 10:31
Please post the output of the command:
uptime
0plus1
15th October 2008, 13:34
13:33:45 up 8 days, 15:49, 1 user, load average: 0.00, 0.00, 0.00
falko
15th October 2008, 14:32
Are there any errors in Apache's error log?
0plus1
15th October 2008, 15:01
Are there any errors in Apache's error log?
http://www.twinpics.eu/error.log
falko
16th October 2008, 14:27
http://www.howtoforge.com/forums/showpost.php?p=60042&postcount=5
0plus1
16th October 2008, 18:12
That fixed the error, but the extreme slowness still remains.. what should i do?
falko
17th October 2008, 14:10
Is the server in a data center, or do you host it yourself (e.g. at home)?
0plus1
17th October 2008, 20:18
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.
falko
18th October 2008, 17:09
How fast/slow is the server when you connect to it using its private IP address?
0plus1
18th October 2008, 20:34
Short Answer: it's the same..
I tried: ftp directly with ip (0,9 kbs); ISPConfig admin page with ip (feels the same: slow).
falko
19th October 2008, 13:37
I suggest that you install munin. With the help of the graphs it might be easier to find out what's the reason.
0plus1
20th October 2008, 14:47
Done, thank you again for your help!
http://www.twinpics.eu/monitoring
falko
21st October 2008, 16:50
Everything's looking fine. All that I can think of is a slow hard drive. You could try to speed it up with hdparm.
0plus1
22nd October 2008, 00:08
I tried a quick test /w hdparm:
server1:~# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 260 MB in 3.02 seconds = 86.19 MB/sec
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:
server1:/dev# hdparm -Tt /dev/sdb
/dev/sdb:
Timing cached reads: 2220 MB in 2.00 seconds = 1109.92 MB/sec
Timing buffered disk reads: 260 MB in 3.01 seconds = 86.30 MB/sec
I do think I'm using sda only though.. how come?
falko
22nd October 2008, 13:24
Seems to be ok. I have no idea why your server is so slow. :(
0plus1
22nd October 2008, 13:29
Seems to be ok. I have no idea why your server is so slow. :(
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?
falko
23rd October 2008, 16:24
It could be anything, but I'm not sure what it is...
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.