memory leak?

2010-08-23 Thread n dhert
After a reboot of my FreeBSD 8.0-p4 system a vmstat shows: Mon Aug 23 08:40:00 CEST 2010 procs memory pagedisks faults cpu r b w avmfre flt re pi pofr sr da0 pa0 in sy cs us sy id 1 1 0 1515M 7118M 816 5 5 0 726 0

Re: memory leak?

2010-08-23 Thread Ivan Voras
On 08/23/10 11:50, n dhert wrote: After a reboot of my FreeBSD 8.0-p4 system a vmstat shows: Mon Aug 23 08:40:00 CEST 2010 procs memory pagedisks faults cpu r b w avmfre flt re pi pofr sr da0 pa0 in sy cs us sy id 1 1 0

Re: how to find my memory size?

2010-08-06 Thread Daniel C. Dowse
On Tue, 03 Aug 2010 11:37:03 +0800 at Jason lisen1...@gmail.com wrote: hi,all: which one is the memory size?And what's the meaning of these three variable? hw.physmem: 2138476544 hw.usermem: 1886236672 hw.realmem: 2147430400 ___ freebsd-questions

Re: how to find my memory size?

2010-08-06 Thread beni brinckman
On Friday 06 August 2010 18:48:30 Daniel C. Dowse wrote: On Tue, 03 Aug 2010 11:37:03 +0800 at Jason lisen1...@gmail.com wrote: hi,all: which one is the memory size?And what's the meaning of these three variable? hw.physmem: 2138476544 hw.usermem: 1886236672 hw.realmem: 2147430400

how to find my memory size?

2010-08-02 Thread Jason
hi,all: which one is the memory size?And what's the meaning of these three variable? hw.physmem: 2138476544 hw.usermem: 1886236672 hw.realmem: 2147430400 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: how to find my memory size?

2010-08-02 Thread Antonio Olivares
On 8/3/10, Jason lisen1...@gmail.com wrote: hi,all: which one is the memory size? This would depend on what you want to find out, the total memory, the amount available to the system and what is allocated for the user? And what's the meaning of these three variable? hw.physmem: 2138476544

USB-boot flash memory stick - Fixit mode do not start

2010-06-25 Thread Alexender
I try both 8.0-RELEASE and 8.1-RC official memstick images. I try write them to memory stick by that commands: # dd if=memstick.img of=/dev/da0 bs=10240 # dd if=memstick.img of=/dev/da0 bs=512 I also try to write image from Windows by win32diskimager-RELEASE-0.2-r23-win32 I think all was writen

Re: USB-boot flash memory stick - Fixit mode do not start

2010-06-25 Thread Ian Smith
In freebsd-questions Digest, Vol 316, Issue 8, Message: 18 On Fri, 25 Jun 2010 12:12:28 +0400 Alexender ag...@yandex.ru wrote: I try both 8.0-RELEASE and 8.1-RC official memstick images. I try write them to memory stick by that commands: # dd if=memstick.img of=/dev/da0 bs=10240 # dd

mountroot error with memory based rootfs

2010-06-17 Thread akash kumar
Hi, I was trying to build root filesystem in to the kernel (i.e using /dev/md0) for Mips based target boards. In the process i built tool chain and kernel successfully. But when i boot the kernel on the target, it fails to mount the md0 and drops to mountroot prompt. mountroot ufs:/dev/md0

Re: mountroot error with memory based rootfs

2010-06-17 Thread akash kumar
...@gmail.com To: akash kumar akashb...@yahoo.co.in Sent: Fri, 18 June, 2010 7:50:14 AM Subject: Re: mountroot error with memory based rootfs On 6/17/10, akash kumar akashb...@yahoo.co.in wrote: Hi, I was trying to build root filesystem in to the kernel (i.e using /dev/md0) for Mips based target boards

Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-15 Thread Dsewnr Lu
I have the same problem when I want to upgrade libtool from 15 to 22, thanks. On Tue, Jun 15, 2010 at 10:57 AM, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, Since I upgraded that machine from 6.x to 7.3 I am hitting a memory limit with xz when trying to build/upgrade several ports

Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-15 Thread Olivier Nicole
upgraded that machine from 6.x to 7.3 I am hitting a memory limit with xz when trying to build/upgrade several ports. The error message looks like: /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage limit reached /usr/local/bin/xz: Limit was 46 MiB, but 65 MiB would

Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-15 Thread Bruce Cran
On Tuesday 15 June 2010 03:57:28 Olivier Nicole wrote: Hi, Since I upgraded that machine from 6.x to 7.3 I am hitting a memory limit with xz when trying to build/upgrade several ports. The error message looks like: /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory

