Michael Di Martino | 14 Jun 2006 06:09
Favicon

Simscan 1.2 and spamassassin


I am running net-qmail (LWQ)
Clam-av
Spamassassin
Ripmime

My /var/log/qmail/smtp log file records the following  when a message
arrives.

spamc: error while loading shared libraries: libz.so.1: failed to map
segment from shared object: Cannot allocate memory

Here is the entire log entrys
2006-06-13 23:58:16.879658500 simscan: normal clamdscan return code: 0
2006-06-13 23:58:16.879897500 simscan: calling spamc
2006-06-13 23:58:16.880014500 simscan: calling /usr/bin/spamc  spamc
2006-06-13 23:58:16.883072500 spamc: error while loading shared
libraries: libz.so.1: failed to map segment from shared object: Cannot
allocate memory
2006-06-13 23:58:16.883450500 simscan: cdb looking up version spam
2006-06-13 23:58:16.883740500 simscan:[2201]:PASSTHRU
(0.00/0.00):0.1217s::207.251.84.197:mdm@...:dpipitone <at> nobletradi
ng.com
2006-06-13 23:58:16.883937500 simscan: done, execing qmail-queue
2006-06-13 23:58:16.922360500 simscan: qmail-queue exited 0
2006-06-13 23:58:16.943454500 tcpserver: end 2201 status 0
2006-06-13 23:58:16.943462500 tcpserver: status: 0/20

I cannot figure out the cause I hoping the list be able to help out.
I am just stuped.
(Continue reading)

Jeremy Kister | 14 Jun 2006 06:18
Favicon

Re: Simscan 1.2 and spamassassin

On 6/14/2006 12:09 AM, Michael Di Martino wrote:
> I am running net-qmail (LWQ)
[...]
> spamc: error while loading shared libraries: libz.so.1: failed to map
> segment from shared object: Cannot allocate memory

try increasing the softlimit in /service/qmail-smtpd/run.  i'd recommend 
increasing it in 256k increments until it works.  remember to svc -du 
/service/qmail-smtpd each time you change the run file.

--

-- 

Jeremy Kister
http://jeremy.kister.net./

Michael Di Martino | 14 Jun 2006 06:24
Favicon

Re: Simscan 1.2 and spamassassin

Thanks will do.

Regards,
Michael Di Martino
Director of MIS
The telx Group
Office: 212 480 3300  X.2022
Cell: 646 207 6603
mdm@...
--------------------------
Sent from my BlackBerry Wireless Handheld

-----Original Message-----
From: Jeremy Kister <simscan-01@...>
To: simscan@... <simscan@...>
Sent: Wed Jun 14 00:18:04 2006
Subject: Re: [simscan] Simscan 1.2  and spamassassin

On 6/14/2006 12:09 AM, Michael Di Martino wrote:
> I am running net-qmail (LWQ)
[...]
> spamc: error while loading shared libraries: libz.so.1: failed to map
> segment from shared object: Cannot allocate memory

try increasing the softlimit in /service/qmail-smtpd/run.  i'd recommend 
increasing it in 256k increments until it works.  remember to svc -du 
/service/qmail-smtpd each time you change the run file.

--

-- 

(Continue reading)

Lance Powers | 14 Jun 2006 17:52

RE: Re: Spamassassin 3.1.1 problem

Anyone know anything else about this? I ended up just change the fprintf to
printf and removing the stderr so it wouldn't try and write to it, and it
seems to be working but I don't know if it's going to break anything down
the road.

Lance

-----Original Message-----
From: news [mailto:news@...] On Behalf Of Lance Powers
Sent: Friday, June 09, 2006 1:44 AM
To: simscan@...
Subject: [simscan] Re: Spamassassin 3.1.1 problem

Eric "Shubes" <plug <at> ...> writes:

> 
> That doesn't look right to me. Does simscan take SIMSCAN_DEBUG=0 as a 
> parameter? SIMSCAN_DEBUG should be an environment variable. Can be set 
> in tcp.smtp.
> 
> Lance Powers wrote:
> > I added that to...
> > export QMAILQUEUE="$VQ/bin/simscan SIMSCAN_DEBUG=0" But it still does
the
> > same thing.
> > 
> > 
> > -----Original Message-----
> > From: news [mailto:news <at> ...] On Behalf Of Norm Brandinger
> > Sent: Thursday, June 08, 2006 1:10 AM
(Continue reading)

Michael Di Martino | 15 Jun 2006 04:17
Favicon

RE: Simscan 1.2 and spamassassin

Jeremy Kister wrote:
> On 6/14/2006 12:09 AM, Michael Di Martino wrote:
>> I am running net-qmail (LWQ)
> [...]
>> spamc: error while loading shared libraries: libz.so.1: failed to map
>> segment from shared object: Cannot allocate memory
> 
> try increasing the softlimit in /service/qmail-smtpd/run.  i'd
> recommend increasing it in 256k increments until it works.  remember
> to svc -du /service/qmail-smtpd each time you change the run file.  

I have increased the softlimit all the way to 400000,
However io am still getting the spamc: error

2006-06-14 10:21:37.078333500 simscan: calling spamc
2006-06-14 10:21:37.078447500 simscan: calling /usr/bin/spamc  spamc
2006-06-14 10:21:37.081433500 spamc: error while loading shared
libraries: libz.so.1: failed to map segment from shared object: Cannot
allocate memory

The server was then delivering massages strip of it subject and contect.
Any info at this point will be greatly appreciated.

Rick Macdougall | 15 Jun 2006 04:57

Re: Simscan 1.2 and spamassassin

Michael Di Martino wrote:
> Jeremy Kister wrote:
>> On 6/14/2006 12:09 AM, Michael Di Martino wrote:
>>> I am running net-qmail (LWQ)
>> [...]
>>> spamc: error while loading shared libraries: libz.so.1: failed to map
>>> segment from shared object: Cannot allocate memory
>> try increasing the softlimit in /service/qmail-smtpd/run.  i'd
>> recommend increasing it in 256k increments until it works.  remember
>> to svc -du /service/qmail-smtpd each time you change the run file.  
> 
> 
> I have increased the softlimit all the way to 400000,
> However io am still getting the spamc: error
> 
> 2006-06-14 10:21:37.078333500 simscan: calling spamc
> 2006-06-14 10:21:37.078447500 simscan: calling /usr/bin/spamc  spamc
> 2006-06-14 10:21:37.081433500 spamc: error while loading shared
> libraries: libz.so.1: failed to map segment from shared object: Cannot
> allocate memory
> 
> The server was then delivering massages strip of it subject and contect.
> Any info at this point will be greatly appreciated.

Hi,

Keep increasing it.  I use 8000000 for mine.

Regards,

(Continue reading)


Gmane