-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2014-05-06 at 09:15 +0200, Per Jessen wrote:
Carlos E. R. wrote:
top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4034 root 20 0 1295260 1,146g 2780 S 0,000 14,66 8:07.59 spamd child 4035 root 20 0 1206876 1,061g 2908 S 0,000 13,58 4:09.77 spamd child
1 gigabyte resident size?
That seems pretty unusual. I run a test-system cluster with 4 very old boxes, each with only 384Mb RAM. They each run typically 2-3 spamd children, but don't think I've ever seen that kind of memory usage. Mind you, I only scan mails that are less than 2Mb.
I increased that limit, because I often got spam mails way bigger than that, that went through to my inbox.
Ah, and that email is not spam. It is a dump of a WhatsApp chat with multimedia attachments.
How big is the email itself?
"Just" 19 MB. Not that /huge/.
spamd does need to keep it in-core, so until a child is re-spawned, the memory usage might remain at the amount required for the largest email.
The huge memory usage was by the children, not the parent. That email contains about a hundred attachments. They are marked like: 25 47 KB Video/3GPP (Name: "PTT-20130807-WA0018.3gp") 26 ~10 KB Text/* (Name: "PTT-20130807-WA0019.3ga") 27 89 KB Image/JPEG (Name: "IMG-20130807-WA0020.jpg") 28 74 KB Image/JPEG (Name: "IMG-20130808-WA0000.jpg") 29 ~17 KB Text/* (Name: "PTT-20130808-WA0001.3ga") 30 ~20 KB Text/* (Name: "PTT-20130808-WA0002.3ga") 31 ~10 KB Text/* (Name: "PTT-20130808-WA0003.3ga") Notice that the .3ga are marked text, when they are multimedia (voice messages, I think). Thunderbird tries to display them, and obviously fails. WhatsApp has made a mess of it. I have a /etc/sysconfig/spamd with these settings (old): SPAMD_AWL=no SPAMD_NICE=yes SPAMD_ARGS="-d -c --max-children=8 " SPAM_SA_UPDATE="no" SPAM_SA_COMPILE="no" SPAM_AMAVISD_RESTART="no" SPAM_SPAMD_RESTART="yes" But there is also a "spampd" file with this single line: SPAMPD_OPTIONS="--port=10025 --relayhost=127.0.0.1:10026 --user=spamfilter --tagall --children=5 --maxsize=250" which are some of the options that Linda has, it looks like. But: cer@Telcontar:/etc/sysconfig> rpm -qf /etc/sysconfig/spampd file /etc/sysconfig/spampd is not owned by any package cer@Telcontar:/etc/sysconfig> It is dated "Feb 25 21:45". I don't know what "SPAMPD" is. - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlNpYysACgkQtTMYHG2NR9WH3gCeMuIF3vxDDW+JNaNjGNDXt40l XdAAn10/kB3tiaUVREVsryV85abx4xns =BzmK -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org