Memory limit in xz (/usr/local/bin/xz)

2010-06-14 Thread Olivier Nicole
Hi, Since I upgraded that machine from 6.x to 7.3 I am hitting a memory limit with xz when trying to build/upgrade several ports. The error message looks like: /usr/local/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Memory usage limit reached /usr/local/bin/xz: Limit was 46 MiB

Re: Memory limit in xz (/usr/local/bin/xz)

2010-06-14 Thread Dsewnr Lu
I have the same problem when I want to upgrade libtool from 15 to 22, thanks. On Tue, Jun 15, 2010 at 10:57 AM, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, Since I upgraded that machine from 6.x to 7.3 I am hitting a memory limit with xz when trying to build/upgrade several ports

Re: how do i use a memory stick on freebsd?

2010-06-07 Thread Gautham Ganapathy
On Sat, May 22, 2010 at 12:33 AM, Gary Kline kl...@thought.org wrote: guys, my wife emptied a bunch of files onto her memory stick;  the pc is not here.  i have never used one of these devices before and want to know how, if it is possible, to read her dos/lose material from my bsd system

Re: top memory usage question

2010-05-31 Thread Eitan Adler
On Thu, May 27, 2010 at 12:52 PM, Coert lgro...@waagmeester.co.za wrote: Hello all, Just a question, on Linux the output of top's memory usage looks like this: Mem:   2075424k total,  1760848k used,   314576k free,   151872k buffers Swap:  4192924k total,        0k used,  4192924k free

top memory usage question

2010-05-27 Thread Coert
Hello all, Just a question, on Linux the output of top's memory usage looks like this: Mem: 2075424k total, 1760848k used, 314576k free, 151872k buffers Swap: 4192924k total,0k used, 4192924k free, 1214052k cached on FreeBSD: Mem: 48M Active, 945M Inact, 190M Wired, 112M

Re: top memory usage question

2010-05-27 Thread RW
On Thu, 27 May 2010 11:52:15 +0200 Coert lgro...@waagmeester.co.za wrote: Hello all, Just a question, on Linux the output of top's memory usage looks like this: Mem: 2075424k total, 1760848k used, 314576k free, 151872k buffers Swap: 4192924k total,0k used, 4192924k free

how do i use a memory stick on freebsd?

2010-05-21 Thread Gary Kline
guys, my wife emptied a bunch of files onto her memory stick; the pc is not here. i have never used one of these devices before and want to know how, if it is possible, to read her dos/lose material from my bsd system. 7.3, dell, plenty of disk, and yes, i know where the usb slot it! do i

Re: how do i use a memory stick on freebsd?

2010-05-21 Thread Jerry McAllister
On Fri, May 21, 2010 at 12:03:42PM -0700, Gary Kline wrote: guys, my wife emptied a bunch of files onto her memory stick; the pc is not here. i have never used one of these devices before and want to know how, if it is possible, to read her dos/lose material from my bsd system. 7.3

Re: how do i use a memory stick on freebsd?

2010-05-21 Thread Polytropon
On Fri, 21 May 2010 12:03:42 -0700, Gary Kline kl...@thought.org wrote: guys, my wife emptied a bunch of files onto her memory stick; the pc is not here. i have never used one of these devices before and want to know how, if it is possible, to read her dos/lose material from my bsd

Re: how do i use a memory stick on freebsd?

2010-05-21 Thread Roland Smith
On Fri, May 21, 2010 at 12:03:42PM -0700, Gary Kline wrote: guys, my wife emptied a bunch of files onto her memory stick; the pc is not here. i have never used one of these devices before and want to know how, if it is possible, to read her dos/lose material from my bsd system. 7.3

increasing memory for no root users on freebsd 8.0

2010-05-20 Thread Vikash Badal
Can someone assist me with tunning freebsd 8.0 so that I can allocate more memory to a process that is not owned by root or running as root. From top I get this line before it coredumps. PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND 1161 nntpd 1500 440

increasing memory for no root users on freebsd 8.0

2010-05-20 Thread Robert Huff
Vikash Badal writes: Can someone assist me with tunning freebsd 8.0 so that I can allocate more memory to a process that is not owned by root or running as root. man (5) login.conf ?? Robert Huff

