Hi all,
I am in the process of setting up a VPS for testing purposes, and I chose minimal resources: single CPU with 256 MB memory. I installed FreeBSD 9.1 64-bit.
A short while ago I started building databases/mysql55-server, which has among other things devel/cmake as a dependency. That takes a long time to compile. Just now I received an automated warning from the hosting company that my VPS was swapping too much:
Is there something specific to compiling cmake which is particularly RAM- or disk-intensive?
TIA
I am in the process of setting up a VPS for testing purposes, and I chose minimal resources: single CPU with 256 MB memory. I installed FreeBSD 9.1 64-bit.
A short while ago I started building databases/mysql55-server, which has among other things devel/cmake as a dependency. That takes a long time to compile. Just now I received an automated warning from the hosting company that my VPS was swapping too much:
Is 256 MB too little memory to compile something like cmake?This is an automated notification that your virtual machine with the name '*****' has been swapping considerably during the past hour.
If a virtual machine is swapping this is an indication that there's not enough memory available to process all tasks running on the VPS. If the RAM of the VPS fills up the operating system on your VPS will free up some memory by writing parts of memory to disk.
Swapping prevents a server from crashing when it's low on memory, but the performance of your virtual machine will be greatly reduced by it and so it's undesirable behavior and a signal something needs to be done about the memory usage of the server.
Because the swapping not only impacts the performance of your own virtual machine, but also those of other customers running on the same physical host we kindly ask you not to ignore this notification and fix this issue as soon as possible. There are two possible solutions to this problem:
Thank you for your attention. If you have any further questions regarding this swap notification, please contact our support desk.
- Reduce the memory usage of the VPS.
- Increase the RAM memory of the VPS.
Is there something specific to compiling cmake which is particularly RAM- or disk-intensive?
TIA