Running out of swap space????
pauls at utdallas.edu
Tue Jun 6 14:14:30 UTC 2006
cknipe at savage.za.org wrote:
> Quoting bob.middaugh at comcast.net:
>>> -------------- Original message ----------------------
>>> From: pauls at utdallas.edu
>>> +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 utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5007 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060606/0b4a8913/smime.bin
More information about the freebsd-questions