Having issues with hosting - too much "swapping"

Permalink
I've got 512 RAM with 200 GB of bandwidth and don't seem to be using anywhere near the limit, yet my host keeps freezing up because of too much "swapping".

What kind of hosting and how much RAM & bandwidth do you use for your C5 sites?

I have a feeling the WPMU site that is on this host might be the culprit, but even that only gets 100-1000 visits a day max.

 
kino replied on at Permalink Reply
kino
My site 4GB RAM

point of setting.

my.cnf for MySQL
key_buffer      = 64M
max_allowed_packet   = 16M
thread_stack      = 128K
thread_cache_size   = 16
sort_buffer_size    = 4M
read_buffer_size   = 2M
read_rnd_buffer_size   = 2M
tmp_table_size    = 192M
max_heap_table_size   = 192M
join_buffer_size   = 6M
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover      = BACKUP
max_connections        = 100
table_cache            = 3200


apache2.conf for apache2
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 1
HostnameLookups Off
DSchlocker replied on at Permalink Reply
Does your site get a lot of traffic? A 4GB plan for our host would be $250 a month which is just insane considering I used to host 100x bigger sites with other hosts for $500/YEAR.
frz replied on at Permalink Reply
frz
wow.

host with us... 512?? for real? that's some dude's printserver.

http://concrete5.org/services/hosting...
DSchlocker replied on at Permalink Reply
Funny I was looking at that earlier. Can't get there now though to compare prices. The host I'm using now is Slicehost, which is fine if you're a developer or server pro, but I am neither.
kino replied on at Permalink Reply
kino
http://concrete5.org/services/hosting

"Unable to find page."
frz replied on at Permalink Reply
frz
woops,fixed that.
DSchlocker replied on at Permalink Reply
How much RAM would we have with your hosting? I just can't figure out why we're having these problems? It doesn't seem like either of the sites hosted should be causing this, but I'm definitely no hosting pro.
frz replied on at Permalink Reply
frz
unless your buying a dedicated server, or virtual private server, you're not going to really be "buying ram" that way..

i can tell you however, we don't have the types of problems mentioned in this thread on our hosting.
kino replied on at Permalink Reply
kino
http://www.mysqlperformanceblog.com/2006/09/29/what-to-tune-in-mysql-server-after-installation/
kino replied on at Permalink Reply
kino
10,000 - 25,000 session/day
DSchlocker replied on at Permalink Reply
Yeah, that seems like a lot. Here's what our server has said since I had to reboot it the last time:

Time (GMT) CPU % CPU time Disk read/write Network in/out
00:16 Sat Oct 31 2009 4 352s 7620k / 2597k 3897k / 81828k
23:02 Fri Oct 30 2009 4 70s 5581k / 523k 1498k / 34637k
22:52 Fri Oct 30 2009 13 26s 4740k / 211k 571k / 14654k
22:51 Fri Oct 30 2009 11 22s 4633k / 186k 342k / 7944k


Diagnostics

* Your slice is currently running.
* The host server is up.
* Your swap IO usage over the last 4 hours is high: 147.5327 reads/s, 58.2181 writes/s. (Read more about swap here)
* Your root IO usage over the last 4 hours is low: 7.8965 reads/s, 1.3294 writes/s.
* The host server's load is nominal: 0.32, 0.25, 0.20.
kino replied on at Permalink Reply
kino
DSchlocker replied on at Permalink Reply
Cool, thanks. :-)