Hi--

On Apr 8, 2010, at 12:26 PM, Royce Williams wrote:
> Heh - sorry for the extraneous 'T' at the end of your name.
No worries, I've been called worse.  :-)

>> If you're running FreeBSD 7.x, you should already have gcc-4.2.1 or 
>> thereabouts with the base OS.  Anyway, even the gcc-3.4.6 version from 
>> FreeBSD-6.x seems to be doing OK with LLVM/JIT bytecode enabled once I 
>> removed the two warning options which were not recognized by gcc-3.
>> 
>> With regard to the failure you've described, what is output of "sysctl 
>> vm.max_proc_mmap"?  It could be the cause of ENOMEM from mmap():
>> 
>>     [ENOMEM]           MAP_FIXED was specified and the addr argument was not
>>                        available.  MAP_ANON was specified and insufficient
>>                        memory was available.  The system has reached the per-
>>                        process mmap limit specified in the vm.max_proc_mmap
>>                        sysctl.
> 
> I am not familiar enough with the function of this sysctl to interpret
> the results.
> 
> # sysctl vm.max_proc_mmap
> vm.max_proc_mmap: 78951

It's the number of mmap() entries which the kernel is willing to make available 
per process; what you display should be plenty, unless there is some kind of 
problem where mmap()ed files never get munmap()ed.

Regards,
-- 
-Chuck "aka Reverend Jimmy Swaggert"

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to