[Vserver] disk quota

2006-10-26 Thread Alexander Kabanov
hi there, I've tried to enable guest disk quota, as described here: http://oldwiki.linux-vserver.org/Standard+non-shared+quota then, when I do something like $ dd if=/dev/zero of=test bs=1k under a user account with limits, nothing happens. how do I debug this? I believe somebody asked this

Re: [Vserver] Localhost in vserver: short questions

2006-10-13 Thread Alexander Kabanov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi there, it seems like many people have the same question over and over again. yes, you can have localhost vi /etc/hosts xx.xx.xx.xx localhost where xx.xx.xx.xx your guest IP you can give 127.0.0.1 to a guest, but then your server shares it with

Re: [Vserver] Changing IP/netmask of vserver guests

2006-08-26 Thread Alexander Kabanov
hi there, perhaps this helps # ls -1 /etc/vservers/*/interfaces/*/ip use your imagination to create a script that knows how to update those files best, --alex On 8/26/06, Henrik Woffinden [EMAIL PROTECTED] wrote: Hi, I have a 3 host servers with each 16 guests on. They have all been moved

Re: [Vserver] vserver start issue

2006-07-19 Thread Alexander Kabanov
hi, I figured this out. I used a symlink like /etc/vserver/GUEST - real_guest_conf_dir, it was causing the problem. thanks --Alex On 7/19/06, Daniel Hokka Zakrisson [EMAIL PROTECTED] wrote: Alexander Kabanov wrote: hi there, I have the following error message when run vserver GUEST start

Re: [Vserver] vserver start issue

2006-07-19 Thread Alexander Kabanov
and symlink to /vservers/guest/conf :) (/vservers - dir with a barrier) On 7/19/06, Alexander Kabanov [EMAIL PROTECTED] wrote: hi, I figured this out. I used a symlink like /etc/vserver/GUEST - real_guest_conf_dir, it was causing the problem. thanks --Alex On 7/19/06, Daniel Hokka Zakrisson

[Vserver] vserver start issue

2006-07-18 Thread Alexander Kabanov
hi there, I have the following error message when run vserver GUEST start vlimit: fstat(/etc/vservers/GUEST/rlimits): Permission denied An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/etc/rc.d/rc 3)

Re: [Vserver] localhost

2006-06-08 Thread Alexander Kabanov
hi all, the only reason why I would like to have some kind of local/internal interface inside a guest - let people bind services to something that is not accessible from outside and from other guests on the host server. but this is not a big deal, imo - good to have. I'm going to play with

Re: [Vserver] localhost

2006-06-07 Thread Alexander Kabanov
hi, I have 5 guests on the server, each guest has own localhost IP, like 127.0.0.5, 127.0.0.6 etc. (guests /etc/hosts has record like 127.0.0.5 localhost) it seemed the only option available. can someone tell me is it good approach? is there anything else beside this? The reason why I want to

Re: [Vserver] localhost

2006-06-07 Thread Alexander Kabanov
PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, Alexander Kabanov wrote: I have 5 guests on the server, each guest has own localhost IP, like 127.0.0.5, 127.0.0.6 etc. (guests /etc/hosts has record like 127.0.0.5 localhost) it seemed the only option available. can someone

[Vserver] localhost inside a guest

2006-02-02 Thread Alexander Kabanov
hi, it seems possible to have localhost inside a guest. here is what I did interface/0 dev - lo ip - 127.0.0.1 prefix - 32 but when a daemon binds to a localhost port and the guest has external interface, I'm able to access that service using guest external IP. I just want to verify is this the

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

[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

[Vserver] bind to 0.0.0.0 inside vserver

2005-12-06 Thread Alexander Kabanov
hi all, what is /interfaces/interface/scope file for? /etc/vservers/vserver.conf file, doesn't seem to work for me at all, when I specify vserver configuration in different files inside vserver conf dir all works. Is something wrong with my configuration or /etc/vservers/vserver.conf support