Re: [Vserver] memory problems?

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 12 Dec 2005 - 00:55:04 GMT
Message-ID: <20051212005504.GA15007@MAIL.13thfloor.at>

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 this in any of our regular servers:
> > >
> > > postfix/sendmail[32274]: warning: fork: Cannot allocate memory
> >
> > interesting, what does your /proc/virtual/<xid>/limits
> > file (with the xid of that guest) show?
>
> root@vera:~# cat /proc/virtual/49196/limit
> PROC: 120 266 -1 0
> VM: 407806 500000 500000 505
> VML: 0 0 -1 0
> RSS: 194897 250000 250000 97

looks like you guest did hit both, the VM and
the RSS limits quite a number of times ...
(505 and 97 times)
 
> ANON: 181688 182048 -1 0
> FILES: 936 1970 -1 0
> OFD: 331 678 -1 0
> LOCKS: 10 25 -1 0
> SOCK: 128 355 -1 0
> MSGQ: 0 0 -1 0
> SHM: 0 0 -1 0
>
> > > This is on Debian sarge on a 2.6 kernel with vserver v 2.0. The postfix
> > > server in question is not busy at all and the vserver has plenty of
> > > memory to spare.
> > >
> > > Any reason to worry here?
> >
> > well, I would try with a recent patch and see if it
> > is still an issues ...
>
> The latest patch in Debian (unstable) seems to be
> patch-2.6.14.3-vs2.0.1-rc5.diff. Is this recent enough?

yep, that is quite fine, tx micah!

>
> --
> Roché Compaan
> Upfront Systems http://www.upfrontsystems.co.za
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Dec 12 00:55:26 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 12 Dec 2005 - 00:55:31 GMT by hypermail 2.1.8