Re: SPDY + proxy cache static content failures

2013-04-02 Thread spdyg
Hi guys, So perhaps I shouldn't have reused my existing topic and confused things, sorry! I only did so because the symptom is exactly the same as the issue I originally reported (SOME static content served from proxy cache occasionally doesn't make it to Firefox when using SPDY). If you disable

Nginx and upstart

2013-04-02 Thread skrode
Hi I'm using the following script to keep nginx up and running: start on (filesystem and net-device-up IFACE=lo) stop on runlevel [!2345] env DAEMON=/usr/sbin/nginx env CONF=/etc/nginx/nginx.conf env PID=/var/run/nginx.pid respawn respawn limit 10 5 pre-start script $DAEMON -t if [ $?

Re: Split words into caracters

2013-04-02 Thread Larry
You are right Reinis, It first seemed tough to me but yeah, it works :) Thanks, Larry Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238015,238034#msg-238034 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/

Re: Why use haproxy now ?

2013-04-02 Thread Larry
Will you keep us in touch Reinis ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237874,238033#msg-238033 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Split words into caracters

2013-04-02 Thread Reinis Rozitis
yeah but it works when you have multiple words. What do you mean by multiple words? In my case, there is only one which is 1234567890...DEF (md5 -> 32 chars) m=1234567890...DEF m[1] = 1 m[2] = 2 .. m[32] = F A mere rewrite is impossible here.. It seems indeed, Why not? rewrite "/path/

Re: SPDY + proxy cache = occasional 499 errors

2013-04-02 Thread Valentin V. Bartenev
On Tuesday 02 April 2013 18:46:01 Maxim Dounin wrote: > Hello! > > On Tue, Apr 02, 2013 at 05:16:46PM +0400, Valentin V. Bartenev wrote: > > On Tuesday 02 April 2013 14:54:30 spdyg wrote: > > > I posted this query back in December: > > > > > > http://forum.nginx.org/read.php?2,233497 > > > > > >

Re: Split words into caracters

2013-04-02 Thread Larry
yeah but it works when you have multiple words. In my case, there is only one which is 1234567890...DEF (md5 -> 32 chars) And I would need the possibility to do m=1234567890...DEF m[1] = 1 m[2] = 2 .. m[32] = F A mere rewrite is impossible here.. It seems indeed, Larry Posted at Nginx Forum

Re: SPDY + proxy cache = occasional 499 errors

2013-04-02 Thread Maxim Dounin
Hello! On Tue, Apr 02, 2013 at 05:16:46PM +0400, Valentin V. Bartenev wrote: > On Tuesday 02 April 2013 14:54:30 spdyg wrote: > > I posted this query back in December: > > > > http://forum.nginx.org/read.php?2,233497 > > > > And the issue was fixed shortly afterwards in the 1.3.x branch. > > >

Re: SPDY + proxy cache = occasional 499 errors

2013-04-02 Thread Valentin V. Bartenev
On Tuesday 02 April 2013 14:54:30 spdyg wrote: > I posted this query back in December: > > http://forum.nginx.org/read.php?2,233497 > > And the issue was fixed shortly afterwards in the 1.3.x branch. > > I'm now seeing the same issue again (static items coming from proxy cache + > SPDY not displ

nginx-1.2.8

2013-04-02 Thread Maxim Dounin
Changes with nginx 1.2.8 02 Apr 2013 *) Bugfix: new sessions were not always stored if the "ssl_session_cache shared" directive was used and there was no free space in shared memory. Thanks to Piotr Sikora. *) Bugfix: responses

Re: SPDY + proxy cache = occasional 499 errors

2013-04-02 Thread spdyg
I posted this query back in December: http://forum.nginx.org/read.php?2,233497 And the issue was fixed shortly afterwards in the 1.3.x branch. I'm now seeing the same issue again (static items coming from proxy cache + SPDY not displaying). However this time, the log does not show 499 error any

Re: Why use haproxy now ?

2013-04-02 Thread Reinis Rozitis
Did you try previously nginx cache also on SSD or on usual hard disk? Tbh I don't remember as it was a while ago (on 0.7.x), it might have been a regular SAS system instead (which of course is not as speedy as ssd and objective to compare). But as I said I'll test the current and see how it g

Re: Split words into caracters

2013-04-02 Thread Reinis Rozitis
But other than openresty, i didn't see any implementation inside nginx to split any word or cookie. You can possibly use rewrite http://wiki.nginx.org/HttpRewriteModule ( http://nginx.org/en/docs/http/ngx_http_rewrite_module.html ) There is also an example to rewrite /photos/123456 to somethi

Split words into caracters

2013-04-02 Thread Larry
Hi ! I don't know if it is the right way to go, and I hope to hear from you if it is not. My concern is about the selection of a file traversing a tree. I have a bunch of hashed directories (dozens of millions) on different servers. As for performance reasons, I would like to avoid having to man