Product:
Search Type:

I get "Out of memory!" error when try to make Plesk dump using Backup Utilities on my FreeBSD server, however, there is enough free memory in the system.

Article ID: 899 
Last Review: Mar,23 2006
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION



Mostly, the problem is not related to the amount of available memory in the system. By default, FreeBSD 4.x kernel is compiled with 'datasize' 512MB . See:


# limits -d
Resource limits (current):
datasize 524288 kb

 You cannot increase this value without the kernel recompilation. It means that, by default,  a process cannot 
allocate more than 512 MB.

The possible solutions are:
1. Recompile the kernel with a larger datasize.
2. Dump not the whole server, but by paths. For example per 100 domains.


If the server is running FreeBSD 5.x you may change kern.maxdsiz value in the /boot/loader.conf:

kern.maxdsiz="1073741824"
Keywords: FreeBSD, psadump, memory

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields