Subject: Re: [vserver] One vserver hogging down complete system
From: Nikolay Kichukov <hijacker@oldum.net>
Date: Thu, 12 Jun 2008 15:22:51 +0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Markus,
What is the I/O subsystem? On that good cpu the bottleneck would be i/o
operations I presume.
Cheers,
- -Nik

Markus Fischer wrote:
> Hi,
> 
> I've yet to support one vserver with a very old mail server installation
> still running which often brings down my whole system to it's knees,
> load rising up to 10 or 15 and rendering the system more or less unusable.
> 
> I'm running 2.6.22.19 with 2.2.0.7.
> 
> I tried to configure the vserver (mail01) to only use parts of the
> resources, but maybe I failed here.
> 
> The host system is a Primergy RX200 S3 Xeon Dual-Core DP with 4GB RAM
> (it's showing four CPUs)
> 
> mail01 has rlimits/rss.hard set to 131072 (512MB) and
> 
> # cat sched/fill-rate
> 1
> 
> # cat sched/interval
> 8
> 
> The idea is it to give the vserver an 1/8th of the RAM and an 1/8th of
> the available CPUs. We're having about 10 vserver running, most of them
> idle anyway, but some do cron jobs and to vast amount of bzip2ing.
> 
> The other server (mngr01) which runs a few cron/bzip2 jobs has the
> following rlimits:
> 
> # cat rlimits/rss.hard
> 524288
> # cat rlimits/rss.soft
> 262144
> 
> and scheduling
> 
> # cat sched/fill-rate
> 1
> # cat sched/interval
> 6
> 
> So it is given a bit more CPU time. The bzip2 jobs are running with
> niceness 19 already, but I get the impression that it doesn't change a
> thing.
> 
> bzip2 jobs always make the system very unresponsive the moment they
> start. Is it maybe just not possible to properly schedule them? We're
> using -9 compression to save disc space.
> 
> Thanks for any advice!
> 
> - Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBSFEVGzFLYVOGGjgXAQL75Qf+KTu0qkdrne1PR96lLu3sZmhQeQlu2pgM
NtA1pqeJxWggsvM/dD+Krky3QeINMszOwA7KHKuuxHkcKwaPxK/Qzk1WIe47zxUn
AJSldKi38DVFKWuet4p+FTARMIc3Xd2setcUHH6umEHlwBazRu53H4ipdYRjiijl
KGsQFILqarnBceRA+35dNlinsTkBuC//+U5NVpQRopNLZz3HNAqtkpO8s/mqKWnM
tesz5vmL+dCWsiM1PLXPFt6gDwd6XHjdQrp7rloqDkhqsVoqryVK5yK7TFpAC+eE
XKHYV6Guk1I57q288EUMcD+6EFGtqTCmgPcyOgeVuPYCn00pgBgrLg==
=DVDt
-----END PGP SIGNATURE-----