Re: Swap Usage

2015-08-06 Thread Doug Hardie
Some more testing indicates that the problem is most likely in close, not mmap. I modified the program to the following: zool# more test.c #include #include #include #include #include #include int main (int argc, char *argv[]) { int rc, pid, fd; char *cp; char cmd[10

Re: Swap Usage

2015-08-05 Thread Doug Hardie
> On 30 July 2015, at 01:39, Doug Hardie wrote: > > >> On 29 July 2015, at 23:44, Peter Jeremy wrote: >> >> [reformatted] >> >> On 2015-Jul-29 17:41:33 -0700, Doug Hardie wrote: >>> I have several FreeBSD 9.3 systems that are using swap and I can’t >>> figure out what is doing it. The key

Re: Swap Usage

2015-07-30 Thread Doug Hardie
> On 29 July 2015, at 23:44, Peter Jeremy wrote: > > [reformatted] > > On 2015-Jul-29 17:41:33 -0700, Doug Hardie wrote: >> I have several FreeBSD 9.3 systems that are using swap and I can’t >> figure out what is doing it. The key system has 6GB swap and >> currently it has over 2GB in use. >

Re: Swap Usage

2015-07-29 Thread Peter Jeremy
[reformatted] On 2015-Jul-29 17:41:33 -0700, Doug Hardie wrote: >I have several FreeBSD 9.3 systems that are using swap and I can’t >figure out what is doing it. The key system has 6GB swap and >currently it has over 2GB in use. Is the system currently paging (top(1) and "systat -v" will show t

Re: Swap Usage

2015-07-29 Thread Doug Hardie
> On 29 July 2015, at 17:41, Doug Hardie wrote: > > I have several FreeBSD 9.3 systems that are using swap and I can’t figure out > what is doing it. The key system has 6GB swap and currently it has over 2GB > in use. ps shows only a kernel module [intr] with a W status. Obviously > that i

Re: Swap Usage

2015-07-29 Thread Doug Hardie
n are file backed and thus >> shouldn’t use swap. How do I figure out what that swap space is being used >> for? > Maybe top(1)? > top -P > for example. At least you could see who's chewing all your memory. Which > should be a good clue as to who's responsible for swa

Re: Swap Usage

2015-07-29 Thread Chris H
e is being used > for? Maybe top(1)? top -P for example. At least you could see who's chewing all your memory. Which should be a good clue as to who's responsible for swap usage. --Chris > > > ___ > freebsd-stable@freebsd.org m

Swap Usage

2015-07-29 Thread Doug Hardie
I have several FreeBSD 9.3 systems that are using swap and I can’t figure out what is doing it. The key system has 6GB swap and currently it has over 2GB in use. ps shows only a kernel module [intr] with a W status. Obviously that isn’t using the space. No other process shows a W in its stat

high swap usage after upgrade

2006-01-13 Thread Piotr Gnyp
s real memory = 1073152000 (1023 MB) avail memory = 1045057536 (996 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 After upgrade swap usage increased dramaticly - from 5% on 5.4 to 20%-70% on 6.0. Small investigation showed me that apache i