On Mon, 29 Nov 2004 11:29:39 +1300
Jason Haar wrote:

> Read the docs :-) On second thought - don't ;-) There has been a lot of 
> fundamental changes on how's best to deal with virus notifications over 
> the past couple of years - the end result is that  Q-S has moved from 
> (the defaults being...) notifying the sender and admin, to notifying the 
> sender/admin except if the virus was a known trojan that changed the 
>  From header (so that there was no point notifying the sender), to the 
> current status of not notifying anyone (but logging it of course). These 
> are only defaults - and can be overridden - but for anyone running a 
> medium-sized+ site - this is the only sensible option (do you want 
> 1,000+ emails/day saying that a virus was stopped? - what's the point - 
> it worked didn't it? What you really want is a system that tells you 
> when it DIDN'T stop a virus ;-)
> 
> These changes are documented - but it's now so messy that unless you 
> read the whole lot - it can be easy to miss.

Got that right :)  Seriously, I think I misread the doc for
configure... I thought the default was nmladm rather than nmlvadm. 
if I use nmladm, would the admin get a notification?  Call me
paranoid, but I usually run with "full" functionality until I
know everything is working.

> >This is a great idea.  I wasn't aware of strace.  Wish me luck.
> >
> >  
> May your excursions in strace bring you fruitful results...

Well, now I'm really in uncharted territory.  I have the output
from strace... and I either don't know what I'm looking at, or
I've found the problem.  Everything seems to be ok, and then
there's this:

25934 read(3, "n;\n  $desc =~ s/\\n\\t/ /g;\n  $now"..., 4096) = 4096
25934 read(3, "ondition(\"cannot open $qmailinje"..., 4096) = 4096
25934 brk(0)                            = 0x8301000
25934 brk(0x8322000)                    = 0x8322000
25934 brk(0)                            = 0x8322000
25934 brk(0)                            = 0x8322000
25934 brk(0x8321000)                    = 0x8321000
25934 brk(0)                            = 0x8321000
25934 read(3, "  if (&notify_addr(\'precips\')) {"..., 4096) = 4096
25934 read(3, "  $destring=\'problem\';\n      $qu"..., 4096) = 4096
25934 brk(0)                            = 0x8321000
25934 brk(0x8342000)                    = 0x8321000
25934 mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = -1 ENOMEM (Cannot allocate memory)
25934 mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, 
-1, 0) = -1 ENOMEM (Cannot allocate memory)
25934 mmap2(NULL, 1048576, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, 
-1, 0) = -1 ENOMEM (Cannot allocate memory)
25934 mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, 
-1, 0) = -1 ENOMEM (Cannot allocate memory)
25934 mmap2(NULL, 1048576, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, 
-1, 0) = -1 ENOMEM (Cannot allocate memory)
25934 brk(0)                            = 0x8321000
25934 brk(0x8342000)                    = 0x8321000

If I'm reading this correctly, the mmap2 call is returning a
memory allocation error, right?

I remember reading in the install doc that memory would be an
issue.  It said to keep testing until there were no more memory
errors in the qmail log... then add another 1.5Mb.  My memory
errors went away with softlimit -m 6000000... so I upped it to
7500000.

top says I'm using a lot of memory, but I have a ton of swap left. 
Assuming this is what's causing my problem, does swap not do me
any good here?

Brenda Bell
Henniker (the only one on earth)
New Hampshire (the state with 5 seasons: black fly, tourist, foliage, ski and 
mud)




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to