hey,
this problem I got I have no idea when I got, but I think
I upgraded procmail, just ran apt-get upgrade and didn't
think about it more.
so that's possible why I got this in the first place. but
now to the problem, I get this error in the syslog:
Dec 11 01:25:53 fobie procmail[23506]: Out of memory as I tried to allocate
134582588 bytes
Dec 11 01:25:53 fobie sm-mta[23505]: fBB03CKa023058:
to=<razor(_at_)fobie(_dot_)net>, ctladdr=<razor(_at_)fobie(_dot_)net>
(1000/1000), delay=00:22:41, xdelay=00:00:55, mailer=local, pri=300067,
dsn=4.0.0, stat=Deferred: local mailer (/usr/lib/sm.bin/sensible-mda) exited
with EX_TEMPFAIL
this mail I sent to myself is max 70 bytes, still procmail seems to
go into an infinite loop and trying to allocate ~130Mb.
my procmailrc file isn't very advanced.. can be viewed at
http://fobie.net/misc/procmailrc
but the lines which procmail should trigg on is these:
:0:
$MONTH/Inbox/
they've worked for half a year.. can someone explain
what's wrong?
I got 64Mb RAM, 128Mb SWAP, and this box doesn't
have alot of traffic.
I've tried to look around for info about this, but can't.
This is anyway some "debugging" info I've noticed people
have gotten as respond, so I paste them here directly:
$ vmstat
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
0 0 1 63592 2752 2440 18328 5 3 15 10 205 111 12 19 68
and here's some output from strace -p <pid>
brk(0x100bd000) = 0x8063000
old_mmap(NULL, 134586368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = -1 ENOMEM (Cannot allocate memory)
old_mmap(NULL, 134586368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = -1 ENOMEM (Cannot allocate memory)
write(2, "procmail", 8) = 8
write(2, ": ", 2) = 2
write(2, "Out of memory", 13) = 13
write(2, "\n", 1) = 1
time([1008030353]) = 1008030353
getpid() = 23506
rt_sigaction(SIGPIPE, {0x4010f578, [], 0x4000000}, {SIG_IGN}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0) = 5
shmat(5, 0xffffffff, 0x2ptrace: umoven: Input/output error
)
that Input/output error, could that be something?
ii procmail 3.22-2 Versatile e-mail processor.
ii sendmail 8.12.1-2 A powerful, efficient, and scalable Mail Tra
peace,
orjan persson.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail