Free memory exhausted by networking

2011-12-13 Thread Dmitriy Kryuk
I'm running Transmission (http://www.transmissionbt.com/), а BitTorrent client on my FreeBSD 7.2 box. It requests large recieve buffers for its network connections. This leaves my system with absolutely no free memory. If some process frees a large amount of memory, it gets consumed about 1.5

Re: Free memory exhausted by networking

2011-12-13 Thread Adam Vande More
On Tue, Dec 13, 2011 at 11:57 AM, Dmitriy Kryuk kryukdmit...@rambler.ruwrote: How do I make FreeBSD keep some memory free (and so avoid swapping) with Transmission running? Your top(1) output doesn't indicate to me that swapping is a problem. There were some performance problems with

Re: Free memory exhausted by networking

2011-12-13 Thread RW
On Wed, 14 Dec 2011 00:57:52 +0700 Dmitriy Kryuk wrote: I'm running Transmission (http://www.transmissionbt.com/), а BitTorrent client on my FreeBSD 7.2 box. It requests large recieve buffers for its network connections. This leaves my system with absolutely no free memory. If some process

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.

Re: High load, lots of free memory and processes in devfs state

2008-06-16 Thread Stut
1.24% httpd ...etc... As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. When it's like this it's impossible to do anything - every command can take anything from a few seconds to a few minutes to respond - and the web user experience is shot

Re: High load, lots of free memory and processes in devfs state

2008-06-16 Thread Oliver Fromme
of free memory and the CPU is 70% idle yet the load is sky high. Well, load 10 isn't that much for a 4-way SMP system. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung

Re: High load, lots of free memory and processes in devfs state

2008-06-16 Thread Stut
see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. Well, load 10 isn't that much for a 4-way SMP system. A couple of weeks ago this server was fairly fast, load never really going beyond 3 and everything was reasonably responsive. Now it regularly goes up

Re: High load, lots of free memory and processes in devfs state

2008-06-16 Thread Patrick C
/src/sys/SMP amd64 Have you considered updating? 6.2-RELEASE isn't the freshest anymore. You might even consider going to 7-stable and using the new ULE scheduler which copes better with SMP servers. I have, but I'd rather understand what's happening. As you can see there's plenty of free

Re: High load, lots of free memory and processes in devfs state

2008-06-16 Thread Stut
better with SMP servers. I have, but I'd rather understand what's happening. As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. Well, load 10 isn't that much for a 4-way SMP system. A couple of weeks ago this server was fairly fast, load never

High load, lots of free memory and processes in devfs state

2008-06-15 Thread Stut
plenty of free memory and the CPU is 70% idle yet the load is sky high. When it's like this it's impossible to do anything - every command can take anything from a few seconds to a few minutes to respond - and the web user experience is shot to pieces. I can't find a reference that explains

free memory

2007-02-09 Thread Andy Greenwood
On 2/9/07, Яцко Эллад Геннадьевич (ws44) [EMAIL PROTECTED] wrote: Hello! Are there some utils to release Inact memory, which can be viewed by top-utility? In time all Free Memory flows to Inact Memory, and we have real problem with performance of our router. After I reboot server, problem

free memory keeps going down on 5.4-release

2006-11-06 Thread Roselyn Lee
the free memory any smaller. I checked top and vmstat -m, vmstat -z and can't see where all that memory is going. Does freebsd use memory for disk caching that is not accounted for in these stats? Thanks in advance for any help. Roselyn ___ freebsd

Re: free memory keeps going down on 5.4-release

2006-11-06 Thread Jonathan Horne
up more apps on the system doesn't seem to make the free memory any smaller. I checked top and vmstat -m, vmstat -z and can't see where all that memory is going. Does freebsd use memory for disk caching that is not accounted for in these stats? Thanks in advance for any help. Roselyn

Re: free memory keeps going down on 5.4-release

2006-11-06 Thread Dan Nelson
apps on the system doesn't seem to make the free memory any smaller. I checked top and vmstat -m, vmstat -z and can't see where all that memory is going. Does freebsd use memory for disk caching that is not accounted for in these stats? Yes, free memory is used as cache. As Free decreases, you

Re: free memory keeps going down on 5.4-release

2006-11-06 Thread Charles Swiger
On Nov 6, 2006, at 12:22 PM, Dan Nelson wrote: In the last episode (Nov 06), Roselyn Lee said: Does freebsd use memory for disk caching that is not accounted for in these stats? Yes, free memory is used as cache. As Free decreases, you will see Inact, Cache and Buf increase. Yep. What

Re: free memory keeps going down on 5.4-release

