[Varnish] #180: Varnish core dump on Assert error in wrk_thread, kern.ipc.maxpipekva problem?

Varnish varnish-bugs at projects.linpro.no
Mon Nov 19 15:05:01 CET 2007


#180: Varnish core dump on Assert error in wrk_thread, kern.ipc.maxpipekva
problem?
---------------------------------------------------------------+------------
 Reporter:  anders                                             |        Owner:  phk
     Type:  defect                                             |       Status:  new
 Priority:  normal                                             |    Milestone:     
Component:  varnishd                                           |      Version:  1.2
 Severity:  normal                                             |   Resolution:     
 Keywords:  varnishd core dump wrk_thread kern.ipc.maxpipekva  |  
---------------------------------------------------------------+------------
Comment (by anders):

 My VCL is:

 {{{
 backend default {
              set backend.host = "192.168.0.3";
              set backend.port = "80";
         }
 acl purge {
         "192.168.0.4"/32;
 }
 sub vcl_recv {
         if ((req.http.host ~ "^(cache.finn.no|finn.no|www.finn.no)$") ||
 (req.http.host == "banner.finn.no" && req.url ~
 "^/(jsp2|finn/gojsp|daily|board|auximg/papirfly|finn/cacheable|crossdomain.xml)"))
 {
                 if (req.request == "GET" || req.request == "HEAD") {
                         lookup;
                 } elsif (req.request == "PURGE") {
                         if (!client.ip ~ purge) {
                                 error 405 "Not allowed.";
                         }
                         lookup;
                 } else {
                         pipe;
                 }
         } else {
                 error 403 "Access denied. Contact cacheadmin at finn.no if
 you have problems.";
         }
 }
 sub vcl_miss {
         if (req.request == "PURGE") {
                 error 404 "Not in cache.";
         } else {
                 fetch;
         }
 }
 sub vcl_hit {
         if (req.request == "PURGE") {
                 set obj.ttl = 0s;
                 error 200 "Purged.";
         } else {
                 deliver;
         }
 }
 sub vcl_fetch {
         if (obj.ttl < 86400s) {
                 set obj.ttl = 604800s;
         }
         if (obj.http.Cookie) {
                 remove obj.http.Cookie;
         }
         if (obj.http.Set-Cookie) {
                 remove obj.http.Set-Cookie;
         }
         insert;
 }
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/180#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list