httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Smith" <g...@primeexalia.com>
Subject RE: [users@httpd] Error logs showing status 304 for images. Why?
Date Thu, 03 Jun 2004 15:59:18 GMT
I'd still watch the number of concurrent users in any event.  If it's the number of users hitting
the site then later down the road if their load increases then you might run into this roadblock
again.  If the browser is set not to cache the images you will also see this and the meta
tag will become useless
 
try something like <   watch -n 1 'netstat -ano | grep ":80 "'   > during the peak times
and see the number of connections.  On some of our sites we see it go from 20 active to 60
active in a heartbeat.
 
Gary

________________________________

From: Gerard Isdell [mailto:gerard.isdell@kinetic.co.uk]
Sent: Thu 6/3/2004 7:45 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Error logs showing status 304 for images. Why?



Thanks you both for your help.

But users have reported now that the problem has gone. In fact it looks like
adding the meta tags did work.

Thanks again,

Gerard


-----Original Message-----
From: "Gary Smith" <gary@primeexalia.com>
To: <users@httpd.apache.org>, <users@httpd.apache.org>,
<gerard.isdell@kinetic.co.uk>
Date: Tue, 1 Jun 2004 11:00:10 -0700
Subject: RE: [users@httpd] Error logs showing status 304 for images. Why?

> What's the site load versus the number of children apache can spawn.
> If you have the default 20 and you have a high volume site then maybe
> they can't get the image because it is timing out.
> 
> We ran into this with a site receiving about a million hits per day
> (including images).  They have many small images but during peak day
> usage they might have 50 people trying access the site which has 20-30
> images on it.  That's 1500 simultaneous requests.  In our can we bumped
> the children up to a much higher number and it seems to work well now.
> Because this clients would get broken images.
> 
> Hope this helps.
> 
> Gary
>
> ________________________________
>
> From: Joshua Slive [mailto:joshua@slive.ca]
> Sent: Tue 6/1/2004 10:50 AM
> To: users@httpd.apache.org; gerard.isdell@kinetic.co.uk
> Subject: Re: [users@httpd] Error logs showing status 304 for images.
> Why?
>
>
>
>
> On Tue, 1 Jun 2004, Gerard Isdell wrote:
> > Some visitors to my website are complaining that sometimes they can't
> see
> > images on the site.  I've looked in the error logs and found lots of
> GETs of
> > images with a status code of 304 e.g.
> >
> > 80.41.236.203 - - [27/May/2004:21:20:24 +0000] "GET
> > /members/photos/alexpic3.jpg HTTP/1.1" 304 - "Mozilla/4.0
> (compatible;
> > MSIE 6.0; Windows 98; generic_01_01)"
> >
> > As far as I can make out, this is an issue in which the server
> responds with
> > the 304 code, essentially saying the image hasn't been modified, and
> telling
> > the browser to use the version in it's cache.
>
> The 304 status code is perfectly normal, so you need to look a little
> deeper.  What exact problem are you seeing?  Have you examined exactly
> the
> headers that are being sent in the HTTP request and response?  If you
> "touch" the file (to make the server think it changed) can the client
> get
> the image?
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


*************************************************************************
This e-mail and any attachments may contain confidential or privileged
information.  If you are not the intended recipient, please contact the
sender immediately and do not use, store or disclose their contents.
Any views expressed are those of the individual sender and not of Kinetic
Information System Services Limited unless otherwise stated.

                           www.kinetic.co.uk


---------------------------------------------------------------------
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


Mime
View raw message