Hi,
I have the same problem, but it is using system memory.
I have the same problem, but it is using system memory.
/opt/varnish30/sbin/varnishd -V
varnishd (varnish-3.0.3 revision 9e6a70f)
varnishd (varnish-3.0.3 revision 9e6a70f)
# free -m
total used free shared buffers cached
Mem: 32095 31078 1016 0 665 5400
-/+ buffers/cache: 25012 7082
Swap: 2047 473 1574
total used free shared buffers cached
Mem: 32095 31078 1016 0 665 5400
-/+ buffers/cache: 25012 7082
Swap: 2047 473 1574
But, the weird thing is the memory usage shown on TOP:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND
11514 varnish 20 0 124g 22g 81m S 44.1 73.0 2290:24 101g varnishd
11514 varnish 20 0 124g 22g 81m S 44.1 73.0 2290:24 101g varnishd
Varnishd was started with: -s malloc,20G -w 5000,5000,120
regards,
Leandro Sano.
Em 20/03/2013 09:59, Sean Allen < [email protected] > escreveu:
We ran a batch job last night that moves everything possible through the cache. Thus the eviction numbers and the currently low hit rate as 'active' records start to be pulled through at the start of our business day:
0+11:37:21
Hitrate ratio: 10 100 1000
Hitrate avg: 0.5494 0.5375 0.5230
420499 18.18 10.05 client_conn - Client connections accepted
10210075 83.85244.02 client_req - Client requests received
2966776 30.31 70.91 cache_hit - Cache hits
7238285 52.53173.00 cache_miss - Cache misses
5832 0.00 0.14 backend_conn - Backend conn. success
26 0.00 0.00 backend_fail - Backend conn. failures
7225040 38.39172.68 backend_reuse - Backend conn. reuses
5810 0.00 0.14 backend_toolate - Backend conn. was closed
7230871 38.39172.82 backend_recycle - Backend conn. recycles
7192721 38.39171.91 fetch_length - Fetch with Length
38146 0.00 0.91 fetch_chunked - Fetch chunked
431 . . n_sess_mem - N struct sess_mem
39 . . n_sess - N struct sess
583562 . . n_object - N struct object
583738 . . n_objectcore - N struct objectcore
595457 . . n_objecthead - N struct objecthead
9610 . . n_waitinglist - N struct waitinglist
22 . . n_vbc - N struct vbc
1000 . . n_wrk - N worker threads
1000 0.00 0.02 n_wrk_create - N worker threads created
28 0.00 0.00 n_wrk_queued - N queued work requests
4 . . n_backend - N backends
10609 . . n_expired - N expired objects
6631682 . . n_lru_nuked - N LRU nuked objects
426916 . . n_lru_moved - N LRU moved objects
10348344 83.85247.33 n_objwrite - Objects sent with write
420498 17.17 10.05 s_sess - Total Sessions
10210075 83.85244.02 s_req - Total Requests
5014 1.01 0.12 s_pass - Total pass
7230867 38.39172.82 s_fetch - Total fetch
2945392448 23715.74 70394.89 s_hdrbytes - Total header bytes
82769021882 721855.66 1978179.82 s_bodybytes - Total body bytes
315656 16.16 7.54 sess_closed - Session Closed
10189788 67.69243.54 sess_linger - Session Linger
1036235 24.25 24.77 sess_herd - Session herd
587715869 4231.96 14046.41 shm_records - SHM records
27056594 243.47646.65 shm_writes - SHM writes
90 0.00 0.00 shm_flushes - SHM flushes due to overflow
5354 0.00 0.13 shm_cont - SHM MTX contention
206 0.00 0.00 shm_cycles - SHM cycles through buffer
19939 16.16 0.48 sms_nreq - SMS allocator requests
7860413 . . sms_balloc - SMS bytes allocated
7860413 . . sms_bfree - SMS bytes freed
7230872 38.39172.82 backend_req - Backend requests made
1 0.00 0.00 n_vcl - N vcl total
1 0.00 0.00 n_vcl_avail - N vcl available
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
