Re: spamassassin memory leak bug with bayes

2004-07-23 Thread Stephen Gran
This one time, at band camp, Dmitry Golubev said:
> I found the missing library - it is libdb-4.0.so Why has not my ldd script 
> found it? I assume it is a bug that (a) ldd can not find it (b) without it, 
> mailscannet just takes over all the resources
> 
> Dmitry

I suspect mailscanner is a perl app, and not completely the problem -
something else (maybe one of the underlying perl modules) is trying to
use libdb-4.0.so and failing, but I am not sure.  Either your script
doesn't check all the necessary modules, or there is a missing
dependency for a compiled app or library.  objdump is often helpful in
these settings - it will pick up something like an rpath easily.

-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


pgpZDbarg0LSf.pgp
Description: PGP signature


Re: spamassassin memory leak bug with bayes

2004-07-23 Thread Michelle Konzack
Am 2004-07-23 19:53:56, schrieb Dmitry Golubev:
>I found the missing library - it is libdb-4.0.so Why has not my ldd script 
>found it? I assume it is a bug that (a) ldd can not find it (b) without it, 
>mailscannet just takes over all the resources
>
>Dmitry

Fine if your problem is solved...


Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: spamassassin memory leak bug with bayes

2004-07-23 Thread Dmitry Golubev
I found the missing library - it is libdb-4.0.so Why has not my ldd script 
found it? I assume it is a bug that (a) ldd can not find it (b) without it, 
mailscannet just takes over all the resources

Dmitry

On Friday 23 July 2004 18:47, Dmitry Golubev <[EMAIL PROTECTED]> wrote:
> I have partial victory - I copied everything from /usr/lib into my
> chroot's /usr/lib, and it just started to work. BUT as my script which
> 'ldd' all the executables and copy all the needed libraries to chroot's
> /lib is tested and working, I suspect somebody has put an absolute path to
> a library...  I will have more info later (I will not go through the new
> /usr/lib and try deleting files to localize the library I need to have
> there).
>
> I'm on the right track...
>
> Dmitry
>
> On Friday 23 July 2004 18:25, Michelle Konzack <[EMAIL PROTECTED]>
>
> wrote:
> > Am 2004-07-23 15:19:33, schrieb Dmitry Golubev:
> > >Is it possible that it is because of grsec and acl patches that I use to
> > > my 2.4.26 kernel? Or I have to a make different MailScanner
> > > configuration if I run it inside of a chroot?
> >
> > I do not know, because I do not use grsec and acl patches.
> > I use only kernel-source-2.4.26 from the Debian mirror.
> >
> > Befor I used the Duron 1600 I had an old HP Vectra XA5/200
> > with 64 MByte and it was working fine with spamassassin.
> > OK, the LoadAverage was around 8-12 but it was working correctly
> >
> > >Dmitry
> >
> > Greetings
> > Michelle


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: spamassassin memory leak bug with bayes

2004-07-23 Thread Dmitry Golubev
I have partial victory - I copied everything from /usr/lib into my 
chroot's /usr/lib, and it just started to work. BUT as my script which 'ldd' 
all the executables and copy all the needed libraries to chroot's /lib is 
tested and working, I suspect somebody has put an absolute path to a 
library...  I will have more info later (I will not go through the 
new /usr/lib and try deleting files to localize the library I need to have 
there).

I'm on the right track...

Dmitry

On Friday 23 July 2004 18:25, Michelle Konzack <[EMAIL PROTECTED]> 
wrote:
> Am 2004-07-23 15:19:33, schrieb Dmitry Golubev:
> >Is it possible that it is because of grsec and acl patches that I use to
> > my 2.4.26 kernel? Or I have to a make different MailScanner configuration
> > if I run it inside of a chroot?
>
> I do not know, because I do not use grsec and acl patches.
> I use only kernel-source-2.4.26 from the Debian mirror.
>
> Befor I used the Duron 1600 I had an old HP Vectra XA5/200
> with 64 MByte and it was working fine with spamassassin.
> OK, the LoadAverage was around 8-12 but it was working correctly
>
> >Dmitry
>
> Greetings
> Michelle


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: spamassassin memory leak bug with bayes

2004-07-23 Thread Michelle Konzack
Am 2004-07-23 15:19:33, schrieb Dmitry Golubev:
>Is it possible that it is because of grsec and acl patches that I use to my 
>2.4.26 kernel? Or I have to a make different MailScanner configuration if I 
>run it inside of a chroot?

I do not know, because I do not use grsec and acl patches.
I use only kernel-source-2.4.26 from the Debian mirror.

Befor I used the Duron 1600 I had an old HP Vectra XA5/200 
with 64 MByte and it was working fine with spamassassin. 
OK, the LoadAverage was around 8-12 but it was working correctly

>Dmitry

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: spamassassin memory leak bug with bayes

2004-07-23 Thread Dmitry Golubev
Is it possible that it is because of grsec and acl patches that I use to my 
2.4.26 kernel? Or I have to a make different MailScanner configuration if I 
run it inside of a chroot?

Dmitry