Re: increasing memory for no root users on freebsd 8.0

2010-05-20 Thread Adam Vande More
On Thu, May 20, 2010 at 10:26 AM, Vikash Badal vikash.ba...@is.co.zawrote: Any idea where I'm going wrong ? http://www.freebsd.org/doc/en/books/handbook/users-limiting.html -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list

phys vs real vs user (avail) memory?

2010-05-09 Thread Hubert Tournier
Hello, I was wondering about the memory indications displayed at boot time. For example: # dmesg| grep memory real memory = 51539607552 (49152 MB) avail memory = 49663688704 (47362 MB) The real memory is the size of the RAM modules in this computer (48 Gb). What's avail memory? The memory

FreeBSD 8 using VERY LITTLE memory

2010-04-08 Thread Brodey Dover
Stepping = 2 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR / MEMORY STUFF / real memory = 704905216 (672 MB) avail memory = 18116608 (17 MB) === why? is it a sysctl? / MEMORY STUFF / kbd1 at kbdmux0 acpi0: COMPAQ CPQB0B5 on motherboard

Re: FreeBSD 8 using VERY LITTLE memory

2010-04-08 Thread Brodey Dover
Fixed. The 440BX is not friendly to 512MB SDR sticks. Works like a charm with 3x256MB'ers! Thank you, Brodey Dover On Thu, Apr 8, 2010 at 8:43 PM, Brodey Dover dover...@gmail.com wrote: I was under the impression that the  avail memory was memory that was released from BIOS. Top indicates

Re: Custom Kernel to Memory Stick

2010-03-30 Thread Jay Hall
On Mar 29, 2010, at 6:30 PM, Aiza wrote: This is the procedure you want to follow. http://forums.freebsd.org/showthread.php?t=11680 And for greater detail http://forums.freebsd.org/showthread.php?t=11715 Thanks for the links. I will give them a try. Jay

Re: Custom Kernel to Memory Stick

2010-03-30 Thread Giorgos Keramidas
On Mon, 29 Mar 2010 10:49:08 -0500, Jay Hall jh...@socket.net wrote: Ladies and Gentlemen, I have been asked to explore the possibility of booting FreeBSD from a memory stick. This was not a problem; worked great when installed from the distribution CD. What would be the best way to get

Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
Ladies and Gentlemen, I have been asked to explore the possibility of booting FreeBSD from a memory stick. This was not a problem; worked great when installed from the distribution CD. What would be the best way to get our custom configuration onto the memory stick? Thanks, Jay

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
On Mar 29, 2010, at 10:49 AM, Jay Hall wrote: What would be the best way to get our custom configuration onto the memory stick? Ladies and Gentlemen, This is what I have done, but now I cannot mount the memory stick. I create an image of the s1a partition where the kernel I want to copy

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
On Mar 29, 2010, at 10:49 AM, Jay Hall wrote: What would be the best way to get our custom configuration onto the memory stick? OK, I managed t get our custom configuration on to the memory stick using dump. After getting everything configured, what I thought was correctly, I am

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Aiza
Jay Hall wrote: Ladies and Gentlemen, I have been asked to explore the possibility of booting FreeBSD from a memory stick. This was not a problem; worked great when installed from the distribution CD. What would be the best way to get our custom configuration onto the memory stick

Re: API to find the memory usage of a process.

2010-03-20 Thread Pieter de Goeje
On Thursday 18 March 2010 18:28:48 Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks

API to find the memory usage of a process.

2010-03-18 Thread Jayadev Kumar
Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev

Re: API to find the memory usage of a process.

2010-03-18 Thread J. Johnston
On 03/18/10 10:28, Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev

Re: API to find the memory usage of a process.

2010-03-18 Thread Charlie Kester
On Thu 18 Mar 2010 at 18:30:00 PDT J. Johnston wrote: On 03/18/10 10:28, Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port

Measuring Free memory

2010-03-17 Thread Mario Lobo
Hi to all; I am trying to get the most precise reading I can of all free memory (8- STABLE). I am using /usr/bin/vmstat | grep -a 2 | awk '{print $5}' But I'm not sure if this reflects ALL free memory. Would anyone have a more precise place to read free memory from? Thanks -- Mario Lobo

Re: Measuring Free memory

