Server: vserver
System: RH 9
sendmail-8.12.8-9.90.2.swsoft
SpamAssassin Server version 3.0.4
running on Perl 5.8.0
spamass-milter - Version 0.2.0
Hi Gemeinde,
Ich kämpfe seit der letzten Aktualisierung meines Spamassassin mit
ein paar Socket Problemen, welche aber nur sporadisch auftauchen.
Spamassassin wird über spamass-milter gefüttert, welcher über sendmail
beliefert wird.
Normalerweise läuft das System stabil. Aber irgendwann ( vermutlich bei einer e-mail Häufung im Eingang) gehem dem System die zugelassenen Sockets aus.
>>cat /proc/user_beancounters<<
bringt dann zu Tage, dass numothersock den maximalwert von 172 überschreitet - und ich bekomme dann auch Fehler von den diversen Programmen, welche auf Socketbasis arbeiten.
Heute war wieder so ein Tag
Bei der Untersuchung habe ich feststellen müssen, dass folgende Probleme im System herrschten:
netstat -npla (gefiltert auf spamass-milter)
---------------------------------------------------------
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 2 [ ] STREAM CONNECTED 528480311 17056/spamass-milte /var/spamd/spamass-milter.sock
unix 2 [ ] DGRAM 276886012 17056/spamass-milte
------------------------------------------------------------------------
nach dem Neustart des milters und spamassassin sieht das dann so aus:
-------------------------------------------------------------------------
15xxxx:/etc/mail # netstat -npla |grep spamass
unix 2 [ ACC ] STREAM LISTENING 538792969 9600/spamass-milter /var/spamd/spamass-milter.sock
unix 2 [ ] DGRAM 538792967 9600/spamass-milter
-------------------------------------------------------------------------
user_beancounters zeigt dann wieder normale Verhältnisse an:
15xxxx:/root # cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
15xxxx: kmemsize 2766390 4184458 7056211 7761832 0
lockedpages 0 0 344 344 0
privvmpages 30883 78637 109542 120496 0
shmpages 880 1536 19567 19567 0
dummy 0 0 0 0 0
numproc 35 61 128 128 0
physpages 20664 44644 0 2147483647 0
vmguarpages 0 0 18257 2147483647 0
oomguarpages 24530 63592 21300 2147483647 0
numtcpsock 16 106 172 172 0
numflock 1 6 224 246 0
numpty 1 2 16 16 0
numsiginfo 1 10 512 512 0
tcpsndbuf 4440 289208 1416560 2768240 0
tcprcvbuf 4268 183524 1416560 2768240 0
othersockbuf 12636 286376 655717 1153621 0
dgramrcvbuf 0 303028 655717 655717 0
numothersock 13 172 172 172 2124
dcachesize 315018 441888 1002127 1032191 0
numfile 709 1132 2240 2240 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 56 56 64 64 0
----------
Ich vermute den spamass-milter als denjenigen, welcher hier die Sockets öffnet bei einem Maileinlieferungsvorgang. Aber nicht wieder schliesst.
spamass-milter wird über sendmail bedient :
Auszug aus sendmail.cf
Xspamassassin, S=local:/var/spamd/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m
Ich kann selbst da keine Fehlkonfiguration erkennen.
Wer von Euch arbeitet auch mit sendmail und spamassassin in der gleichen Konfiguration ( also nicht spamassassin über procmail!!) ???
Wer hat ne Idee, woran es liegen könnte???
Wie gesagt das mailsystem läuft ansonsten stabil, habe allerdings gewöhnlich nur ca. 150 - 200 mailconnects im Servereingang.
Gruss
klaus
System: RH 9
sendmail-8.12.8-9.90.2.swsoft
SpamAssassin Server version 3.0.4
running on Perl 5.8.0
spamass-milter - Version 0.2.0
Hi Gemeinde,
Ich kämpfe seit der letzten Aktualisierung meines Spamassassin mit
ein paar Socket Problemen, welche aber nur sporadisch auftauchen.
Spamassassin wird über spamass-milter gefüttert, welcher über sendmail
beliefert wird.
Normalerweise läuft das System stabil. Aber irgendwann ( vermutlich bei einer e-mail Häufung im Eingang) gehem dem System die zugelassenen Sockets aus.
>>cat /proc/user_beancounters<<
bringt dann zu Tage, dass numothersock den maximalwert von 172 überschreitet - und ich bekomme dann auch Fehler von den diversen Programmen, welche auf Socketbasis arbeiten.
Heute war wieder so ein Tag
Bei der Untersuchung habe ich feststellen müssen, dass folgende Probleme im System herrschten:
netstat -npla (gefiltert auf spamass-milter)
---------------------------------------------------------
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 3 [ ] STREAM CONNECTING 0 - /var/spamd/spamass-milter.sock
unix 2 [ ] STREAM CONNECTED 528480311 17056/spamass-milte /var/spamd/spamass-milter.sock
unix 2 [ ] DGRAM 276886012 17056/spamass-milte
------------------------------------------------------------------------
nach dem Neustart des milters und spamassassin sieht das dann so aus:
-------------------------------------------------------------------------
15xxxx:/etc/mail # netstat -npla |grep spamass
unix 2 [ ACC ] STREAM LISTENING 538792969 9600/spamass-milter /var/spamd/spamass-milter.sock
unix 2 [ ] DGRAM 538792967 9600/spamass-milter
-------------------------------------------------------------------------
user_beancounters zeigt dann wieder normale Verhältnisse an:
15xxxx:/root # cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
15xxxx: kmemsize 2766390 4184458 7056211 7761832 0
lockedpages 0 0 344 344 0
privvmpages 30883 78637 109542 120496 0
shmpages 880 1536 19567 19567 0
dummy 0 0 0 0 0
numproc 35 61 128 128 0
physpages 20664 44644 0 2147483647 0
vmguarpages 0 0 18257 2147483647 0
oomguarpages 24530 63592 21300 2147483647 0
numtcpsock 16 106 172 172 0
numflock 1 6 224 246 0
numpty 1 2 16 16 0
numsiginfo 1 10 512 512 0
tcpsndbuf 4440 289208 1416560 2768240 0
tcprcvbuf 4268 183524 1416560 2768240 0
othersockbuf 12636 286376 655717 1153621 0
dgramrcvbuf 0 303028 655717 655717 0
numothersock 13 172 172 172 2124
dcachesize 315018 441888 1002127 1032191 0
numfile 709 1132 2240 2240 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 56 56 64 64 0
----------
Ich vermute den spamass-milter als denjenigen, welcher hier die Sockets öffnet bei einem Maileinlieferungsvorgang. Aber nicht wieder schliesst.
spamass-milter wird über sendmail bedient :
Auszug aus sendmail.cf
Xspamassassin, S=local:/var/spamd/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m
Ich kann selbst da keine Fehlkonfiguration erkennen.
Wer von Euch arbeitet auch mit sendmail und spamassassin in der gleichen Konfiguration ( also nicht spamassassin über procmail!!) ???
Wer hat ne Idee, woran es liegen könnte???
Wie gesagt das mailsystem läuft ansonsten stabil, habe allerdings gewöhnlich nur ca. 150 - 200 mailconnects im Servereingang.
Gruss
klaus