On Thu, Apr 8, 2010 at 11:15 AM, Chuck Swiger <cswi...@mac.com> wrote:
> Hi--
>
> On Apr 8, 2010, at 12:02 PM, Royce Williams wrote:
>>> On 04/08/2010 08:04 PM, Royce Williams wrote:
>>>> First time poster, in a bind.  We're running ClamAV 0.95.3 on FreeBSD
>>>> 7.3.
>>>
>>> Does this still occur with 0.96?
>>
>> Not yet known.  I'm unable to test it because I can't upgrade to 0.96.
>> I think that this is because of the LLVM issue in bug 1934 reported
>> by Chuck Swiger.

Heh - sorry for the extraneous 'T' at the end of your name.

> 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

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

Reply via email to