2010-03-17 Thread Lowell Gilbert
Mario Lobo l...@bsd.com.br writes: I am trying to get the most precise reading I can of all free memory (8- STABLE). First, you'll need a precise definition of what you mean by free memory. I am using /usr/bin/vmstat | grep -a 2 | awk '{print $5}' But I'm not sure if this reflects ALL

Re: Measuring Free memory

2010-03-17 Thread Mario Lobo
On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: First, you'll need a precise definition of what you mean by free memory. Free physical memory available. Add the -H flag to get that value more precise. I suspect, however, that precision isn't really the right term for what you're

Re: Measuring Free memory

2010-03-17 Thread Brandon Gooch
Sent from my iPhone On Mar 17, 2010, at 11:25 AM, Mario Lobo l...@bsd.com.br wrote: On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: First, you'll need a precise definition of what you mean by free memory. Free physical memory available. Add the -H flag to get that value more

Re: Measuring Free memory

2010-03-17 Thread Mario Lobo
On Wednesday 17 March 2010 19:51:33 Brandon Gooch wrote: I'm also seeing something similar although perhaps not related to (lack of) free memory. Are you able to enable debugging in the kernel and maybe get a (text)dump? I can't ! The machine freezes completely !! NOTHING works when the freeze

Re: Measuring Free memory

2010-03-17 Thread Adam Vande More
On Wed, Mar 17, 2010 at 11:25 AM, Mario Lobo l...@bsd.com.br wrote: On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: First, you'll need a precise definition of what you mean by free memory. Free physical memory available. Add the -H flag to get that value more precise. I

Re: Measuring Free memory

2010-03-17 Thread Mario Lobo
On Wednesday 17 March 2010 20:31:04 Adam Vande More wrote: On Wed, Mar 17, 2010 at 11:25 AM, Mario Lobo l...@bsd.com.br wrote: On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: First, you'll need a precise definition of what you mean by free memory. Free physical memory

Re: Measuring Free memory

2010-03-17 Thread Lowell Gilbert
Mario Lobo l...@bsd.com.br writes: On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: First, you'll need a precise definition of what you mean by free memory. Free physical memory available. Not precise enough to have a clear answer. Does it have to be zeroed already, or do clean

Re: Measuring Free memory

2010-03-17 Thread Adam Vande More
a different reason for wanting to know this, but I can assure you my lockups aren't due to a lack of memory from the host anyways. I have an order of magnitude more free memory(according to top) in my hosts than my VM requires when it's running and it still locks on every csup attempt. Mem

Re: Measuring Free memory

2010-03-17 Thread Henrik Hudson
On Wed, 17 Mar 2010, Mario Lobo wrote: On Wednesday 17 March 2010 19:51:33 Brandon Gooch wrote: I'm also seeing something similar although perhaps not related to (lack of) free memory. Are you able to enable debugging in the kernel and maybe get a (text)dump? I can't ! The machine

Re: Measuring Free memory

2010-03-17 Thread Mario Lobo
I think this only applicable to amd64. You might have a different reason for wanting to know this, but I can assure you my lockups aren't due to a lack of memory from the host anyways. I have an order of magnitude more free memory(according to top) in my hosts than my VM

Re: Measuring Free memory

2010-03-17 Thread Adam Vande More
On Wed, Mar 17, 2010 at 3:08 PM, Mario Lobo l...@bsd.com.br wrote: Understood now, Adam. I have no FBSD VM, but just about every other OS vms. LeoOSx, Win7(3264), Several XPs, several 2003, Fedora and even an OS/2 warp. They all work. In fact, LeoOsx and Win7 (32) are up as I type this.

Is there a way to know how much memory is currently allocated?

2010-03-05 Thread Yuri
Does FreeBSD malloc library provide any API way to know how many bytes are currently allocated by the current process? Memory image size isn't adequate, since it's always much larger because of various reasons, like an extra-memory allocated for the needs of malloc library itself an also due

using secure memory from a script

2010-02-25 Thread Chad Perrin
What's the simplest/easiest way to use secure memory (i.e., memory that won't be written to a swap partition) from within a program (written in Ruby in this case) on FreeBSD? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgphqNJQhPZ33.pgp Description: PGP signature

Re: using secure memory from a script

2010-02-25 Thread Chuck Swiger
On Feb 19, 2010, at 3:59 PM, Chad Perrin wrote: What's the simplest/easiest way to use secure memory (i.e., memory that won't be written to a swap partition) from within a program (written in Ruby in this case) on FreeBSD? Well, Ruby supports calling C functions, so you can invoke mlock

