Subject: Re: [vserver] About RSS Memory
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Tue, 10 Nov 2009 01:24:45 +0100

On Mon, Nov 09, 2009 at 05:51:30PM -0200, Sergio Daniel Troiano wrote:
> Hi, 
> 
> I have got linux-vserver running on Slackware, it works fine but i can
> not set rss memory, i mean, i have written rss file config and set the
> flag "virt_mem" but when i run apache server into virtual-machine it
> sums each shared memory: I have searched about this topic through the
> web but i have not found anything.

thread hijackers will be ignored ...

try again,
Herbert

> I use Slackware13 with kernel-2.6.31.5 
> Patch: vs2.3.0.36.23-grsec2.1.14-20091109
> 
> httpd     8020  0.0  4.5  53432 48204 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8021  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8022  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8023  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8024  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8025  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8026  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8027  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8028  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8029  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8030  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8031  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8032  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8033  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8034  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> httpd     8035  0.0  4.6  53600 48352 ?        S    17:36
> 0:00 /usr/local/apache2/bin/httpd -DFOREGROUND -DPHPFCGID
> 
> 
> tail /usr/local/apache2/logs/error_log
> [Mon Nov 09 17:36:21 2009] [error] (12)Cannot allocate memory: fork:
> Unable to fork new process
> 
> Sergio D. Troiano
> Development Team.
> 
> 
> Av. de los Incas 3085
> (C1426ELA) Capital Federal 
> 
> 
> On Mon, 2009-11-09 at 21:18 +0100, Thomas Weber wrote:
> 
> > Am Samstag, den 07.11.2009, 18:39 +0100 schrieb Herbert Poetzl:
> > > > Though the problem still exists: upstart won't work out of the box with
> > > > linux-vserver. With style=plain it really should.
> > > 
> > > the problem here is that upstart has some 'requirements'
> > > and makes some 'assumptions' which no other init did
> > > before, but nothing really critical ...
> > > 
> > > please check here for details (and maybe put the results
> > > on a wiki page afterwards?)
> > > 
> > > http://irc.13thfloor.at/LOG/2009-10/LOG_2009-10-16.txt
> > 
> > believe it or not, i digged around in the logs back to 2009-10-17....
> > 
> > This is exactly the info I was looking for - and way more helpfull than
> > 'you need to do special magic' ;-)
> > thanks.
> > 
> > I've just added a wiki page for this issue.
> > 
> >   Tom
> > 
> > 
> > 
> >