FATAL: erealloc(): Unable to allocate 577925121 bytes

Eric Anderson anderson at centtech.com
Wed Sep 28 10:56:14 PDT 2005


Roman Neuhauser wrote:
> # steve.rieger at tbwachiat.com / 2005-09-27 05:39:10 -0400:
> 
>>when trying to d/l the following  file
>>
>>1 www   www   551M Sep 16 13:23 20050818002.zip
>>
>>via apache1.3.33/php 4.3.11, i get that in the logs
>>i thought it was because i dont have enough swap so i did
> 
> 
>     [...]
> 
>     See ulimit(1), search for "ulimit" in sh(1), and please, ask this
>     kind of questions on, well, questions at .
> 

Or, alternatively, in /boot/loader.conf, set:

kern.maxdsiz="something bigger"

You could do your memory size plus a portion of your swap to total up to 
the size you need.

Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------


More information about the freebsd-hackers mailing list