On Tue, Jan 04, 2005 at 02:45:09AM +0100, Lars E. D. Jensen wrote: > Hi list > > I've installed 3 vservers on a dual xeon (2,8 ghz, 1mb cache) based server > with 1 GB ram, and 10000 spins scsi disks, currently the vservers/root server > are not under load. But they will be soon. > > I have my doubts about only 1 GB ram in the root server. > > I'm using Debian Sarge inside the vservers and it's all running on Debian > Woody (root server) patched with vserver 1.29 on top of kernel 2.4.28. > > What really worries me is that when I'm just testing with ab (apache bench), > the response of the vservers is periodically very slow and I get a lot of > failed http requests. And the webpages sometime take 5-10 seconds to load. > Even with ssh it's sometimes slow, when I ssh to the root server everything > goes fast (sounds weird to say that ssh goes fast?!). > > Here's a dump of ./vserver-stat, vsmon1 is a monitor for PHP applications on > vswwwe1. vsdbe1 is a mysql databaseserver used by vswwwe1. > > CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME DESCRIPTION > 0 65 384MB 7kB 16h39m58 12h28m21 16d03h06 root server > 1002 53 1GB 36kB m12.12 m06.11 2h27m50 vsmon1 > 1003 52 1GB 144kB 1m26.78 1m51.37 2h27m38 vswwwe1 > 1004 22 756MB 40kB m12.85 m03.82 9h59m50 vsdbe1 > > All the vservers is started on eth0 and aliased each with their own public IP. > > What could cause this slow behavior?
many things, but it doesn't sound typical for 3 servers I would try the same thing with 2.6.10/vs1.9.3.16 just for a comparison ... if this still feels _that_ slow then the hardware has some issues (i.e. dropping irqs or going to power save/frequency scaling/etc) > Is 1 GB ram enough for 3 vservers or should I put like 4-6 GB ? I would say it's more than enough for 3 vservers, and using more memory would not really help, but make things worse (on 2.4 anyway) HTH, Herbert > Thanks. > -- > Med venlig hilsen / Best regards > > Lars E. D. Jensen > [EMAIL PROTECTED] > _______________________________________________ > Vserver mailing list > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
