You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/12/08 02:08:08 UTC

[Bug 5746] New: distributed mass-check seems to be broken

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746

           Summary: distributed mass-check seems to be broken
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Masses
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jm@jmason.org


the nightly mass-checks on the zone, run like so:


  sudo -u bbmass -H bash
  HOME=/home/bbmass/mc-nightly/jm
  PERL=/local/perl586/bin/perl
  TMPDIR=/tmpfs; export HOME PERL TMPDIR
  cd ~
  nice bash $HOME/svn/masses/rule-qa/corpus-nightly.post-svn 2>&1 | tee o

seem to be broken.  I've tried with and without --schedule_cache, no luck.

It gets to the "server waiting for requests" stage, then outputs:

status: starting run stage                               now: 2007-12-07 16:47:06
status: server ready for connections                     now: 2007-12-07 16:47:06
network I/O: sent=0, received=0
processed 0 messages in 1 seconds (0.0 kmsgs/hr)
cache hits: 0 (0.0%)
network I/O: sent=0, received=0
processed 0 messages in 1 seconds (0.0 kmsgs/hr)
cache hits: 0 (0.0%)


and sits there.  haven't looked into it further...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From spamassassin@dostech.ca  2007-12-08 23:03 -------
Turns out mine was fine... looking at the mail I just got for the mass-check
server output, it just took 4 hours to scan the corpus.

On the zone, though, when I tried to connect to the mass-check server (both the
one that was already running and one I started on another port) with nmap it
said the port was closed.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From jm@jmason.org  2007-12-11 14:21 -------
I think this is fixed. closing, will reopen if it recurs



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From spamassassin@dostech.ca  2007-12-08 15:02 -------
Weirder yet... I just tried connecting to my mass-check server (that I left
running) and it is now listening on its port.  I started the mass-check clients
up by hand and everything appears to be running as normal.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From spamassassin@dostech.ca  2007-12-07 18:50 -------
The mass-check server isn't binding to its port for some reason.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From jm@jmason.org  2007-12-09 03:01 -------
I've seen that with ports bound to localhost; the zone cannot bind a port on the
127.0.0.1 interface.  I wonder if this is an extension of that? odd...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From spamassassin@dostech.ca  2007-12-08 02:36 -------
Hrm... mine just failed to bind to its port also, so its not the zone.

The weird thing is that it ran r601759 fine yesterday and there were no code
changes today.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From jm@jmason.org  2007-12-11 14:08 -------
aha. command line:

/local/perl586/bin/perl mass-check --noisy --progress --cs_ssl --server
spamassassin.zones.apache.org:38891
'--run_post_scan=./rule-qa/nightly-slaves-start mccli@vmsa.apache.org
jm@talon1.pccc.com:-j16 jm@infiltrator.stdlib.net:-j16' --cache
--cachedir=/tmpfs/aicache_nightly --cs_schedule_cache
--cs_cachedir=/export/home/bbmass/cache --restart=500
'ham:detect:/home/bbmass/rawcor/jm/ham/*' --after=15552000 --tail=25000
--scanprob=0.3 'spam:detect:/home/bbmass/rawcor/jm/spam/*'

/etc/hosts:

::1     localhost       loghost spamassassin.zones.apache.org
127.0.0.1       localhost       loghost spamassassin.zones.apache.org

so it binds to 'spamassassin.zones.apache.org', which is 127.0.0.1.

easy fix:

: jm 341...; perl -e 'use Socket;($name,$aliases,$addrtype,$length,@addrs) =
gethostbyname("spamassassin.zones.apache.org"); print Socket::inet_ntoa($addrs[0])'
127.0.0.1
: exit=0 Tue Dec 11 22:06:03 GMT 2007; cd /home/bbmass/mc-nightly/jm/svn/masses
: jm 342...; perl -e 'use Socket;($name,$aliases,$addrtype,$length,@addrs) =
gethostbyname("spamassassin.zones.apache.org."); print Socket::inet_ntoa($addrs[0])'
140.211.11.80
: exit=0 Tue Dec 11 22:06:09 GMT 2007; cd /home/bbmass/mc-nightly/jm/svn/masses

ie. add a dot.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746





------- Additional Comments From jm@jmason.org  2007-12-11 14:01 -------
(In reply to comment #4)
> On the zone, though, when I tried to connect to the mass-check server (both the
> one that was already running and one I started on another port) with nmap it
> said the port was closed.

yep, just checked here myself; it's definitely closed on the zone.

lsof doesn't work on the zone, so that's no help :(

netstat -an | grep 38891:

127.0.0.1.38891            *.*                0      0 4915200      0 LISTEN

so it's bound to localhost!



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5746] distributed mass-check seems to be broken

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5746


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jm@jmason.org  2007-12-11 14:21 -------
fixed, I said



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.