All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Athan <aathan-xen-1542@cloakmail.com>
To: Nivedita Singhvi <niv@us.ibm.com>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: Problem with apache proxying between domains
Date: Mon, 14 Feb 2005 18:28:49 -0500	[thread overview]
Message-ID: <42113431.6010901@cloakmail.com> (raw)
In-Reply-To: <421128B0.7060407@us.ibm.com>

What's the equivalent of strace on Windows XP?

:-)

I can strace the two apache processes on the Linux hosts, but not sure I 
can get useful information about the quicktime plugin in the browser.

By the way, dom1 is using swap which is an LVM volume in dom0.  Could 
there be some kind of deadlock in which dom0's apache is blocking on a 
network read which dom1 cannot service because it needs swap, which dom0 
cannot supply via LVM because the dom0 inter-domain stuff is "stuck" 
trying to service the apache inter-domain network request ??

I needed to make progress, so I have punted on inter-domain apache 
proxying for now.  However, I can set up a test config easily enough if 
that is of interest to the group.  The missing packets are somewhat 
worrisome to me, since I would have thought that inter-domain 
communication was lossless.

A.

Nivedita Singhvi wrote:

> Andrew Athan wrote:
>
>> The attached network sniff header lines from Ethereal show the
>> communication between 216.254.100.240 (browser) and 216.254.100.205
>> (dom0) which proxies to 216.254.100.181 (dom1).  You will see that we go
>> to a ZeroWindow condition with about 3 Megs transferred out of the dom0
>> proxy.  At the tail end -- the TCP connection is then kept alive, but
>> the QuickTime plugin never becomes "enabled" and can't play the movie.
>
>
> Can you attach to the process via strace or something and check
> what it's doing? Is it getting scheduled or waiting on IO?
> Since it keepalives successfully, I'm assuming your interface
> hasn't gone down. Also, check for a memory failure - could be
> a mem leak.
>
>> Fetching the same URL via CURL on the Windows host, dom0 host, or a
>> separate physical linux host works fine.  I also created a separate
>> Apache instance on a physically separate linux host, with the exact same
>> Rewrite rules.  Fetching the movie through this proxy works fine in both
>> the QuickTime plugin AND CURL.  I did this to eliminate the possibility
>> of some basic incompatibility between mod_proxy/mod_rewrite and
>> quicktime movies fetched by the quicktime browser plugin.
>
>
> It does look like reading process stops reading. Did you
> alter the default socket buffer sizes, at all, btw?
>
>> I have played with the ProxyIOBufferSize and ProxyBufferSize parameters
>> in the apache isntance in dom0, and have also tried various combinations
>> of bvt weights, warpback, etc.
>>
>> Should I try to capture a sniff of xen-br0 during this interchage?  Will
>> that help?  WHen I tried this I think I only got partial data, perhaps
>> because of the xen domain scheduling causing missed packets.
>
>
> You do seem to be missing packets in your trace as well.
>
> netstat -tan
> netstat -s
> ifconfig -a
> /proc/slabinfo
> vmstat
>
> would be useful on both dom0 and of course, dom1..
>
> thanks,
> Nivedita
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  reply	other threads:[~2005-02-14 23:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 21:15 Problem with apache proxying between domains Andrew Athan
2005-02-14 22:39 ` Nivedita Singhvi
2005-02-14 23:28   ` Andrew Athan [this message]
2005-02-15  0:41     ` Nivedita Singhvi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42113431.6010901@cloakmail.com \
    --to=aathan-xen-1542@cloakmail.com \
    --cc=niv@us.ibm.com \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.