Re: spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE

George Schlossnagle <[email protected]> Mon, 09 Sep 2002 10:58:49 -0400
Newsgroups gmane.comp.apache.mod-log-spread.user
Message-ID <[email protected]>
Mike Parson wrote:

>On Mon, Sep 09, 2002 at 09:54:25AM -0400, George Schlossnagle wrote:
>
>>Can you ty out a hunch of mine and only use machine names in you 
>>spread.conf which are below the MAX_PROC_NAME define in spread_params.h 
>>(it defaults to 20).  
>>
>
>Woo!  That works!
>
>At least, nothing is dying off now.
>
>Next question...
>
>I'm using the $#vhost in the Customlog directive, now, what is the
>magic for spreadlogd.conf to let this all work?  My error_log is
>being filled with
>
No magic per se, just set the VhostDir directive in your spreadlogd.conf

>
>
>[Mon Sep  9 09:16:12 2002] [error] (61)Connection refused: Could not connect to spread 4803 with private_name ap55984. Error -2
>
>With a bunch of different numbers for apXXXXX.
>

Those are individual apache children failing to connect to spread.  Make 
sure there is a spread ring they can attach to (i you changed the names 
in the spread.conf from the hostnames, you will need to start spread 
with a '-n <name>' flag.  My usual approcah to this is to use just the 
nodename in the file, and to use a wrapper which converts `hostname` 
into the nodename and runs spread with that flag.

If spread is running, there may be other problems.  How many httpd 
children do you have per server (per spread instance specifically).

George