Re: using secure memory from a script

2010-02-25 Thread Chad Perrin
swapping: http://www.freebsd.org/doc/handbook/swap-encrypting.html Thanks for pointing out a couple of options. I'll look into them. I've also discovered that there appears to be a way to lock memory natively in Ruby, though, I haven't checked into that in too much depth yet. I will weigh my

Is there a command to load all swap into the memory?

2010-02-23 Thread Yuri
I am asking out of curiosity. 'top' describes the memory state on my machine like this: Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free Swap: 16G Total, 757M Used, 16G Free, 4% Inuse There is enough space in memory to load back all swap. Is there a command to do

Re: Is there a command to load all swap into the memory?

2010-02-23 Thread Bill Moran
In response to Yuri y...@rawbw.com: I am asking out of curiosity. 'top' describes the memory state on my machine like this: Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free Swap: 16G Total, 757M Used, 16G Free, 4% Inuse There is enough space in memory to load back

Re: Is there a command to load all swap into the memory?

2010-02-23 Thread John
On Tue, Feb 23, 2010 at 12:24:15PM -0800, Yuri wrote: I am asking out of curiosity. 'top' describes the memory state on my machine like this: Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free Swap: 16G Total, 757M Used, 16G Free, 4% Inuse There is enough space

Re: Is there a command to load all swap into the memory?

2010-02-23 Thread RW
On Tue, 23 Feb 2010 14:59:28 -0600 John j...@starfire.mn.org wrote: On Tue, Feb 23, 2010 at 12:24:15PM -0800, Yuri wrote: I am asking out of curiosity. 'top' describes the memory state on my machine like this: Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free

Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Yuri
I know that 32-bot Linux can see something like 3.6GB. Is this possible on FreeBSD? I see this message in system log: real memory = 6442450944 (6144 MB) avail memory = 3123482624 (2978 MB) Yuri ___ freebsd-questions@freebsd.org mailing list http

Re: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Bill Moran
In response to Yuri y...@rawbw.com: I know that 32-bot Linux can see something like 3.6GB. Is this possible on FreeBSD? I see this message in system log: real memory = 6442450944 (6144 MB) avail memory = 3123482624 (2978 MB) Most systems usually see about 3.5G ... don't know why FreeBSD

