[Vserver] Hashify 'etch' trouble?

2007-05-10 Thread Ben Green
Hi, I have been using Debian unstable kernel and a few vservers to try out the memory saving effects of vhashify. Great results, 4 servers each running apache2 take 80mb less RAM than they did before. I feel safe messing about in these servers as COW is working, and I should be able to ammend f

Re: [Vserver] Hashify 'etch' trouble?

2007-05-10 Thread Eugen Leitl
On Thu, May 10, 2007 at 05:46:48PM +0100, Ben Green wrote: > What I want to know is can vhashify be used within older vserver > setups, specifically Debian 'etch' with it's none COWed kernel. > What precautions would I need to take and what things can't I do inside these > guest servers? I've

Re: [Vserver] Hashify 'etch' trouble?

2007-05-10 Thread Corey Wright
On Thu, 10 May 2007 17:46:48 +0100 "Ben Green" <[EMAIL PROTECTED]> wrote: > What I want to know is can vhashify be used within older vserver setups, > specifically Debian 'etch' with it's none COWed kernel. What precautions > would I need to take and what things can't I do inside these guest > ser

Re: [Vserver] Hashify 'etch' trouble?

2007-05-11 Thread Ben Green
On Fri, 11 May 2007 04:05:21 +0100, Corey Wright <[EMAIL PROTECTED]> wrote: > the only problems i've encounter without COW is: >1. slapping my forehead when i accidentally vhashify /etc, try to modify a > config file, and spend several minutes trying to figure out why i can't > modify the file tho

Re: [Vserver] Hashify 'etch' trouble?

2007-05-11 Thread Corey Wright
On Fri, 11 May 2007 08:04:49 +0100 "Ben Green" <[EMAIL PROTECTED]> wrote: > On Fri, 11 May 2007 04:05:21 +0100, Corey Wright <[EMAIL PROTECTED]> > wrote: > > > the only problems i've encounter without COW is: > > Excellent, thankyou for that, those were exactly the sorts of problems I > expected

Re: [Vserver] Hashify 'etch' trouble?

2007-05-11 Thread Enrico Scholz
[EMAIL PROTECTED] (Corey Wright) writes: > "clean-up hash directory" > http://www.paul.sladen.org/vserver/archives/200609/0016.html Can be written much shorter as | find /vservers/.hash/ -links 1 | xargs rm -f | find /vservers/.hash/ -type d | xargs rmdir 2>/dev/null (no need for '-0' flag)

Re: [Vserver] Hashify 'etch' trouble?

2007-05-11 Thread Herbert Poetzl
On Thu, May 10, 2007 at 08:53:30PM +0200, Eugen Leitl wrote: > On Thu, May 10, 2007 at 05:46:48PM +0100, Ben Green wrote: > > > What I want to know is can vhashify be used within older vserver > > setups, specifically Debian 'etch' with it's none COWed kernel. What > > precautions would I need to