Ticket #716 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

varnishstat assert error in do_curses()

Reported by: mkania Owned by: phk
Priority: normal Milestone:
Component: varnishstat Version: 2.1.2
Severity: normal Keywords:
Cc:

Description (last modified by phk) (diff)

Whenever I try to run varnishstat and assert error is thrown saying:

Assert error in do_curses(), varnishstat_curses.c line 176:
Condition((curs_set(0)) != ERR) not true.
Aborted

If I run varnishstat -1 it outputs the statistics fine.

varnishstat -1
client_conn             20411         0.28 Client connections accepted
client_drop                 0         0.00 Connection dropped, no sess/wrk
client_req              20411         0.28 Client requests received
cache_hit                5048         0.07 Cache hits
cache_hitpass               0         0.00 Cache hits for pass
cache_miss              13468         0.18 Cache misses
backend_conn             3715         0.05 Backend conn. success
backend_unhealthy            0         0.00 Backend conn. not attempted
backend_busy                0         0.00 Backend conn. too many
backend_fail              133         0.00 Backend conn. failures
backend_reuse           11515         0.16 Backend conn. reuses
backend_toolate          1844         0.03 Backend conn. was closed
backend_recycle         13360         0.18 Backend conn. recycles
backend_unused              0         0.00 Backend conn. unused
fetch_head                  0         0.00 Fetch head
fetch_length            13361         0.18 Fetch with Length
fetch_chunked               0         0.00 Fetch chunked
fetch_eof                   0         0.00 Fetch EOF
fetch_bad                   0         0.00 Fetch had bad headers
fetch_close                 0         0.00 Fetch wanted close
fetch_oldhttp               0         0.00 Fetch pre HTTP/1.1 closed
fetch_zero                  0         0.00 Fetch zero len
fetch_failed                0         0.00 Fetch failed
n_sess_mem                 16          .   N struct sess_mem
n_sess                      0          .   N struct sess
n_object                  514          .   N struct object
n_vampireobject             0          .   N unresurrected objects
n_objectcore              516          .   N struct objectcore
n_objecthead              189          .   N struct objecthead
n_smf                    1029          .   N struct smf
n_smf_frag                  0          .   N small free smf
n_smf_large                 1          .   N large free smf
n_vbe_conn                  1          .   N struct vbe_conn
n_wrk                       2          .   N worker threads
n_wrk_create               17         0.00 N worker threads created
n_wrk_failed                0         0.00 N worker threads not created
n_wrk_max                   0         0.00 N worker threads limited
n_wrk_queue                 0         0.00 N queued work requests
n_wrk_overflow            299         0.00 N overflowed work requests
n_wrk_drop                  0         0.00 N dropped work requests
n_backend                  20          .   N backends
n_expired               12847          .   N expired objects
n_lru_nuked                 0          .   N LRU nuked objects
n_lru_saved                 0          .   N LRU saved objects
n_lru_moved              2678          .   N LRU moved objects
n_deathrow                  0          .   N objects on deathrow
losthdr                     0         0.00 HTTP header overflows
n_objsendfile               0         0.00 Objects sent with sendfile
n_objwrite                505         0.01 Objects sent with write
n_objoverflow               0         0.00 Objects overflowing workspace
s_sess                  20411         0.28 Total Sessions
s_req                   20411         0.28 Total Requests
s_pipe                   1871         0.03 Total pipe
s_pass                     24         0.00 Total pass
s_fetch                 13361         0.18 Total fetch
s_hdrbytes            7527067       103.22 Total header bytes
s_bodybytes        1383973018     18979.33 Total body bytes
sess_closed             20408         0.28 Session Closed
sess_pipeline               0         0.00 Session Pipeline
sess_readahead              2         0.00 Session Read Ahead
sess_linger                12         0.00 Session Linger
sess_herd                   3         0.00 Session herd
shm_records           1121851        15.38 SHM records
shm_writes             113574         1.56 SHM writes
shm_flushes                 0         0.00 SHM flushes due to overflow
shm_cont                    5         0.00 SHM MTX contention
shm_cycles                  0         0.00 SHM cycles through buffer
sm_nreq                 26722         0.37 allocator requests
sm_nobj                  1028          .   outstanding allocations
sm_balloc           703770624          .   bytes allocated
sm_bfree         267731685376          .   bytes free
sms_nreq                  131         0.00 SMS allocator requests
sms_nobj                    0          .   SMS outstanding allocations
sms_nbytes                  0          .   SMS outstanding bytes
sms_balloc              63928          .   SMS bytes allocated
sms_bfree               63928          .   SMS bytes freed
backend_req             13362         0.18 Backend requests made
n_vcl                      31         0.00 N vcl total
n_vcl_avail                31         0.00 N vcl available
n_vcl_discard               0         0.00 N vcl discarded
n_purge                     1          .   N total active purges
n_purge_add                 1         0.00 N new purges added
n_purge_retire              0         0.00 N old purges deleted
n_purge_obj_test            0         0.00 N objects tested
n_purge_re_test             0         0.00 N regexps tested against
n_purge_dups                0         0.00 N duplicate purges removed
hcb_nolock              18516         0.25 HCB Lookups without lock
hcb_lock                 3911         0.05 HCB Lookups with lock
hcb_insert               3910         0.05 HCB Inserts
esi_parse                   0         0.00 Objects ESI parsed (unlock)
esi_errors                  0         0.00 ESI parse errors (unlock)
accept_fail                 0         0.00 Accept failures
client_drop_late            0         0.00 Connection dropped late
uptime                  72920         1.00 Client uptime
critbit_cooler              0          .   Objhdr's on cool list

Change History

Changed 3 months ago by phk

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

This should be fixed in r4951

Note: See TracTickets for help on using tickets.