[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Apache netstat output: strange connection weirdness
From:       Christian Folini <christian.folini () post ! ch>
Date:       2007-10-31 10:27:24
Message-ID: 20071031102724.GB23750 () w032y7 ! pnet ! ch
[Download RAW message or body]

On Wed, Oct 31, 2007 at 11:09:02AM +0100, Jack Tuckson wrote:
> Apache 2.2.6.

okay. thanks.

> I can't provide configs, but the Listen directives are correct.

you choose.

> My question is whether Apache uses tcp connections for mod_cache to
> communicate with Apache.

Your Apache front instance uses normal tcp->http connections to access
the apache back instance running mod_cache.

You can dump the traffic with something like
tcpdump -A -s 0 port 80

good luck,

Christian

> 
> Thanks.
> 
> Quick hint: Have a look at your "Listen" directive.
> >
> > regs,
> >
> > Christian
> >
> > On Tue, Oct 30, 2007 at 03:51:43PM +0100, Jack Tuckson wrote:
> > > Apache is doing something odd - can anyone help?
> > >
> > > I have are two Apache processes, one for mod_cache, one for
> > > mod_proxy_balancer.
> > > mod_proxy_balancer requests get passed to mod_cache.
> > >
> > > mod_cache listens on 192.168.100.123, mod_proxy_balancer has a separate
> > ip
> > > address.
> > >
> > > Everything works - but there are processes listening on 192.168.100.123for
> > > BOTH processes, making requests to a different port on that ip.
> > >
> > > Here is what netstat sees:
> > >
> > > local address -> foreign address
> > >
> > > mod_cache:
> > >  192.168.100.123:80 -> 192.168.100.123:34693
> > >
> > > mod_proxy_balancer:
> > >  192.168.100.123:47992 -> 192.168.100.123:80
> > >
> > > I wouldn't expect mod_proxy_balancer to be listening on mod_cache's ip,
> > and
> > > I wouldn't expect mod_cache to make a connection to its own ip on a high
> > > port.
> > >
> > > Does anyone have any ideas?
> > >
> > > TJ
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic