Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th October 2010, 21:01
mats mats is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Slow websites at night

I'm using the last ispconfig on my Debian (fully up2date) server.
It has a Intel(R) Xeon(R) CPU X3220 @ 2.40GHz and 4GB of memory.

My problem is that 1 of the websites I'm hosting is slowing down the complete webserver. when I disable the website everything is fast again.

But I can't find the cause of it, the servers CPU and MEM usage is normal (I think):
Code:
top - 20:58:28 up 116 days,  8:54,  1 user,  load average: 0.34, 0.46, 0.50
Tasks: 280 total,   2 running, 278 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.5%us,  1.1%sy,  0.0%ni, 94.4%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3629296k total,  3490696k used,   138600k free,    68744k buffers
Swap:  2650684k total,      644k used,  2650040k free,  2462484k cached
It is only at night (18:00-22:00) when the site is having alot of visitors.
Stats for this month:
Monthly Statistics for October 2010
Total Hits 25720713
Total Files 13613694
Total Pages 2843599
Total Visits 370153
Total kB Files 244538092

Can you help me troubleshoot this problem? cause my websites are so slow at night... (other functions on the server like ssh and teamspeak are working fine).
Reply With Quote
Sponsored Links
  #2  
Old 29th October 2010, 21:11
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

Sounds like a bandwidth problem.
What is your bandwidth (up and down)?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 29th October 2010, 21:14
mats mats is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

100mbit and when its slow I can still download a 1000mb.bin file with wget with 11mb/s.
And downloading from the http goes about 5mb/s (But takes a while before it starts).
Reply With Quote
  #4  
Old 29th October 2010, 23:26
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
Default

Is the upload also 100mbit?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #5  
Old 29th October 2010, 23:29
mats mats is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes its in a datacenter in amsterdam ( colocation)
Reply With Quote
  #6  
Old 30th October 2010, 00:31
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 152 Times in 132 Posts
 
Default

I did have this problem also a long time ago.
Not sure if this will work for you, but after tweaking apache I managed to get the troubled server working better.
see: http://www.howtoforge.com/forums/showthread.php?t=9303

Read this for "Configuring Apache for Maximum Performance"
http://www.howtoforge.com/configurin...um_performance

PS. Some of my servers are also located in Amsterdam (transIP)

Groet.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help to debug a slow website vtapas Server Operation 15 10th August 2011 10:50
Squid: too slow for some websites cooljai Server Operation 1 19th April 2008 23:17
HELP - websites gone in ispconfig itgroup Installation/Configuration 2 8th July 2007 10:23
redirect websites provell General 2 1st December 2006 09:51
really slow website access itgroup Installation/Configuration 2 17th July 2006 15:21


All times are GMT +2. The time now is 15:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.