Running out of swap space????

Paul Schmehl pauls at
Tue Jun 6 14:14:30 UTC 2006

cknipe at wrote:
> Quoting bob.middaugh at
>>> -------------- Original message ----------------------
>>> From: pauls at
>>> +pid 37308 (mysqld), uid 88, was killed: out of swap space
>>> +swap_pager: out of swap space
>>> +swap_pager_getswapspace(1): failed
>> If you kill mysql server, does the swap space free up?  Are there any known
>> issues between the version of MySQL that you're running and FreeBSD 6.0?
> MySQL not having a properly tuned config file for the system it runs on?  It is
> known to consume vast amounts of resources if not properly configured... 
I wrote a one line shell script that runs swapinfo -h and cron'd it to 
run once an hour.  Each hour the amount of swap space being used has 
increased by 100 to 200 MB.  Eventually swap is exhausted and the system 
kills a binary.  (It's not just mysql.  Other things are being killed as 

What would cause swap to increase steadily like that?  Something not 
releasing swap when it's no longer needed?

Paul Schmehl (pauls at
Adjunct Information Security Officer
The University of Texas at Dallas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5007 bytes
Desc: S/MIME Cryptographic Signature
Url :

More information about the freebsd-questions mailing list