Re: 1.1.1 progress

2007-08-20 Thread Dag-Erling Smørgrav
Janis Putrams <[EMAIL PROTECTED]> writes: > Child said (2, 25738): < Condition(!isnan(w->used)) not true. > errno = 104 (Connection reset by peer) >>> See ticket #150. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no _

Re: Why POST methos is not work?

2007-08-20 Thread Dag-Erling Smørgrav
"Monty Ree" <[EMAIL PROTECTED]> writes: > I have setup vcl like below, and works well except POST method. > When I using POST Method like writing a message, the site is stops > and trying to connect the backend server continuously. and I have > restarted the varnishd but the result is same. Impos

Re: pass vs pipe

2007-08-20 Thread Dag-Erling Smørgrav
Ramon Navarro Bosch <[EMAIL PROTECTED]> writes: > if (req.request != "GET" && req.request != "HEAD") { > # Do not try to cache POST > pass; > } This is wrong, pass mode can't handle POST requests (yet). > VARNISH VERSION I USE: branch/1.1 >From when? > the problem is on

Re: 1.1.1 progress

2007-08-20 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Janis Putrams writes: >Assert error in wrk_do_one(), cache_pool.c line 199: > Condition(!isnan(w->used)) not true. > errno =3D 104 (Connection reset by peer) Try this fix: In cache_center.c, function cnt_lookup(), before the call to SES_Charge(), insert:

Re: 1.1.1 progress

2007-08-20 Thread Janis Putrams
Hi! Tnx for advice, i increased core file size to unlimited, run in foreground and wait for crash. Meanwhile encountered slave process restart that did not kill management process, but gave this log: ... Cache child died pid=25094 status=0xb Clean child Child cleaned start child pid 25738 Child

Why POST methos is not work?

2007-08-20 Thread Monty Ree
Hello, all. I have setup vcl like below, and works well except POST method. When I using POST Method like writing a message, the site is stops and trying to connect the backend server continuously. and I have restarted the varnishd but the result is same. What's the problem and is there any prob

pass vs pipe

2007-08-20 Thread Ramon Navarro Bosch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ! Doing some installations of varnish with plone instances we had some problems: We are using a vcl from from plone.recipe.varnish that has this part : ... sub vcl_recv { if (req.request == "PURGE") { if (!client.ip ~ purge) {

Re: Varnish on Mac OS X

2007-08-20 Thread Dag-Erling Smørgrav
With the changes I made last night and this morning, Mac OS X passes all the tests that the other platforms also pass. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.lin

Re: 1.1.1 progress

2007-08-20 Thread Dag-Erling Smørgrav
Janis Putrams <[EMAIL PROTECTED]> writes: > Anyway I wanted to capture core file so run varnishd in foreground. > [...] > 05:17:28 root[pts/[EMAIL PROTECTED] ~# ulimit -a|grep core > core file size (blocks, -c) 65 you should use 'unlimited' instead; a varnishd core dump can easily rea

Re: 1.1.1 progress

2007-08-20 Thread Janis Putrams
Hi! With "master crash log" i meant output of varnishlog when management process dies. Anyway I wanted to capture core file so run varnishd in foreground. I set CXXFLAGS="-g" LDFLAGS="-g" in configure.ac. then run ./configure --prefix=/usr --enable-debug && make clean && make 05:17:28 root[pt

Re: Redhat

2007-08-20 Thread Ingvar Hagelund
* jdouglas > Are there instructions on installing this on Redhat systems? > > I am able to get it working on FreeBSD 6.2 but not RHEL 4 with a 2.6 Kernel. > > When I try to build an rpm from spec i get: > (...) > > RPM build errors: > Installed (but unpackaged) file(s) found: >/usr/inclu