Re: [Vserver] vhashify

2005-10-24 Thread Enrico Scholz
[EMAIL PROTECTED] (Thorsten Gunkel) writes: > In general this works great, but I had once or twice the problem > that a service stopped working because it could not longer write to > its files. Now I like to exclude the affected directory from the > vhashify. http://linux-vserver.org/alpha+util-v

[Vserver] How do I enable SSH-server on my VServer?

2005-10-24 Thread Evert Meulie
(Cross-posted on the VServer forum, at http://www.meulie.net/forum_viewtopic.php?94.3910 ) Hi all! I have successfully installed VServer on a Gentoo-box here, using http://www.gentoo.org/doc/en/vserver-howto.xml for guidance. This went fine, but now I'm wondering how to contact my virtual s

Re: [Vserver] How do I enable SSH-server on my VServer?

2005-10-24 Thread Oliver Welter
Hi, I have successfully installed VServer on a Gentoo-box here, using http://www.gentoo.org/doc/en/vserver-howto.xml for guidance. This went fine, but now I'm wondering how to contact my virtual server via SSH... I have emerge-d openssh, but when I try to connect to the IP of the virtual serv

[Vserver] Re: How do I enable SSH-server on my VServer?

2005-10-24 Thread Evert Meulie
I should have thought of that myself... :-) Thanks for the quick reply. Your suggestion fixed it! :-) Oliver Welter wrote: Hi, I have successfully installed VServer on a Gentoo-box here, using http://www.gentoo.org/doc/en/vserver-howto.xml for guidance. This went fine, but now I'm wonde

Re: [Vserver] vhashify

2005-10-24 Thread Thorsten Gunkel
On [Mon, 24.10.2005 09:58], Enrico Scholz wrote: > [EMAIL PROTECTED] (Thorsten Gunkel) writes: > > http://linux-vserver.org/alpha+util-vserver mentions > > that this is possible but I don't understand how to exclude for > > example /var/data1 from vserver foo2. > > 1. /var is excluded by default >

Re: [Vserver] Vhashify segmentation fault

2005-10-24 Thread alberto
Enrico Scholz wrote: this looks already strange... a hash value with so much '0' is highly improbable... Mmmm, so it could be a beecrypt2 problem... right? I'll try installing from non-debian sources util-vserver and beecrypt to see what happens. The hash belongs to a real executable though (

[Vserver] Documentation /proc/virtual/*?

2005-10-24 Thread Raimund Specht
Hi ! Is there any documentation of what the various keys and values in the files in /proc/virtual/ mean (more than just a 'ls -R /proc/virtual/*')? By(e): Raimund. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/m

Re: [Vserver] Documentation /proc/virtual/*?

2005-10-24 Thread Guenther Fuchs
Hi there, on Monday, October 24, 2005 at 16:29 on the list was posted: > Is there any documentation of what the various keys and values in the files > in /proc/virtual/ mean (more than just a 'ls -R /proc/virtual/*')? on the first attempt I found this doc: http://linux-vserver.org/HowTo+Read+P

[Vserver] [RFC][PATCH 8/9] proc interface to tsk->container_id

2005-10-24 Thread Dave Hansen
We allow setting this for now, but it's mostly just for debugging at this point. --- linux-2.6.14-rc5-dave/fs/proc/base.c| 56 linux-2.6.14-rc5-dave/include/linux/sched.h |1 2 files changed, 57 insertions(+) diff -puN fs/proc/base.c~C3-proc-interfac

[Vserver] [RFC][PATCH 7/9] proc interface to set vpid

2005-10-24 Thread Dave Hansen
This interface is how the a process can actually set its vpid. If the process is in anything other than the default (container 0), whatever number is written into this file will get returned from getpid(). Right now, there's nothing to stop collisions with different processes in the same contain

[Vserver] [RFC][PATCH 9/9] actually use the vpid in the child

2005-10-24 Thread Dave Hansen
This implements the actual inheritance of the container id from the parent as well as the actual modification to sys_getpid(). You can demonstrate that it works by doing the following with your shell: echo 99 > /proc/$$/task/$$/child_container_id And running the following (horribly bugg

[Vserver] [RFC][PATCH 6/9] proc interface to tsk->child_container_id

2005-10-24 Thread Dave Hansen
You might have more than one process which is restored which wants the same pid. A container is a group of processes which share namespace. In this case, pid namespace. The idea for now is that everything is in "container 0" unless otherwise specified. This /proc file allows a task to set the c

[Vserver] [RFC][PATCH 0/9] separate internal kernel pids from userspace ones

2005-10-24 Thread Dave Hansen
I'm working on a project to checkpoint and restart processes. Obviously, after a process dies, and is "transparently" restarted, it might get confused because its pid changed. (This is one of many issues, but I'm starting with pids) I don't want to change the kernel's internal idea of pids, but

[Vserver] [RFC][PATCH 2/9] change tsk->pid/tgid references: fs/

2005-10-24 Thread Dave Hansen
DESC change tsk->pid/tgid references: fs/ DESC Filesystem users... --- linux-2.6.14-rc5-dave/fs/9p/debug.h|4 ++-- linux-2.6.14-rc5-dave/fs/9p/fid.c |5 +++-- linux-2.6.14-rc5-dave/fs/afs/cmservice.c |2 +- linux-2.6.14-rc5-dave/fs/afs/kafs

Re: [Vserver] [RFC][PATCH 8/9] proc interface to tsk->container_id

2005-10-24 Thread Herbert Poetzl
On Mon, Oct 24, 2005 at 06:21:30PM +0200, Dave Hansen wrote: > > We allow setting this for now, but it's mostly just for debugging > at this point. > > --- > > linux-2.6.14-rc5-dave/fs/proc/base.c| 56 > > linux-2.6.14-rc5-dave/include/linux/sched.h |

Re: [Vserver] [RFC][PATCH 0/9] separate internal kernel pids from userspace ones

2005-10-24 Thread Herbert Poetzl
On Mon, Oct 24, 2005 at 06:21:26PM +0200, Dave Hansen wrote: > I'm working on a project to checkpoint and restart processes. Obviously, > after a > process dies, and is "transparently" restarted, it might get confused because > its pid changed. (This is one of many issues, but I'm starting with

Re: [Vserver] [RFC][PATCH 0/9] separate internal kernel pids from userspace ones

2005-10-24 Thread Martin
On Mon, 2005-10-24 at 18:21 +0200, Dave Hansen wrote: > I'm working on a project to checkpoint and restart processes. Obviously, > after a > process dies, and is "transparently" restarted, it might get confused because > its pid changed. (This is one of many issues, but I'm starting with pids) I

Re: [Vserver] many ip addys

2005-10-24 Thread Sam Vilain
On Fri, 2005-10-21 at 15:40 -0400, Chuck wrote: > > > so then just for clarity, using the current vserver software > > > (2.1.0-r4) with up to 16 ip addys does not give any performance hits > > > at all compared to 1 but beyond that is when it gets nasty. > > no, that is a linear search, so every n

Re: [Vserver] many ip addys

2005-10-24 Thread Sam Vilain
On Mon, 2005-10-24 at 19:29 -0400, Chuck wrote: > > > ok.. so how may ips in a guest do you estimate could be used before a > > > perceptable change in performance happens? and by this are we talking > about > > > per interface or gross totals among all interfaces? > > That really is a hard que