[Mailman-Users] Excessive CPU usage [Looping read/close/mmap] (.db , .pck) (qfiles/out)
foobar
foobar at intter.net
Thu Jun 19 08:36:12 CEST 2003
Hi,
Some strace:
-- Opening that db --
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.db",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=2054, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "{s\4\0\0\0langs\2\0\0\0ens\10\0\0\0listnames\10"..., 4096) = 2054
close(9) = 0
munmap(0x40227000, 4096) = 0
unlink("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.db")
= 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.pck",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=7441, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
read(9, "tor\" CONTENT=3D\"MS Exchange Serv"..., 4096) = 3345
unlink("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+c164823523573087c71ed0088b9beb1dcc0c9698.pck")
= 0
close(9) = 0
munmap(0x40227000, 4096) = 0
--- Locale (Why do we need locale here?) ---
stat64("/opt/mailman-2.1.2/messages/en_US.ISO8859-1/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
stat64("/opt/mailman-2.1.2/messages/en_US/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
stat64("/opt/mailman-2.1.2/messages/en.ISO8859-1/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
stat64("/opt/mailman-2.1.2/messages/en/LC_MESSAGES/mailman.mo",
0xbfffe9e0) = -1 ENOENT (No such file or directory)
gettimeofday({1056003211, 26430}, NULL) = 0
gettimeofday({1056003211, 26915}, NULL) = 0
umask(07) = 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.pck",
O_WRONLY|O_CRET|O_TRUNC|O_LARGEFILE, 0666) = 9
umask(0) = 07
fstat64(9, {st_mode=S_IFREG|0660, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
write(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
write(9, "59-1\">\n<META NAME=3D\"Generator\" "..., 3345) = 3345
close(9) = 0
munmap(0x40227000, 4096) = 0
umask(07) = 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.db.tmp",
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 9
umask(0) = 07
fstat64(9, {st_mode=S_IFREG|0660, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
write(9, "{s\4\0\0\0langs\2\0\0\0ens\10\0\0\0listnames\10"..., 2054) =
2054
close(9) = 0
munmap(0x40227000, 4096) = 0
rename("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.db.tmp",
"/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.db")
= 0
open("/opt/mailman-2.1.2/qfiles/out",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9
fstat64(9, {st_mode=S_IFDIR|S_ISGID|0770, st_size=4096, ...}) = 0
fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
getdents64(0x9, 0x83f27c8, 0x1000, 0x1) = 224
getdents64(0x9, 0x83f27c8, 0x1000, 0x838e718) = 0
close(9) = 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.db",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=2054, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "{s\4\0\0\0langs\2\0\0\0ens\10\0\0\0listnames\10"..., 4096) = 2054
close(9) = 0
munmap(0x40227000, 4096) = 0
unlink("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.db")
= 0
open("/opt/mailman-2.1.2/qfiles/out/1055856935.2792439+1a902a0f2890e7389ed4a8dbe1ec989202db8b15.pck",
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0660, st_size=7441, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40227000
read(9, "(cMailman.Message\nMessage\nq\1oq\2}"..., 4096) = 4096
Could you tell what is wrong, no messages are going currently out or in,
MTA is working properly and bounces were handled correctly.
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
xxxxx mailman 25 0 6188 4848 2820 R 94,5 1,8 1192m python
What _could_ cause this kind of looping?
Mailman (see directory) version is 2.1.2
Could it be error 450 (I reject every delivery to non-existent domain):
XXX XX XX:XX:XX 2003 (XXYYZZ) delivery to ff at ff failed with
code 450: <ff at ff>: Recipient address rejected: Domain not
found
If yes, is there any workaround for this?
Best regards,
Veli Pirttila | ++Titus
More information about the Mailman-Users
mailing list