Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-22 Thread Chuck Swiger
Hi, Jason-- On Apr 22, 2010, at 12:33 PM, Jason Evans wrote: > The failure mode was trimmed before I was CC'ed, so I'm missing background > information. Thanks for the response. The bug report here: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1941 ...contains the useful details, but th

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-22 Thread Chuck Swiger
Hi-- [ CC:ing Jason as the domain expert. :-) ] On Apr 22, 2010, at 10:01 AM, Royce Williams wrote: > 2010/4/8 Török Edwin : >> On 04/08/2010 11:03 PM, Chuck Swiger wrote: [ ... ] # sysctl vm.max_proc_mmap vm.max_proc_mmap: 78951 >>> >>> It's the number of mmap() entries which the ker

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-22 Thread Royce Williams
2010/4/8 Török Edwin : > On 04/08/2010 11:03 PM, Chuck Swiger wrote: 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

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-09 Thread Török Edwin
On 04/08/2010 11:03 PM, Chuck Swiger wrote: 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

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
2010/4/8 Török Edwin : > On 2010-04-08 23:21, Royce Williams wrote: >> >> 2010/4/8 Török Edwin: I do have strace. I am having trouble recreating the problem.  I first uploaded the file to the server, but it scanned clean.  I then configured MIMEDefang to leave its files behind a

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Török Edwin
On 2010-04-08 23:21, Royce Williams wrote: 2010/4/8 Török Edwin: I do have strace. I am having trouble recreating the problem. I first uploaded the file to the server, but it scanned clean. I then configured MIMEDefang to leave its files behind after processing, sent myself a PDF that triggere

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
2010/4/8 Török Edwin : >> I do have strace. I am having trouble recreating the problem.  I first >> uploaded the file to the server, but it scanned clean.  I then >> configured MIMEDefang to leave its files behind after processing, sent >> myself a PDF that triggered the error, and then manually sc

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Chuck Swiger
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 vers

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
On Thu, Apr 8, 2010 at 11:15 AM, Chuck Swiger 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? >> >> N

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Chuck Swiger
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

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Török Edwin
On 04/08/2010 10:02 PM, Royce Williams wrote: > 2010/4/8 Török Edwin : >> 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 u

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
2010/4/8 Török Edwin : > 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 L

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Török Edwin
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? > We're getting this error in our sendmail logs: > > /var/spool/MIMEDefang/mdefang-o38GNjZv088151/Work/msg-81178-1234.pdf: > Can't map fi