Re: Apache netstat output: strange connection weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
> >

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux