Re: [Vserver] Basic resource limits for a vserver

2005-12-11 Thread Herbert Poetzl
On Sun, Dec 11, 2005 at 10:02:19PM +0100, Tor Rune Skoglund wrote: > Hi List! > > Anyone care to share their thoughts on how to limit the > reources for a virtual server in the "best" way. > > My requirements basically are the following: > > - No single vserver should be allowed to bring the >

Re: [Vserver] vserver as an image file mounted using loop

2005-12-11 Thread Herbert Poetzl
On Sun, Dec 11, 2005 at 11:42:37AM -0800, Alexander Kabanov wrote: > hi, > > is it ok to keep vserver as an image file and then mount it using loop > device? yep, perfectly fine, although you add one kernel indirection and lose the ability to unify the guest with others ... > let say I have vs1.

Re: [Vserver] memory problems?

2005-12-11 Thread Herbert Poetzl
On Sun, Dec 11, 2005 at 10:28:04PM +0200, Roché Compaan wrote: > On Sun, 2005-12-11 at 11:34 -0800, Alexander Kabanov wrote: > > hi, > > > > i'm having similar errors (I do have limits and scheduler set, using > > rlimits (as, rss, nproc) and scheduler) whenever i do stress testing, > > (overloadi

Re: [Vserver] memory problems?

2005-12-11 Thread Herbert Poetzl
On Sun, Dec 11, 2005 at 10:18:48PM +0200, Roché Compaan wrote: > On Sun, 2005-12-11 at 19:26 +0100, Herbert Poetzl wrote: > > On Sun, Dec 11, 2005 at 08:19:11PM +0200, Roché Compaan wrote: > > > The following is logged quite often to the syslog in a vserver and I'm > > > worried since I don't see t

[Vserver] Basic resource limits for a vserver

2005-12-11 Thread Tor Rune Skoglund
Hi List! Anyone care to share their thoughts on how to limit the reources for a virtual server in the "best" way. My requirements basically are the following: - No single vserver should be allowed to bring the other vservers and the host down. (Given that the other vservers are "behaving"

Re: [Vserver] memory problems?

2005-12-11 Thread Roché Compaan
On Sun, 2005-12-11 at 11:34 -0800, Alexander Kabanov wrote: > hi, > > i'm having similar errors (I do have limits and scheduler set, using > rlimits (as, rss, nproc) and scheduler) whenever i do stress testing, > (overloading mta or web server for example). > > during a stress test, some applicat

Re: [Vserver] memory problems?

2005-12-11 Thread Roché Compaan
On Sun, 2005-12-11 at 19:26 +0100, Herbert Poetzl wrote: > On Sun, Dec 11, 2005 at 08:19:11PM +0200, Roché Compaan wrote: > > The following is logged quite often to the syslog in a vserver and I'm > > worried since I don't see this in any of our regular servers: > > > > postfix/sendmail[32274]: wa

Re: [Devel] Re: [Vserver] VServer vs OpenVZ

2005-12-11 Thread Matt Ayres
The kernel caches based on inode number. If you modified the caching part of the module then I may be incorrect in my thinking. Take example: # ls -ai /vz/private/1/root/bin/ls 41361462 /vz/private/1/root/bin/ls # ls -ai /vz/template/redhat-as3-minimal/coreutils-4.5.3-26/bin/ls 1998864 /vz/tem

Re: [Devel] Re: [Vserver] VServer vs OpenVZ

2005-12-11 Thread Matt Ayres
1) "Fair scheduling" - as far as I can tell the VZ "fair scheduler" does nothing the VServer QoS/Limit system does. If anything, the VZ fair scheduler is not yet O(1) which is a big negative. VServer is built on standard kernel and therefore uses the O(1) scheduler (an absolute must when yo

[Vserver] vserver as an image file mounted using loop

2005-12-11 Thread Alexander Kabanov
hi, is it ok to keep vserver as an image file and then mount it using loop device? let say I have vs1.img, vs2.img ... vsN.img, all i want to do just mount them whenever I need, and do vserver vsN start image contains something like /conf /root and, /vservers/vs1 (symlink to /mountpoint/vs1/roo

Re: [Vserver] memory problems?

2005-12-11 Thread Alexander Kabanov
hi, i'm having similar errors (I do have limits and scheduler set, using rlimits (as, rss, nproc) and scheduler) whenever i do stress testing, (overloading mta or web server for example). during a stress test, some applications die because of no memory available or can't fork, some stop with segm

Re: [Vserver] memory problems?

2005-12-11 Thread Herbert Poetzl
On Sun, Dec 11, 2005 at 08:19:11PM +0200, Roché Compaan wrote: > The following is logged quite often to the syslog in a vserver and I'm > worried since I don't see this in any of our regular servers: > > postfix/sendmail[32274]: warning: fork: Cannot allocate memory interesting, what does your /p

[Vserver] memory problems?

2005-12-11 Thread Roché Compaan
The following is logged quite often to the syslog in a vserver and I'm worried since I don't see this in any of our regular servers: postfix/sendmail[32274]: warning: fork: Cannot allocate memory This is on Debian sarge on a 2.6 kernel with vserver v 2.0. The postfix server in question is not bus

Re: a small patch to fix this pb[Was: [Vserver] testme.sh-0.14 failure on parisc-linux ]

2005-12-11 Thread Joel Soete
Joel Soete wrote: Hello all, [...] it should also work fine if you compile the tools from scratch (i.e. get the 0.30.209 tools and do ./configure, make, make install) HTH, Herbert [...] mmm, I trust that the actual bug is: --- ./lib/vserver-syscall-def.h.Orig2005-12-10 20:33:19.0

[Vserver] Why din't I recieved answers from vserver m-l?

2005-12-11 Thread Joel Soete
Hello *, I would like to thanks evrybody's help by reply to their answers but I didn't recieved it? here is my mailman options: Mail delivery Enable Set Digest Mode On Get MIME or Plain Text Digests? Plain Text Receive your own posts to the list? Yes Receive acknowledgement mail when you send

Re: [Devel] Re: [Vserver] VServer vs OpenVZ

2005-12-11 Thread Kirill Korotaev
Eugen Leitl wrote: Before I try OpenVZ I would like to hear comments of people who've ran both VServer and OpenVZ, preferrably on the same hardware, on how both compare. Factors of interest are stability, Debian support, hardware utilization, documentation and community support, security. A