[Varnish] #776: SMA_trim() failed???
Varnish
varnish-bugs at varnish-cache.org
Wed Sep 15 19:40:52 CEST 2010
#776: SMA_trim() failed???
----------------------+-----------------------------------------------------
Reporter: hp197 | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: major | Keywords:
----------------------+-----------------------------------------------------
I get this all the time on one of my instanceses.
What does it mean and what to do against it?
{{{
Sep 15 17:29:12 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8085) died signal=6
Sep 15 17:29:12 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8085) Panic message: Assert error in sma_trim(), storage_malloc.c line
140: Condition(size < sma->sz) not true. thread = (cache-worker) ident =
Linux,2.6.18-194.8.1.el5,x86_64,-smalloc,-hclassic,epoll Backtrace:
0x4234e8: pan_ic+b4 0x4399a6: sma_trim+15a 0x41c013: FetchBody+a9c
0x4128d9: cnt_fetch+692 0x413d8f: CNT_Session+329 0x425791:
wrk_do_cnt_sess+b8 0x424ad1: wrk_thread_real+335 0x391580673d:
_end+39151a3785 0x39150d3d1d: _end+3914a70d65 sp = 0x2aaaaf705008 { fd
= 13, id = 13, xid = 2068267231, client = 192.168.2.12 5915, step =
STP_FETCH, handling = deliver, err_code = 200, err_reason = (null),
restarts = 0, esis = 0 ws = 0x2aaaaf705080 { id = "sess",
{s,f,r,e} = {0x2aaaaf705cd8,+768,(nil),+8192}, }, http[req] = { ws
= 0x2aaaaf705080[sess] "GET",
"/ext/scriptaculous/prototype.js+effects.js+versionfix.js+controls.js;/fo/default.js+search.js+track.js+babepage.js;/fms/qu
Sep 15 17:29:12 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: child
(8197) Started
Sep 15 17:29:12 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8197) said
Sep 15 17:29:12 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8197) said Child starts
Sep 15 17:29:17 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8197) died signal=6
Sep 15 17:29:17 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8197) Panic message: Assert error in sma_trim(), storage_malloc.c line
140: Condition(size < sma->sz) not true. thread = (cache-worker) ident =
Linux,2.6.18-194.8.1.el5,x86_64,-smalloc,-hclassic,epoll Backtrace:
0x4234e8: pan_ic+b4 0x4399a6: sma_trim+15a 0x41c013: FetchBody+a9c
0x4128d9: cnt_fetch+692 0x413d8f: CNT_Session+329 0x425791:
wrk_do_cnt_sess+b8 0x424ad1: wrk_thread_real+335 0x391580673d:
_end+39151a3785 0x39150d3d1d: _end+3914a70d65 sp = 0x2aaaaf103008 { fd
= 10, id = 10, xid = 1696336878, client = 192.168.2.13 42404, step =
STP_FETCH, handling = deliver, err_code = 200, err_reason = (null),
restarts = 0, esis = 0 ws = 0x2aaaaf103080 { id = "sess",
{s,f,r,e} = {0x2aaaaf103cd8,+552,(nil),+8192}, }, http[req] = { ws
= 0x2aaaaf103080[sess] "GET",
"/ext/scriptaculous/prototype.js+effects.js+controls.js;/board/search.js",
"HTTP/1.1", "User-Agent: Mozilla/5.
Sep 15 17:29:17 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: child
(8305) Started
Sep 15 17:29:17 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8305) said
Sep 15 17:29:17 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8305) said Child starts
Sep 15 17:29:21 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8305) died signal=6
Sep 15 17:29:21 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8305) Panic message: Assert error in sma_trim(), storage_malloc.c line
140: Condition(size < sma->sz) not true. thread = (cache-worker) ident =
Linux,2.6.18-194.8.1.el5,x86_64,-smalloc,-hclassic,epoll Backtrace:
0x4234e8: pan_ic+b4 0x4399a6: sma_trim+15a 0x41c013: FetchBody+a9c
0x4128d9: cnt_fetch+692 0x413d8f: CNT_Session+329 0x425791:
wrk_do_cnt_sess+b8 0x424ad1: wrk_thread_real+335 0x391580673d:
_end+39151a3785 0x39150d3d1d: _end+3914a70d65 sp = 0x2aaaabf2a008 { fd
= 10, id = 10, xid = 199396413, client = 192.168.2.13 45133, step =
STP_FETCH, handling = deliver, err_code = 200, err_reason = (null),
restarts = 0, esis = 0 ws = 0x2aaaabf2a080 { id = "sess",
{s,f,r,e} = {0x2aaaabf2acd8,+680,(nil),+8192}, }, http[req] = { ws
= 0x2aaaabf2a080[sess] "GET",
"/banners/defr_index2.js+defr_index_left.js+defr_index_right.js;/ext/scriptaculous/prototype.js;/fo/default.js+randomprize.
Sep 15 17:29:21 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: child
(8415) Started
Sep 15 17:29:22 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8415) said
Sep 15 17:29:22 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8415) said Child starts
Sep 15 17:29:34 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8415) died signal=6
Sep 15 17:29:34 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8415) Panic message: Assert error in sma_trim(), storage_malloc.c line
140: Condition(size < sma->sz) not true. thread = (cache-worker) ident =
Linux,2.6.18-194.8.1.el5,x86_64,-smalloc,-hclassic,epoll Backtrace:
0x4234e8: pan_ic+b4 0x4399a6: sma_trim+15a 0x41c013: FetchBody+a9c
0x4128d9: cnt_fetch+692 0x413d8f: CNT_Session+329 0x425791:
wrk_do_cnt_sess+b8 0x424ad1: wrk_thread_real+335 0x391580673d:
_end+39151a3785 0x39150d3d1d: _end+3914a70d65 sp = 0x2aaaaf505008 { fd
= 13, id = 13, xid = 1976549252, client = 192.168.2.12 18014, step =
STP_FETCH, handling = deliver, err_code = 200, err_reason = (null),
restarts = 0, esis = 0 ws = 0x2aaaaf505080 { id = "sess",
{s,f,r,e} = {0x2aaaaf505cd8,+704,(nil),+8192}, }, http[req] = { ws
= 0x2aaaaf505080[sess] "GET",
"/ext/scriptaculous/prototype.js+effects.js+versionfix.js+controls.js;/fo/default.js+search.js+track.js+babepage.js;/fms/q
Sep 15 17:29:34 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: child
(8524) Started
Sep 15 17:29:34 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8524) said
Sep 15 17:29:34 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8524) said Child starts
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8524) died signal=6
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8524) Panic message: Assert error in sma_trim(), storage_malloc.c line
140: Condition(size < sma->sz) not true. thread = (cache-worker) ident =
Linux,2.6.18-194.8.1.el5,x86_64,-smalloc,-hclassic,epoll Backtrace:
0x4234e8: pan_ic+b4 0x4399a6: sma_trim+15a 0x41c013: FetchBody+a9c
0x4128d9: cnt_fetch+692 0x413d8f: CNT_Session+329 0x425791:
wrk_do_cnt_sess+b8 0x424ad1: wrk_thread_real+335 0x391580673d:
_end+39151a3785 0x39150d3d1d: _end+3914a70d65 sp = 0x2aaaaf264008 { fd
= 12, id = 12, xid = 1430554042, client = 192.168.2.12 18746, step =
STP_FETCH, handling = deliver, err_code = 200, err_reason = (null),
restarts = 0, esis = 0 ws = 0x2aaaaf264080 { id = "sess",
{s,f,r,e} = {0x2aaaaf264cd8,+1472,(nil),+8192}, }, http[req] = {
ws = 0x2aaaaf264080[sess] "GET",
"/ext/scriptaculous/prototype.js+effects.js+versionfix.js+controls.js;/fo/default.js+search.js+track.js+babepage.js;/fms/
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: child
(8611) Started
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8611) said
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8611) said Child starts
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8611) died signal=6
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8611) Panic message: Assert error in sma_trim(), storage_malloc.c line
140: Condition(size < sma->sz) not true. thread = (cache-worker) ident =
Linux,2.6.18-194.8.1.el5,x86_64,-smalloc,-hclassic,epoll Backtrace:
0x4234e8: pan_ic+b4 0x4399a6: sma_trim+15a 0x41c013: FetchBody+a9c
0x4128d9: cnt_fetch+692 0x413d8f: CNT_Session+329 0x425791:
wrk_do_cnt_sess+b8 0x424ad1: wrk_thread_real+335 0x391580673d:
_end+39151a3785 0x39150d3d1d: _end+3914a70d65 sp = 0x2aaaaf10c008 { fd
= 16, id = 16, xid = 679210775, client = 192.168.2.12 19094, step =
STP_FETCH, handling = deliver, err_code = 200, err_reason = (null),
restarts = 0, esis = 0 ws = 0x2aaaaf10c080 { id = "sess",
{s,f,r,e} = {0x2aaaaf10ccd8,+784,(nil),+8192}, }, http[req] = { ws
= 0x2aaaaf10c080[sess] "GET",
"/ext/scriptaculous/prototype.js+effects.js+versionfix.js+controls.js;/fo/default.js+search.js+track.js+babepage.js;/fms/qu
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: child
(8649) Started
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8649) said
Sep 15 17:29:36 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8649) said Child starts
Sep 15 17:29:38 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8649) died signal=6
Sep 15 17:29:38 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8649) Panic message: Assert error in sma_trim(), storage_malloc.c line
140: Condition(size < sma->sz) not true. thread = (cache-worker) ident =
Linux,2.6.18-194.8.1.el5,x86_64,-smalloc,-hclassic,epoll Backtrace:
0x4234e8: pan_ic+b4 0x4399a6: sma_trim+15a 0x41c013: FetchBody+a9c
0x4128d9: cnt_fetch+692 0x413d8f: CNT_Session+329 0x425791:
wrk_do_cnt_sess+b8 0x424ad1: wrk_thread_real+335 0x391580673d:
_end+39151a3785 0x39150d3d1d: _end+3914a70d65 sp = 0x2aaaabc44008 { fd
= 17, id = 17, xid = 1815255751, client = 192.168.2.13 53869, step =
STP_FETCH, handling = deliver, err_code = 200, err_reason = (null),
restarts = 0, esis = 0 ws = 0x2aaaabc44080 { id = "sess",
{s,f,r,e} = {0x2aaaabc44cd8,+784,(nil),+8192}, }, http[req] = { ws
= 0x2aaaabc44080[sess] "GET",
"/ext/scriptaculous/prototype.js+effects.js+versionfix.js+controls.js;/fo/default.js+search.js+track.js+babepage.js;/fms/q
Sep 15 17:29:38 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: child
(8743) Started
Sep 15 17:29:38 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8743) said
Sep 15 17:29:38 nlvrn1 /usr/local/varnish/var/varnish/jscss[8084]: Child
(8743) said Child starts}}}
varnishd parameters:
{{{
/usr/local/varnish/sbin/varnishd -P /var/run/varnish_jscss.pid -a
0.0.0.0:603 -f /usr/local/varnish/etc/varnish/jscss.xxx.xxx.vcl -T
0.0.0.0:703 -s malloc,2048M -i jscss -n
/usr/local/varnish/var/varnish/jscss -p listen_depth=16384 -p
lru_interval=30 -p sess_timeout=5 -p shm_workspace=65536 -p
ping_interval=1 -p thread_pools=4 -p thread_pool_min=25 -p
thread_pool_max=4000 -p esi_syntax=1 -p overflow_max=10000 -p
sess_workspace=8192 -h classic,500009}}}
Tried with and without the sess_workspace.
Tried to lower and higher it (up to 128k) but none helped.
Thanks for the respons!
Keep up the good work.
BTW: running revision 5129 of trunk.
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/776>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list