Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2015 16:20:33 +0200
From:      "lokadamus@gmx.de" <lokadamus@gmx.de>
To:        Doug Hardie <bc979@lafn.org>,  FreeBSD - <freebsd-questions@freebsd.org>
Subject:   Re: Swap exhaustion
Message-ID:  <556875B1.2000203@gmx.de>
In-Reply-To: <1CD13C1C-5344-4909-A061-F25FBB86AFF9@lafn.org>
References:  <1CD13C1C-5344-4909-A061-F25FBB86AFF9@lafn.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 05/28/15 01:49, Doug Hardie wrote:
> I have a process that is eating up 6 GB of swap space.  At that point, FreeBSD 9.3 terminates a process.  However, occasionally its not the one eating up the space.  When I manually quit the process then the swap space returns to a few KB used.  The system runs fine after that.
> 
> I have very little knowledge of what this process is doing internally but would like to know what might be causing this issue.  There are 5 of these processes running (parent plus 4 children).  Normally each uses about 90 MB RES/SIZE.  However when the problem occurs they are about 2GB RES/SIZE each.  The system has 4 GB memory.  I thought that a malloc would not be able to grab that much memory, even with swapping as it has to be in memory.  Could a malloc cause this growth in process size or need I look elsewhere?
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
Look with ps ax or ps aux to understand, how much memory a program takes.
Or with top it is possible to see memory usage.

Greetings



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?556875B1.2000203>