Re: vm.swap_reserved toooooo large?

2010-12-20 Thread Matthew Dillon
One of the problems with resource management in general is that it has traditionally been per-process, and due to the multiplicative effect (e.g. max-descriptors * limit-per-descriptor), per-process resources cannot be set such that any given user is prevented from DDOSing the s

Re: Stale NFS file handles on 8.x amd64

2010-12-20 Thread Adam McDougall
On 12/04/10 18:39, Adam McDougall wrote: On Wed, Dec 01, 2010 at 06:33:06PM -0500, Rick Macklem (and others) wrote: (various suggestions) I had to call off the experimentation with live users and resorted to running all IMAP connections from a single NFS client for now. I was causing a lit

Re: The FreeBSD 7.4-BETA1 CD wont boot properly on this machine

2010-12-20 Thread Torfinn Ingolfsen
On Mon, 20 Dec 2010 20:18:06 +0100 Torfinn Ingolfsen wrote: > So a quick tour into the bios to disable the firewire, then back to boot from > the 7.4-BETA1 cd. > Yes, it works now, and while I have been wrinting this message, it has just > finished installing. For completeness, I tried enablin

Re: get ram usage using getrusage()

2010-12-20 Thread Claus Guttesen
> The "SIZE" column of top(1) is the same as the "VSZ" column > of ps(1):  It displays the virtual process size.  Basically > this is the sum of all VM mappings that are assigned to the > process.  It has _nothing_ to do with the RAM usage. > > Somewhat more useful for your purpose is the resident

Re: The FreeBSD 7.4-BETA1 CD wont boot properly on this machine

2010-12-20 Thread Torfinn Ingolfsen
On Sun, 19 Dec 2010 16:30:08 -0800 Jeremy Chadwick wrote: > > This has, historically, been caused by problems with certain firewire > chipsets. The workaround has been to disable firewire in the BIOS. Aha! That's a great clue. I haven't seen that particular problem before. > I've experienced

Re: The FreeBSD 7.4-BETA1 CD wont boot properly on this machine

2010-12-20 Thread Torfinn Ingolfsen
On Sun, 19 Dec 2010 21:30:59 + Chris Rees wrote: > > Did you try installing using a different computer onto that hard drive? Nope, not yet. Looking for easier alternatives first. > Is the hardware supported by 7.x > (http://www.freebsd.org/releases/7.3R/hardware.html for pointers) Well, A

Re: get ram usage using getrusage()

2010-12-20 Thread Oliver Fromme
Claus Guttesen wrote: > >  > I'm trying to read how much ram an app is using reading > > > > Could you phrase that question more precisely? > > It might be helpful to know *WHY* you are interested > > in the app's RAM usage, in order to be able to give the > > most appropriate advice. >

Re: [Samba] Samba upgrade HowTo requested

2010-12-20 Thread Timur I. Bakeyev
Hi, Volker! On Sat, Dec 18, 2010 at 10:10 AM, Volker Lendecke wrote: > On Fri, Dec 17, 2010 at 11:26:12AM +0100, Willy Offermans wrote: >> >> 20101026: >>   AFFECTS: users of net/samba35 >>   AUTHOR: Timur Bakeyev >> >>   This is the latest stable release of the Samba3 distribution. It has >>  

Re: get ram usage using getrusage()

2010-12-20 Thread Claus Guttesen
> > I'm trying to read how much ram an app is using reading > > Could you phrase that question more precisely? > It might be helpful to know *WHY* you are interested > in the app's RAM usage, in order to be able to give the > most appropriate advice. I'm testing the redis key-value-store with the

Re: get ram usage using getrusage()

2010-12-20 Thread Oliver Fromme
Claus Guttesen wrote: > I'm trying to read how much ram an app is using reading Could you phrase that question more precisely? Note that "ram" and "memory" mean different things. Are you interested in the VM mapped to the process? Or do you want to know the amount of physical RAM only? Do you wa