Leonel Nunez | 1 Apr 03:11 2009

Re: Cherokee 0.99.8 released

>                        =========================
>                        Cherokee 0.99.8 released!
>                        =========================
>

Ubuntu Jaunty,Intrepid,Hardy DEBS Done  at the usual Place:
https://launchpad.net/~cherokee-webserver/+archive/ppa

Debian Unstable DEBS  Gunnar has fixed the upload problems for Unstable
so it must be on the queue to the archive.

Saludos

Leonel
Denis Kot | 1 Apr 15:01 2009
Picon

cherokee as a backend server

Hello

I want to try to use cherokee as a backend server for my site. My
frontend server (nginx) sets header 'X-Real-IP to  $remote_addr
(visitor IP) and my backend (nginx also) takes this header and
replaces frontend's IP with IP in this header so in logs I can see a
real addresses instead of address of my frontend.

How to do it with cherokee?

--

-- 
Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78
Yo'av Moshe | 2 Apr 01:10 2009
Picon

0.99.8 bug with gzip/deflate?

Hey all,
I've updated to 0.99.8 now, and my clients started to complain that some images won't load anymore.
Testing some options, I managed to fix that only by disabling GZip and Deflate (which was always enabled, and I don't recall having problems with it).

Could someone check if he can get this image to be served by Cherokee 0.99.8 with Gzip and Deflate enabled?
http://noal.org.il/static/gallery/77911/85122.jpg
As I said, it is now being served by Cherokee 0.99.8 but GZip and Deflate are disabled.

Thank you!

--
Yo'av Moshe
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Leonel Nunez | 2 Apr 02:57 2009

Re: 0.99.8 bug with gzip/deflate?

> Hey all,
> I've updated to 0.99.8 now, and my clients started to complain that some
> images won't load anymore.
> Testing some options, I managed to fix that only by disabling GZip and
> Deflate (which was always enabled, and I don't recall having problems with
> it).
>
> Could someone check if he can get this image to be served by Cherokee
> 0.99.8
> with Gzip and Deflate enabled?
> http://noal.org.il/static/gallery/77911/85122.jpg
> As I said, it is now being served by Cherokee 0.99.8 but GZip and Deflate
> are disabled.
>
> Thank you!
>
> --
> Yo'av Moshe
>
> _______________________________________________
> Cherokee mailing list
> Cherokee <at> lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>
>

I see an image of a Linux Cluster :-P

Saludos

Leonel
Juanba Escrig | 2 Apr 04:15 2009
Picon

Re: 0.99.8 bug with gzip/deflate?

I have the same problem,
I can't see jpg and png extensions, but I can see pdf, all them matching the same rule.

Rule type: Extensions
Extensions: jpg,png,pdf
Handler: Static content
Encoding: Allow gzip -->Enabled
                 Allow deflate --> Enabled

And the files:
http://juanba.homelinux.org/downloads/85122.jpg
http://juanba.homelinux.org/downloads/sample.pdf



2009/4/2 Yo'av Moshe <bjesus <at> gmail.com>
Hey all,
I've updated to 0.99.8 now, and my clients started to complain that some images won't load anymore.
Testing some options, I managed to fix that only by disabling GZip and Deflate (which was always enabled, and I don't recall having problems with it).

Could someone check if he can get this image to be served by Cherokee 0.99.8 with Gzip and Deflate enabled?
http://noal.org.il/static/gallery/77911/85122.jpg
As I said, it is now being served by Cherokee 0.99.8 but GZip and Deflate are disabled.

Thank you!

--
Yo'av Moshe

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee


_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
pub crawler | 2 Apr 04:50 2009
Picon

Re: 0.99.8 bug with gzip/deflate?

Just another idea - divide jpg and png to own rule, disable gzip and
disable deflate
create new rule for pfg - enable gzip and enable deflate

See if when you do this, after HARD RESTART of Cherokee if the JPG
serving problems continue.

If they do: Handler > Allow Keepalive > UNENABLE (unchecked). Hard
Restart Cherokee.
Test again.

I recommend trying this temporarily until Alvaro gets to tracking this
issue and sending out new release.
I have had some limited success with similar problems in Cherokee by doing such.

Let us know here if any of this helps/solves issue since others
probably experiencing the same.

-Paul

2009/4/1 Juanba Escrig <jbescrig <at> gmail.com>:
> I have the same problem,
> I can't see jpg and png extensions, but I can see pdf, all them matching the
> same rule.
>
> Rule type: Extensions
> Extensions: jpg,png,pdf
> Handler: Static content
> Encoding: Allow gzip -->Enabled
>                  Allow deflate --> Enabled
>
> And the files:
> http://juanba.homelinux.org/downloads/85122.jpg
> http://juanba.homelinux.org/downloads/sample.pdf
>
>
>
> 2009/4/2 Yo'av Moshe <bjesus <at> gmail.com>
>>
>> Hey all,
>> I've updated to 0.99.8 now, and my clients started to complain that some
>> images won't load anymore.
>> Testing some options, I managed to fix that only by disabling GZip and
>> Deflate (which was always enabled, and I don't recall having problems with
>> it).
>>
>> Could someone check if he can get this image to be served by Cherokee
>> 0.99.8 with Gzip and Deflate enabled?
>> http://noal.org.il/static/gallery/77911/85122.jpg
>> As I said, it is now being served by Cherokee 0.99.8 but GZip and Deflate
>> are disabled.
>>
>> Thank you!
>>
>> --
>> Yo'av Moshe
>>
>> _______________________________________________
>> Cherokee mailing list
>> Cherokee <at> lists.octality.com
>> http://lists.octality.com/listinfo/cherokee
>>
>
>
> _______________________________________________
> Cherokee mailing list
> Cherokee <at> lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>
>
pub crawler | 2 Apr 04:58 2009
Picon

Cherokee 0.98 latest trunk - HTTP Method Post - fails.

Here's the situation:

Using reverse proxy for HTTP posts as well. Created another Behavior
Target to handle form posts from website.
Rule Type: HTTP Method
Method: Post
Handler > Allow Keepalive enabled
Back-end Servers > Balancer > Round Robin
Information Sources > www1 172.24.96.61:80

When a form is submitted, the user gets literally a blank page back.
The page is totally empty. Nothing there, not HTML, no error, nothing.

In the meantime the submission actually went through just fine and we
have the submission in the database.

If you submit a form and get the empty screen then immediately reload
that blank page (F5) key in browser. The submission goes through and
you get the proper expected output screen. If you were to do this and
not immediately reload the blank page (more than 2 seconds) you get
another blank screen over and over each time unless you submit then
reload in under 2 seconds or less.

So that's bug #1 :) Here's the second one.

Now, I tried accomplishing this post handler by using the Generic Load
Balancer instead. That upon submit returns the HTML code of the post
submission page on every submit. For some reason the page doesn't
render in the browser but shows the code instead. Something
non-compliant with the Generic Load Balancer. I thought this worked
for us a few releases ago ~~  last week.

Anyone running latest version? Test a submit/post/form submission to
see if you are experiencing the same issue.

-Paul
Gunnar Wolf | 2 Apr 15:40 2009

Re: 0.99.8 bug with gzip/deflate?

pub crawler dijo [Wed, Apr 01, 2009 at 10:50:46PM -0400]:
> Just another idea - divide jpg and png to own rule, disable gzip and
> disable deflate
> create new rule for pfg - enable gzip and enable deflate

FWIW, this makes perfect sense - JPG and PNG files will not benefit
from gzip/deflate, as they are already compressed. Likewise for MP3,
Zip, .gz, .bz2, Ogg, and... Well, many others :-) 

> See if when you do this, after HARD RESTART of Cherokee if the JPG
> serving problems continue.
> 
> If they do: Handler > Allow Keepalive > UNENABLE (unchecked). Hard
> Restart Cherokee.
> Test again.

Umh, from the information posted so far, what makes you relate the
keepalive to this behaviour? Although AFAICT the performance hit will
not be huge, there _is_ a performance hit from having to establish
multiple connections instead of reusing existing ones.

--

-- 
Gunnar Wolf - gwolf <at> gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF
Alvaro Lopez Ortega | 2 Apr 15:50 2009
Picon

Re: cherokee as a backend server

Hello Denis!

On 01-abr-09, at 15:01, Denis Kot wrote:

> I want to try to use cherokee as a backend server for my site. My
> frontend server (nginx) sets header 'X-Real-IP to  $remote_addr
> (visitor IP) and my backend (nginx also) takes this header and
> replaces frontend's IP with IP in this header so in logs I can see a
> real addresses instead of address of my frontend.
>
> How to do it with cherokee?

X-Real-IP is currently supported by trunk. It will be shipped with the  
upcoming Cherokee 0.99.9 release (really soon).

--
Greetings, alo.
http://www.alobbs.com/
pub crawler | 2 Apr 16:09 2009
Picon

Re: 0.99.8 bug with gzip/deflate?

Good Morning,

Did anyone try defining these new separate rules in Cherokee? Did this
remedy JPG file serving issues?

Aware of the keep-alive performance benefit.  In my testing of recent
versions of Cherokee there seems to be perhaps a slight relationship
to Keep-Alive as it relates to this. Can't confirm this 100%, but I've
seen it in our high use production environment relative to us of
Cherokee in Reverse Proxy mode. Unsure if this relates to other modes
of use with  Cherokee.

-Paul

On Thu, Apr 2, 2009 at 9:40 AM, Gunnar Wolf <gwolf <at> gwolf.org> wrote:
> pub crawler dijo [Wed, Apr 01, 2009 at 10:50:46PM -0400]:
>> Just another idea - divide jpg and png to own rule, disable gzip and
>> disable deflate
>> create new rule for pfg - enable gzip and enable deflate
>
> FWIW, this makes perfect sense - JPG and PNG files will not benefit
> from gzip/deflate, as they are already compressed. Likewise for MP3,
> Zip, .gz, .bz2, Ogg, and... Well, many others :-)
>
>> See if when you do this, after HARD RESTART of Cherokee if the JPG
>> serving problems continue.
>>
>> If they do: Handler > Allow Keepalive > UNENABLE (unchecked). Hard
>> Restart Cherokee.
>> Test again.
>
> Umh, from the information posted so far, what makes you relate the
> keepalive to this behaviour? Although AFAICT the performance hit will
> not be huge, there _is_ a performance hit from having to establish
> multiple connections instead of reusing existing ones.
>
> --
> Gunnar Wolf - gwolf <at> gwolf.org - (+52-55)5623-0154 / 1451-2244
> PGP key 1024D/8BB527AF 2001-10-23
> Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF
>

Gmane