2006-11-06 Thread Jerry McAllister
there. After that bringing up more apps on the system doesn't seem to make the free memory any smaller. I checked top and vmstat -m, vmstat -z and can't see where all that memory is going. Does freebsd use memory for disk caching that is not accounted for in these stats? I believe this is normal

Re: Python memory allocator: Free memory (fwd)

2006-10-24 Thread Kay Abendroth
. So this is the problem description: I noticed that the free memory function patch (http://sourceforge.net/tracker/index.php?func=detailaid=1123430group_id=5470atid=305470) was included in Python-2.5. I built the Python-2.5 port in FreeBSD (6.2-PRELENG, latest ports tree) but the problem

Python memory allocator: Free memory (fwd)

2006-10-20 Thread Nguyen Tam Chinh
Hello, I really don't know whether this is a good idea to forward this message to ports@ and [EMAIL PROTECTED] I wrote to freebsd-python@ but there's no reply so far. So this is the problem description: I noticed that the free memory function patch (http://sourceforge.net/tracker/index.php

Re: Calculating of total free memory

2006-03-03 Thread Lowell Gilbert
N. Ersen SISECI [EMAIL PROTECTED] writes: I want to know REAL free memory size in my system. What I want to know that is the real free memory size is hw.physmem - Free memory (the one that is shown at the output of top -b). Various tools such as the one in freecolor ports in ports tree says

Re: Calculating of total free memory

2006-03-03 Thread Chuck Swiger
N. Ersen SISECI wrote: I want to know REAL free memory size in my system. What I want to know that is the real free memory size is hw.physmem - Free memory (the one that is shown at the output of top -b). Various tools such as the one in freecolor ports in ports tree says it is not like

Calculating of total free memory

2006-03-03 Thread N. Ersen SISECI
Hi, I want to know REAL free memory size in my system. What I want to know that is the real free memory size is hw.physmem - Free memory (the one that is shown at the output of top -b). Various tools such as the one in freecolor ports in ports tree says it is not like that. It seems that Free

Programs don't free memory

2006-01-07 Thread Nguyen Danh Hieu
Hi everybody Sorry for my bad English but I have a question.I have 512Mb memory on my PC but as I realize at starting my system have about 100Mb active memory, but when the system have worked for a while there is no free memory on my system ( about 350Mb inactive) As I understand this means

Re: Programs don't free memory

2006-01-07 Thread Giorgos Keramidas
On 2006-01-07 20:51, Nguyen Danh Hieu [EMAIL PROTECTED] wrote: Hi everybody Sorry for my bad English but I have a question.I have 512Mb memory on my PC but as I realize at starting my system have about 100Mb active memory, but when the system have worked for a while there is no free memory

Re: Programs don't free memory

2006-01-07 Thread JK
active memory, but when the system have worked for a while there is no free memory on my system ( about 350Mb inactive) As I understand this means some programs ( like kdeinit) don't want to free memory after workes. Is this true? How can I fix th??s problem out? free memory is memory wasted

Inact v. Free Memory

2004-04-08 Thread Micah Bushouse
I have a quick question regarding the differences between Inactive and Free memory. Context: I'm running 4.9 stable as a desktop machine. Right after a fresh reboot most of the system memory shows up as Free (using top). Then, after a few hours of work... running X, web browsers

Re: Inact v. Free Memory

2004-04-08 Thread Charles Swiger
On Apr 8, 2004, at 8:33 AM, Micah Bushouse wrote: My question is... after I shut down all programs, ctrl alt backspace X, and get back to a terminal, why does top still show all the memory just freed by my desktop programs as inactive? The system still has the contents of your old programs kept

Determining free memory on FreeBSD 4.8-REL

2004-02-13 Thread dap
, 82M Free Swap: 496M Total, 41M Used, 456M Free, 8% Inuse So I have 82MB of free memory, 35MB of memory being used by the OS as disk IO, cache is different from Buf in some way or another (the top manpage doesn't quite go into details here). I don't quite get Inact and Wired. Why am I using 41MB

Re: Determining free memory on FreeBSD 4.8-REL

2004-02-13 Thread Uwe Doering
this: [...] So I have 82MB of free memory, 35MB of memory being used by the OS as disk IO, cache is different from Buf in some way or another (the top manpage doesn't quite go into details here). I don't quite get Inact and Wired. You can view all of Inactive, Cache and Free as free memory

Re: showing total/free memory

2004-01-29 Thread Rowdy
Chris Pressey wrote: Well, I'm not sure if it works on 5.x, but you could try /usr/ports/sysutils/muse Should be easier to parse than the other options. -Chris Works fine under 5.1 - thanx Chris. However the output is a little confusing, /var/run/dmesg.boot shows this: real memory =

Re: showing total/free memory

2004-01-29 Thread Jez Hancock
On Fri, Jan 30, 2004 at 08:11:26AM +1100, Rowdy wrote: Chris Pressey wrote: Well, I'm not sure if it works on 5.x, but you could try /usr/ports/sysutils/muse Should be easier to parse than the other options. -Chris You could always output the results of dmesg at boot-time to a file

Re: showing total/free memory

2004-01-29 Thread Chris Pressey
On Thu, 29 Jan 2004 21:29:07 + Jez Hancock [EMAIL PROTECTED] wrote: On Fri, Jan 30, 2004 at 08:11:26AM +1100, Rowdy wrote: Chris Pressey wrote: Well, I'm not sure if it works on 5.x, but you could try /usr/ports/sysutils/muse Should be easier to parse than the other

Re: showing total/free memory

2004-01-29 Thread Rowdy
Jez Hancock wrote: You could always output the results of dmesg at boot-time to a file - adding something like this: dmesg /var/log/dmesg.boot to /usr/local/etc/rc.local. Don't need to ... a default FreeBSD 5.1 installation already writes it to /var/run/dmesg.boot :-) Dave

Re: showing total/free memory

2004-01-29 Thread Jez Hancock
On Fri, Jan 30, 2004 at 08:40:16AM +1100, Rowdy wrote: Jez Hancock wrote: You could always output the results of dmesg at boot-time to a file - adding something like this: dmesg /var/log/dmesg.boot to /usr/local/etc/rc.local. Don't need to ... a default FreeBSD 5.1 installation

showing total/free memory

2004-01-28 Thread Rowdy
Greetings, What is the best/easiest way on FreeBSD 5.1 to show the total and free amount of memory (at any given moment in time)? I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot and the output from `top -b -d 1` to get total and free memory respectively, but I hope

Re: showing total/free memory

2004-01-28 Thread Matthew Hunt
On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot and the output from `top -b -d 1` to get total and free memory respectively, but I hope there is an easier way. Try vmstat instead. -- Matthew Hunt [EMAIL

Re: showing total/free memory

2004-01-28 Thread Rowdy
Matthew Hunt wrote: On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot and the output from `top -b -d 1` to get total and free memory respectively, but I hope there is an easier way. Try vmstat instead. Thought

Re: showing total/free memory

2004-01-28 Thread Chris Pressey
On Thu, 29 Jan 2004 08:26:00 +1100 Rowdy [EMAIL PROTECTED] wrote: Matthew Hunt wrote: On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot and the output from `top -b -d 1` to get total and free memory

Re: showing total/free memory

2004-01-28 Thread Andrew L. Gould
and the output from `top -b -d 1` to get total and free memory respectively, but I hope there is an easier way. Try vmstat instead. Thought of that. According to the man page, vmstat shows, for memory: avm active virtual pages fre size of the free list Does the size of the free

Re: showing total/free memory

2004-01-28 Thread Rowdy
Chris Pressey wrote: Well, I'm not sure if it works on 5.x, but you could try /usr/ports/sysutils/muse Should be easier to parse than the other options. -Chris That sounds just the ticket, thanx :) It is listed in the current ports tree, and so presumably does work under 5.x. Dave

howto calculate free memory from top

2003-09-09 Thread Jesse Guardiani
Howdy list, I've been wondering about this for a while: How do I calculate the amount of free memory my system has at any given point in time? My top usually looks like this: Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free Swap: 2048M Total, 5448K Used, 2043M Free I

Re: howto calculate free memory from top

2003-09-09 Thread Charles Swiger
On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote: How do I calculate the amount of free memory my system has at any given point in time? What do you mean by free memory? My top usually looks like this: Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free Swap

Re: howto calculate free memory from top

2003-09-09 Thread Jesse Guardiani
Charles Swiger wrote: On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote: How do I calculate the amount of free memory my system has at any given point in time? What do you mean by free memory? Memory that can be used by other programs before the vm starts using swap

Re: howto calculate free memory from top

2003-09-09 Thread Dan Nelson
In the last episode (Sep 09), Jesse Guardiani said: Charles Swiger wrote: On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote: How do I calculate the amount of free memory my system has at any given point in time? What do you mean by free memory? Memory that can

Re: howto calculate free memory from top

2003-09-09 Thread Jesse Guardiani
Dan Nelson wrote: In the last episode (Sep 09), Jesse Guardiani said: Charles Swiger wrote: On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote: How do I calculate the amount of free memory my system has at any given point in time? What do you mean by free memory

Re: howto calculate free memory from top

2003-09-09 Thread Dan Nelson
In the last episode (Sep 09), Jesse Guardiani said: So they _are_ available for use then? And thus are relatively free, correct? All memory except for Wired is free, to varying degrees. OK. Just out of curiosity, what would you say about my example then: -- Mem: 72M Active,