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 stdio.h #include fcntl.h #include string.h #include stdlib.h #include errno.h #include sys/mman.h int main (int argc, char *argv[]) { int

Re: Swap Usage

2015-08-05 Thread Doug Hardie
On 30 July 2015, at 01:39, Doug Hardie bc...@lafn.org wrote: On 29 July 2015, at 23:44, Peter Jeremy pe...@rulingia.com wrote: [reformatted] On 2015-Jul-29 17:41:33 -0700, Doug Hardie bc...@lafn.org wrote: I have several FreeBSD 9.3 systems that are using swap and I can’t figure out

Re: Swap Usage

2015-07-30 Thread Doug Hardie
On 29 July 2015, at 23:44, Peter Jeremy pe...@rulingia.com wrote: [reformatted] On 2015-Jul-29 17:41:33 -0700, Doug Hardie bc...@lafn.org 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

Re: Swap Usage

2015-07-30 Thread Doug Hardie
On 29 July 2015, at 17:41, Doug Hardie bc...@lafn.org 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

Re: Swap Usage

2015-07-30 Thread Peter Jeremy
[reformatted] On 2015-Jul-29 17:41:33 -0700, Doug Hardie bc...@lafn.org 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

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

Re: Swap Usage

2015-07-29 Thread Doug Hardie
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 swap usage. UFS although I don’t see how that could make a difference

Re: Swap Usage

2015-07-29 Thread Chris H
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 mailing list http://lists.freebsd.org/mailman

high swap usage after upgrade

2006-01-13 Thread Piotr Gnyp
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 is responsible, but even recompiling it doesn`t help. I can restart apache every 4 hours, but maybe someone can show me nicer way to deal