On Friday 23 July 2004 02:03, Michelle Konzack <[EMAIL PROTECTED]> 
wrote:
> Hello Dmitry,
>
> Am 2004-07-23 00:50:51, schrieb Dmitry Golubev:
> >Hello,
> >
> >1. Running exim4 with MailScanner without Spamassassin - OK
> >2. Running exim4 + MailScanner + Spamassassin... hmm... well that kind of
> >behavior... In this case MailScanner eats up all my 1GB of RAM and my 2GB
> > on swap, and also all my CPU (Xeon 2.4GHz with HyperThreading enabled).
> > Nothing is logged, nothing shows something is wrong
>
> Hmmm, I have a Duron 1600 with 128 MByte of Memory and 200 MByte of
> SWAP.
>
> Has 4 Domains, and around 30-40 $USER.
> In plus there are 36 local $USER which use 176 E-Mails fetched from
> differnt ISP's
>
> I am using courier-{mta,imap,pop3,mlm,authpostgresql,webadmin} and
> have tried to fuck my Server wit 2 Worms and Viruses and around
> 1.000.000 Spams... Using f-prot and spamassassin 2.63 via spamc.
>
> The Virus and Mail-Sending Testserver was a Athlon 2000. All two
> Servers are connected to a 3Com SuperStack III with GigaBit Ports.
>
> LoadAverage was around 5.3 on the Server. Exactly, it is my local
> FileServer where the /home is stored and exported via NFS.
>
> >3. Fighting with it for a 4 or 5 hours found that version 2.60 (note that
> > I have version 2.63) had a bug that could lead to this when bayes is
> > enabled... Disabled bayes, and that it...
> >
> >It seams it is really a bug, but please suggest any workaround...
>
> In 2.60 or 2.63 ?
> There is nothing which eat up memory in 2.63...
>
> But it seems, there is a bug in 2.99
>
> >Dmitry
>
> Greetings
> Michelle


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



spamassassin memory leak bug with bayes

2004-07-22 Thread Dmitry Golubev
Hello,

Running latest testing Debian on a Xeon box with exim4 and MailScanner - that 
was OK until I tried to put that all in a chroot. Now having all the needed 
packages unpacked in a chroot (I followed the dependencies and checked 
library reqs for every single executable with a script that does an 'ldd'), I 
have the following:

1. Running exim4 with MailScanner without Spamassassin - OK
2. Running exim4 + MailScanner + Spamassassin... hmm... well that kind of 
behavior... In this case MailScanner eats up all my 1GB of RAM and my 2GB on 
swap, and also all my CPU (Xeon 2.4GHz with HyperThreading enabled). Nothing 
is logged, nothing shows something is wrong
3. Fighting with it for a 4 or 5 hours found that version 2.60 (note that I 
have version 2.63) had a bug that could lead to this when bayes is enabled... 
Disabled bayes, and that it...

It seams it is really a bug, but please suggest any workaround...

Dmitry


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: spamassassin memory leak bug with bayes

2004-07-22 Thread Michelle Konzack
Hello Dmitry, 

Am 2004-07-23 00:50:51, schrieb Dmitry Golubev:
>Hello,

>1. Running exim4 with MailScanner without Spamassassin - OK
>2. Running exim4 + MailScanner + Spamassassin... hmm... well that kind of 
>behavior... In this case MailScanner eats up all my 1GB of RAM and my 2GB on 
>swap, and also all my CPU (Xeon 2.4GHz with HyperThreading enabled). Nothing 
>is logged, nothing shows something is wrong

Hmmm, I have a Duron 1600 with 128 MByte of Memory and 200 MByte of 
SWAP. 

Has 4 Domains, and around 30-40 $USER. 
In plus there are 36 local $USER which use 176 E-Mails fetched from 
differnt ISP's 

I am using courier-{mta,imap,pop3,mlm,authpostgresql,webadmin} and 
have tried to fuck my Server wit 2 Worms and Viruses and around 
1.000.000 Spams... Using f-prot and spamassassin 2.63 via spamc. 

The Virus and Mail-Sending Testserver was a Athlon 2000. All two 
Servers are connected to a 3Com SuperStack III with GigaBit Ports. 

LoadAverage was around 5.3 on the Server. Exactly, it is my local 
FileServer where the /home is stored and exported via NFS.

>3. Fighting with it for a 4 or 5 hours found that version 2.60 (note that I 
>have version 2.63) had a bug that could lead to this when bayes is enabled... 
>Disabled bayes, and that it...
>
>It seams it is really a bug, but please suggest any workaround...

In 2.60 or 2.63 ?
There is nothing which eat up memory in 2.63...

But it seems, there is a bug in 2.99

>Dmitry

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


spamassassin memory leak bug with bayes

2004-07-22 Thread Dmitry Golubev
Hello,

Running latest testing Debian on a Xeon box with exim4 and MailScanner - that 
was OK until I tried to put that all in a chroot. Now having all the needed 
packages unpacked in a chroot (I followed the dependencies and checked 
library reqs for every single executable with a script that does an 'ldd'), I 
have the following:

1. Running exim4 with MailScanner without Spamassassin - OK
2. Running exim4 + MailScanner + Spamassassin... hmm... well that kind of 
behavior... In this case MailScanner eats up all my 1GB of RAM and my 2GB on 
swap, and also all my CPU (Xeon 2.4GHz with HyperThreading enabled). Nothing 
is logged, nothing shows something is wrong
3. Fighting with it for a 4 or 5 hours found that version 2.60 (note that I 
have version 2.63) had a bug that could lead to this when bayes is enabled... 
Disabled bayes, and that it...

It seams it is really a bug, but please suggest any workaround...

Dmitry


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]