Re: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Erik Trulsson
On Wed, Feb 17, 2010 at 03:02:17PM -0500, Bill Moran wrote: In response to Yuri y...@rawbw.com: I know that 32-bot Linux can see something like 3.6GB. Is this possible on FreeBSD? I see this message in system log: real memory = 6442450944 (6144 MB) avail memory = 3123482624 (2978

Re: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Yuri
of the address space for example. This doesn't seem like a good idea that video memory is always mapped to system memory. What if one day graphics card gets 4GB RAM? Then we won't even be able to have 32-bit OS working with such card and in 64-bit OS 4GB of memory would be grossly wasted

Re: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Chuck Swiger
with 256MB of RAM on it will use (at least) 256MB of the address space for example. This doesn't seem like a good idea that video memory is always mapped to system memory. What if one day graphics card gets 4GB RAM? Then we won't even be able to have 32-bit OS working with such card and in 64

Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
Hi, I would like to know if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify the actual file. I know what I could easily to this by copying the content of the file

Re: Memory disk a la mfsroot?

2010-02-11 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 14:53, Pierre-Luc Drouin wrote: I would like to know if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify

Re: Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 14:53, Pierre-Luc Drouin wrote: I would like to know if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F

Re: Memory disk a la mfsroot?

2010-02-11 Thread RW
On Thu, 11 Feb 2010 15:12:22 + Matthew Seaman m.sea...@infracaninophile.co.uk wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 14:53, Pierre-Luc Drouin wrote: I would like to know if there is a mount command that allows to create a memory disk that can

Re: Memory disk a la mfsroot?

2010-02-11 Thread Matthew Seaman
a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify the actual file. I know what I could easily to this by copying the content of the file to the memory disk, but I am looking for a solution that can be configured via fstab

Re: Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify the actual file. I know what I could easily to this by copying the content of the file to the memory disk, but I am looking

Re: Memory disk a la mfsroot?

2010-02-11 Thread Matthew Seaman
operations as far as I can see. By this do you mean that I would need to copy the whole content of the read-only filesystem to the memory disk? Yes. I looked at the man page for mount_unionfs and there is a big warning saying that it is a bad idea to use it, so I guess I will pass

Re: Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
as two separate operations as far as I can see. By this do you mean that I would need to copy the whole content of the read-only filesystem to the memory disk? Yes. I looked at the man page for mount_unionfs and there is a big warning saying that it is a bad idea to use it, so

Is there a driver for memory sticks?

2010-01-29 Thread Steven Friedrich
I'd like to access the digital media slots on my laptop. Specifically, I want to read Sony Memory Sticks. pciconf -lv shows the devices: no...@pci0:11:0:3: class=0x018000 card=0x3082103c chip=0x8033104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = 'PCIxx11

Re: Is there a driver for memory sticks?

2010-01-29 Thread Pieter de Goeje
On Friday 29 January 2010 23:14:06 Steven Friedrich wrote: I'd like to access the digital media slots on my laptop. Specifically, I want to read Sony Memory Sticks. pciconf -lv shows the devices: no...@pci0:11:0:3:class=0x018000 card=0x3082103c chip=0x8033104c rev=0x00 hdr=0x00

Nanobsd Memory Backed Disks

2010-01-13 Thread David N
I've been poking around /etc/rc.diskless and other rc's. I can't seem to find what script loads the md. Its not in /etc/fstab Does anyone know where it is? Also how does nanobsd load the /etc into the md? newfs + cpio? Regards David N ___

Re: Nanobsd Memory Backed Disks

2010-01-13 Thread M. Warner Losh
In message: 4d7dd86f1001130347k75ec7dcfhf6adf2a852210...@mail.gmail.com David N david...@gmail.com writes: : I've been poking around /etc/rc.diskless and other rc's. I can't seem : to find what script loads the md. : Its not in /etc/fstab : : Does anyone know where it is? : Also how

Re: Nanobsd Memory Backed Disks

2010-01-13 Thread David N
2010/1/14 M. Warner Losh i...@bsdimp.com: In message: 4d7dd86f1001130347k75ec7dcfhf6adf2a852210...@mail.gmail.com            David N david...@gmail.com writes: : I've been poking around /etc/rc.diskless and other rc's. I can't seem : to find what script loads the md. : Its not in /etc/fstab

top/ps: is Active Memory = sum(resident set size)?

2010-01-12 Thread Anton Shterenlikht
This has probably been discussed before, so apology for asking the same question again. Should the Active memory, as reported by top(1), be equal to the sum of rss (the real memory (resident set) size of the process) of all processes, as reported by ps(1)? The sum of ps(1) rss fields is probably

Re: top/ps: is Active Memory = sum(resident set size)?

2010-01-12 Thread Chuck Swiger
Hi-- On Jan 12, 2010, at 6:17 AM, Anton Shterenlikht wrote: Should the Active memory, as reported by top(1), be equal to the sum of rss (the real memory (resident set) size of the process) of all processes, as reported by ps(1)? No. They aren't measuring the same thing; in a system

Re: Looking for a convenient way in C to retrieve CPU and memory usage of a process

2009-12-27 Thread Matthew Seaman
Manish Jain wrote: I am looking for a convenient way using C to retrieve the current CPU and memory utilization of a process of which I have the pid. Can somebody please give me a hint of which system-calls/library-functions to use for this ? I don't want to use the system() function or grep

Re: Looking for a convenient way in C to retrieve CPU and memory usage of a process

2009-12-27 Thread b. f.
I am looking for a convenient way using C to retrieve the current CPU and memory utilization of a process of which I have the pid. Can somebody please give me a hint of which system-calls/library-functions to use for this ? I don't want to use the system() function or grep for information via

Looking for a convenient way in C to retrieve CPU and memory usage of a process

2009-12-26 Thread Manish Jain
Hello, I am looking for a convenient way using C to retrieve the current CPU and memory utilization of a process of which I have the pid. Can somebody please give me a hint of which system-calls/library-functions to use for this ? I don't want to use the system() function or grep

Re: Swap and memory optimization

2009-10-02 Thread mojo fms
wrote: I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 Works quite well. As I plan to put 100 more mail accounts soon on the server I was wondering if the memory swap was ok on the server considering these figures: last pid: 18956; load averages

Swap and memory optimization

2009-10-01 Thread bsd
Hello, I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 Works quite well. As I plan to put 100 more mail accounts soon on the server I was wondering if the memory swap was ok on the server considering these figures: last pid: 18956; load averages: 0.04, 0.11

Re: Swap and memory optimization

2009-10-01 Thread Bill Moran
bsd b...@todoo.biz wrote: Hello, I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 Works quite well. As I plan to put 100 more mail accounts soon on the server I was wondering if the memory swap was ok on the server considering these figures: last pid

Re: Swap and memory optimization

2009-10-01 Thread Jerry McAllister
On Thu, Oct 01, 2009 at 09:58:36AM +0200, bsd wrote: Hello, I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 Works quite well. As I plan to put 100 more mail accounts soon on the server I was wondering if the memory swap was ok on the server considering

Re: Swap and memory optimization

2009-10-01 Thread Dan Nelson
In the last episode (Oct 01), Bill Moran said: bsd b...@todoo.biz wrote: I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 Works quite well. As I plan to put 100 more mail accounts soon on the server I was wondering if the memory swap was ok on the server

Re: Swap and memory optimization

2009-10-01 Thread Bill Moran
was wondering if the memory swap was ok on the server considering these figures: last pid: 18956; load averages: 0.04, 0.11, 0.05 up 19+08:36:23 09:53:38 125 processes: 1 running, 124 sleeping CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% idle Mem: 499M

Is this a kernel memory leak or a process memory leak?

2009-09-22 Thread Modulok
List, Maybe I'm just not that bright, but I have a question regarding the following: man 3 getenv snip Successive calls to setenv() or putenv() assigning a differently sized value to the same name will result in a memory leak. The FreeBSD seman- tics for these functions (namely

Re: Is this a kernel memory leak or a process memory leak?

2009-09-22 Thread Giorgos Keramidas
On Tue, 22 Sep 2009 04:43:57 -0600, Modulok modu...@gmail.com wrote: Maybe I'm just not that bright, but I have a question regarding the following: man 3 getenv snip Successive calls to setenv() or putenv() assigning a differently sized value to the same name will result in a memory leak

Re: memory usage displsy

2009-09-02 Thread Bill Moran
In response to Per olof Ljungmark p...@intersonic.se: Dan Nelson wrote: In the last episode (Sep 01), Bill Moran said: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail

Re: memory usage displsy

2009-09-02 Thread Per olof Ljungmark
Bill Moran wrote: In response to Per olof Ljungmark p...@intersonic.se: Dan Nelson wrote: In the last episode (Sep 01), Bill Moran said: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something

Re: memory usage displsy

2009-09-02 Thread Bill Moran
memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory does not show at all. A proper tool for analyzing memory usage live, this is a production box? I've

Re: memory usage displsy

2009-09-02 Thread Mel Flynn
On Tuesday 01 September 2009 23:19:23 Michael David Crawford wrote: Per olof Ljungmark wrote: Well, my problem is that if I add up all I *can* see in top or ps it never gets near the by now 3G plus memory shown as Active. Maybe one gig is accounted for, I'm not that familiar with FreeBSD

Re: memory usage displsy

2009-09-02 Thread Per olof Ljungmark
Mel Flynn wrote: On Tuesday 01 September 2009 23:19:23 Michael David Crawford wrote: Per olof Ljungmark wrote: Well, my problem is that if I add up all I *can* see in top or ps it never gets near the by now 3G plus memory shown as Active. Maybe one gig is accounted for, I'm not that familiar

memory usage displsy

2009-09-01 Thread Per olof Ljungmark
Hello, What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory does not show at all. A proper tool for analyzing memory usage

Re: memory usage displsy

2009-09-01 Thread Bill Moran
In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory does not show

Re: memory usage displsy

2009-09-01 Thread Dan Nelson
In the last episode (Sep 01), Bill Moran said: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat

Re: memory usage displsy

2009-09-01 Thread Michael David Crawford
Per olof Ljungmark wrote: Well, my problem is that if I add up all I *can* see in top or ps it never gets near the by now 3G plus memory shown as Active. Maybe one gig is accounted for, I'm not that familiar with FreeBSD yet, but the kernel uses memory which might not be charged against any

Re: memory usage displsy

2009-09-01 Thread Per olof Ljungmark
Bill Moran wrote: In response to Per olof Ljungmark p...@intersonic.se: What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory

<    1   2   3   4   5   6   7   8   9   10   >