Condition(w->wlp < w->wle) not true

Thiago Figueiro TFigueiro at au.westfield.com
Tue Mar 6 03:49:12 CET 2012


Is someone able to confirm this Varnish 2.1.5 panic is due to insufficient workspace memory?

I recently increased shm_reclen and sess_workspace, following Kristian's advice on https://www.varnish-cache.org/trac/ticket/1055.

Thank you

Current values:
VARNISH_VCL_CONF=/etc/varnish/default.vcl
#VARNISH_LISTEN_ADDRESS=
#VARNISH_LISTEN_PORT=80
VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
VARNISH_ADMIN_LISTEN_PORT=6082
VARNISH_MIN_THREADS=150
VARNISH_MAX_THREADS=3000
VARNISH_THREAD_TIMEOUT=120
VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin
VARNISH_STORAGE_SIZE=35G
VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
VARNISH_TTL=120

# DAEMON_OPTS is used by the init script.  If you add or remove options, make
# sure you update this section, too.
#             Primes (10% of n_object): -h 91193, 319993, 500009, 999331, 1686049, 2097593
DAEMON_OPTS="-f ${VARNISH_VCL_CONF} \
             -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
             -t ${VARNISH_TTL} \
             -p thread_pools=6 \
             -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
             -u varnish -g varnish \
             -h classic,91193 \
             -s ${VARNISH_STORAGE} \
             -p listen_depth=4096 \
             -p session_linger=50/100/150 \
             -p sess_workspace=131072 \
             -p shm_reclen=16384 \
             -p lru_interval=60"


Error in syslog:

2012-03-05T21:06:15.656486+11:00 aubdc-rp01 varnishd[7365]: Child (22302) Panic message: Assert error in WSLR(), shmlog.c line 236:#012  Condition(w->wlp < w->wle) not true.#012thread = (cache-worker)#012ident = Linux,2.6.32-220.4.2.el6.x86_64,x86_64,-sfile,-hclassic,epoll#012Backtrace:#012  0x425058: /usr/sbin/varnishd() [0x425058]#012  0x43a6d5: /usr/sbin/varnishd(WSLR+0x1c5) [0x43a6d5]#012  0x422299: /usr/sbin/varnishd() [0x422299]#012  0x4224bd: /usr/sbin/varnishd(http_DissectRequest+0xed) [0x4224bd]#012  0x414710: /usr/sbin/varnishd(CNT_Session+0x660) [0x414710]#012  0x426808: /usr/sbin/varnishd() [0x426808]#012  0x426bdb: /usr/sbin/varnishd() [0x426bdb]#012  0x7f51a1f3b7f1: /lib64/libpthread.so.0(+0x77f1) [0x7f51a1f3b7f1]#012  0x7f51a17db92d: /lib64/libc.so.6(clone+0x6d) [0x7f51a17db92d]#012sp = 0x7f4819171008 {#012  fd = 41, id = 41, xid = 179601385,#012  client = 208.80.194.30 51469,#012  step = STP_START,#012  handling = deliver,#012  restarts = 0, esis = 0#012  ws = 0x7f4819171080 { #012    id = "sess",#012    {s,f,r,e} = {0x7f4819171cd8,+15232,(nil),+131072},#012  },#012  http[req] = {#012    ws = 0x7f4819171080[sess]#012      "GET",#012      "/gateway/",#012      "HTTP/1.0",#012      "Host: westfield.com",#012      "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; ImageShack Toolbar 3.0.6)",#012  },#012  worker = 0x7f47495edbd0 {#012    ws = 0x7f47495edd50 { #012      id = "wrk",#012      {s,f,r,e} = {0x7f47495cbb70,0x7f47495cbb70,(nil),+131072},#012    },#012    },#012    vcl = {#012      srcname = {#012        "input",#012        "Default",#012        "/etc/varnish/backend_centre_refresh.vcl",#012        "/etc/varnish/backend_corporate.vcl",#012        "/etc/varnish/backend_centre_rails.vcl",#012        "/etc/varnish/backend_acacia.vcl",#012        "/etc/varnish/backend_contentstore.vcl",#012        "/etc/varnish/backend_stratfordcity.vcl",#012        "/etc/varnish/backend_redirects.vcl",#012        "/etc/varnish/select_backend.vcl",#012        "/etc/varnish/canonical_we


____________________________
Thiago Figueiró
Technical Operations Manager
Digital Business
P +61 (0)2 9358 7123
F +61 (0)2 9028 8500



______________________________________________________
    CONFIDENTIALITY NOTICE    
This electronic mail message, including any and/or all attachments, is for the sole use of the intended recipient(s), and may contain confidential and/or privileged information, pertaining to business conducted under the direction and supervision of the sending organization. All electronic mail messages, which may have been established as expressed views and/or opinions (stated either within the electronic mail message or any of its attachments), are left to the sole responsibility of that of the sender, and are not necessarily attributed to the sending organization. Unauthorized interception, review, use, disclosure or distribution of any such information contained within this electronic mail message and/or its attachment(s), is (are) strictly prohibited. If you are not the intended recipient, please contact the sender by replying to this electronic mail message, along with the destruction all copies of the original electronic mail message (along with any attachments).
______________________________________________________



More information about the varnish-misc mailing list