-------------------------------------------------------------------------------- Command: bin/stunnel /etc/stunnel/stunnel.conf Massif arguments: --pages-as-heap=yes --time-unit=ms ms_print arguments: massif.out -------------------------------------------------------------------------------- GB 1.343^ # , , .. . . | @@. :#.. .@.. :@.:,. ::@. . | @@:::#:: :@:: :@::@: ::@: : | @@:::#:: :@:: :@::@: ::@: : | , .. .. ..@@:::#:: :@:: :@::@: ::@: : | @: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : | @: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : | @: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : | .@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : | :@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |.:@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : |::@: :::::@:::@ ::@@:::#:: :@:: :@::@: ::@: : 0 +----------------------------------------------------------------------->h 0 2.797 Number of snapshots: 97 Detailed snapshots: [7, 23, 34, 41, 42, 50 (peak), 60, 70, 80, 90] -------------------------------------------------------------------------------- n time(ms) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 43 2,750,868 1,350,889,472 1,350,889,472 0 0 44 2,876,301 1,350,262,784 1,350,262,784 0 0 45 2,922,898 1,315,446,784 1,315,446,784 0 0 46 2,968,461 1,315,307,520 1,315,307,520 0 0 47 3,141,908 1,315,377,152 1,315,377,152 0 0 48 3,204,617 1,375,330,304 1,375,330,304 0 0 49 3,252,089 1,398,730,752 1,398,730,752 0 0 50 3,306,648 1,442,275,328 1,442,275,328 0 0 100.00% (1,442,275,328B) (page allocation syscalls) mmap/mremap/brk, --alloc-fns, etc. ->97.21% (1,402,011,648B) 0x5F324A9: mmap (in /lib/libc-2.7.so) | ->83.75% (1,207,959,552B) 0x5EDCA30: _int_malloc (in /lib/libc-2.7.so) | | ->79.25% (1,142,947,840B) 0x5EDDAD6: malloc (in /lib/libc-2.7.so) | | | ->79.25% (1,142,947,840B) 0x59388F1: CRYPTO_malloc (mem.c:304) | | | ->73.14% (1,054,867,456B) 0x59E6B54: zlib_zalloc (c_zlib.c:40) | | | | ->18.83% (271,581,184B) 0x4C23FDA: deflateInit2_ (deflate.c:293) | | | | | ->18.83% (271,581,184B) 0x4C24112: deflateInit_ (deflate.c:210) | | | | | ->18.83% (271,581,184B) 0x59E6AF3: zlib_stateful_init (c_zlib.c:164) | | | | | ->18.83% (271,581,184B) 0x59E668B: COMP_CTX_new (comp_lib.c:18) | | | | | ->09.60% (138,412,032B) 0x5694EF9: ssl3_change_cipher_state (s3_enc.c:274) | | | | | | ->09.60% (138,412,032B) 0x5692390: ssl3_connect (s3_clnt.c:398) | | | | | | ->09.60% (138,412,032B) 0x4079A5: init_ssl (client.c:310) | | | | | | ->09.60% (138,412,032B) 0x407EE5: run_client (client.c:192) | | | | | | ->09.60% (138,412,032B) 0x408F23: client (client.c:109) | | | | | | ->09.60% (138,412,032B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | | ->09.60% (138,412,032B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | | | ->09.23% (133,169,152B) 0x5694E47: ssl3_change_cipher_state (s3_enc.c:238) | | | | | ->09.23% (133,169,152B) 0x56953CE: ssl3_do_change_cipher_spec (s3_pkt.c:1272) | | | | | ->09.23% (133,169,152B) 0x5696B0C: ssl3_read_bytes (s3_pkt.c:1136) | | | | | ->09.23% (133,169,152B) 0x5697454: ssl3_get_message (s3_both.c:428) | | | | | ->09.23% (133,169,152B) 0x5697A1B: ssl3_get_finished (s3_both.c:217) | | | | | ->09.23% (133,169,152B) 0x56922AE: ssl3_connect (s3_clnt.c:455) | | | | | ->09.23% (133,169,152B) 0x4079A5: init_ssl (client.c:310) | | | | | ->09.23% (133,169,152B) 0x407EE5: run_client (client.c:192) | | | | | ->09.23% (133,169,152B) 0x408F23: client (client.c:109) | | | | | ->09.23% (133,169,152B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | ->09.23% (133,169,152B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | ->17.01% (245,366,784B) 0x4C23FA3: deflateInit2_ (deflate.c:288) | | | | | ->17.01% (245,366,784B) 0x4C24112: deflateInit_ (deflate.c:210) | | | | | ->17.01% (245,366,784B) 0x59E6AF3: zlib_stateful_init (c_zlib.c:164) | | | | | ->17.01% (245,366,784B) 0x59E668B: COMP_CTX_new (comp_lib.c:18) | | | | | ->09.23% (133,169,152B) 0x5694E47: ssl3_change_cipher_state (s3_enc.c:238) | | | | | | ->09.23% (133,169,152B) 0x56953CE: ssl3_do_change_cipher_spec (s3_pkt.c:1272) | | | | | | ->09.23% (133,169,152B) 0x5696B0C: ssl3_read_bytes (s3_pkt.c:1136) | | | | | | ->09.23% (133,169,152B) 0x5697454: ssl3_get_message (s3_both.c:428) | | | | | | ->09.23% (133,169,152B) 0x5697A1B: ssl3_get_finished (s3_both.c:217) | | | | | | ->09.23% (133,169,152B) 0x56922AE: ssl3_connect (s3_clnt.c:455) | | | | | | ->09.23% (133,169,152B) 0x4079A5: init_ssl (client.c:310) | | | | | | ->09.23% (133,169,152B) 0x407EE5: run_client (client.c:192) | | | | | | ->09.23% (133,169,152B) 0x408F23: client (client.c:109) | | | | | | ->09.23% (133,169,152B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | | ->09.23% (133,169,152B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | | | ->07.78% (112,197,632B) 0x5694EF9: ssl3_change_cipher_state (s3_enc.c:274) | | | | | ->07.78% (112,197,632B) 0x5692390: ssl3_connect (s3_clnt.c:398) | | | | | ->07.78% (112,197,632B) 0x4079A5: init_ssl (client.c:310) | | | | | ->07.78% (112,197,632B) 0x407EE5: run_client (client.c:192) | | | | | ->07.78% (112,197,632B) 0x408F23: client (client.c:109) | | | | | ->07.78% (112,197,632B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | ->07.78% (112,197,632B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | ->16.87% (243,269,632B) 0x4C23F8F: deflateInit2_ (deflate.c:287) | | | | | ->16.87% (243,269,632B) 0x4C24112: deflateInit_ (deflate.c:210) | | | | | ->16.87% (243,269,632B) 0x59E6AF3: zlib_stateful_init (c_zlib.c:164) | | | | | ->16.87% (243,269,632B) 0x59E668B: COMP_CTX_new (comp_lib.c:18) | | | | | ->08.87% (127,926,272B) 0x5694E47: ssl3_change_cipher_state (s3_enc.c:238) | | | | | | ->08.87% (127,926,272B) 0x56953CE: ssl3_do_change_cipher_spec (s3_pkt.c:1272) | | | | | | ->08.87% (127,926,272B) 0x5696B0C: ssl3_read_bytes (s3_pkt.c:1136) | | | | | | ->08.87% (127,926,272B) 0x5697454: ssl3_get_message (s3_both.c:428) | | | | | | ->08.87% (127,926,272B) 0x5697A1B: ssl3_get_finished (s3_both.c:217) | | | | | | ->08.87% (127,926,272B) 0x56922AE: ssl3_connect (s3_clnt.c:455) | | | | | | ->08.87% (127,926,272B) 0x4079A5: init_ssl (client.c:310) | | | | | | ->08.87% (127,926,272B) 0x407EE5: run_client (client.c:192) | | | | | | ->08.87% (127,926,272B) 0x408F23: client (client.c:109) | | | | | | ->08.87% (127,926,272B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | | ->08.87% (127,926,272B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | | | ->08.00% (115,343,360B) 0x5694EF9: ssl3_change_cipher_state (s3_enc.c:274) | | | | | ->08.00% (115,343,360B) 0x5692390: ssl3_connect (s3_clnt.c:398) | | | | | ->08.00% (115,343,360B) 0x4079A5: init_ssl (client.c:310) | | | | | ->08.00% (115,343,360B) 0x407EE5: run_client (client.c:192) | | | | | ->08.00% (115,343,360B) 0x408F23: client (client.c:109) | | | | | ->08.00% (115,343,360B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | ->08.00% (115,343,360B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | ->15.99% (230,686,720B) 0x4C23FB7: deflateInit2_ (deflate.c:289) | | | | | ->15.99% (230,686,720B) 0x4C24112: deflateInit_ (deflate.c:210) | | | | | ->15.99% (230,686,720B) 0x59E6AF3: zlib_stateful_init (c_zlib.c:164) | | | | | ->15.99% (230,686,720B) 0x59E668B: COMP_CTX_new (comp_lib.c:18) | | | | | ->08.00% (115,343,360B) 0x5694E47: ssl3_change_cipher_state (s3_enc.c:238) | | | | | | ->08.00% (115,343,360B) 0x56953CE: ssl3_do_change_cipher_spec (s3_pkt.c:1272) | | | | | | ->08.00% (115,343,360B) 0x5696B0C: ssl3_read_bytes (s3_pkt.c:1136) | | | | | | ->08.00% (115,343,360B) 0x5697454: ssl3_get_message (s3_both.c:428) | | | | | | ->08.00% (115,343,360B) 0x5697A1B: ssl3_get_finished (s3_both.c:217) | | | | | | ->08.00% (115,343,360B) 0x56922AE: ssl3_connect (s3_clnt.c:455) | | | | | | ->08.00% (115,343,360B) 0x4079A5: init_ssl (client.c:310) | | | | | | ->08.00% (115,343,360B) 0x407EE5: run_client (client.c:192) | | | | | | ->08.00% (115,343,360B) 0x408F23: client (client.c:109) | | | | | | ->08.00% (115,343,360B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | | ->08.00% (115,343,360B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | | | ->08.00% (115,343,360B) 0x5694EF9: ssl3_change_cipher_state (s3_enc.c:274) | | | | | ->08.00% (115,343,360B) 0x5692390: ssl3_connect (s3_clnt.c:398) | | | | | ->08.00% (115,343,360B) 0x4079A5: init_ssl (client.c:310) | | | | | ->08.00% (115,343,360B) 0x407EE5: run_client (client.c:192) | | | | | ->08.00% (115,343,360B) 0x408F23: client (client.c:109) | | | | | ->08.00% (115,343,360B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | ->08.00% (115,343,360B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | ->03.85% (55,574,528B) 0x4C29017: updatewindow (inflate.c:335) | | | | | ->03.85% (55,574,528B) 0x4C2955C: inflate (inflate.c:1152) | | | | | ->03.85% (55,574,528B) 0x59E68A3: zlib_stateful_expand_block (c_zlib.c:232) | | | | | ->03.85% (55,574,528B) 0x59E65F0: COMP_expand_block (comp_lib.c:65) | | | | | ->03.85% (55,574,528B) 0x5695DCC: ssl3_do_uncompress (s3_pkt.c:480) | | | | | ->03.85% (55,574,528B) 0x569650E: ssl3_read_bytes (s3_pkt.c:435) | | | | | ->03.85% (55,574,528B) 0x5697454: ssl3_get_message (s3_both.c:428) | | | | | ->03.85% (55,574,528B) 0x5697A1B: ssl3_get_finished (s3_both.c:217) | | | | | ->03.85% (55,574,528B) 0x56922AE: ssl3_connect (s3_clnt.c:455) | | | | | ->03.85% (55,574,528B) 0x4079A5: init_ssl (client.c:310) | | | | | ->03.85% (55,574,528B) 0x407EE5: run_client (client.c:192) | | | | | ->03.85% (55,574,528B) 0x408F23: client (client.c:109) | | | | | ->03.85% (55,574,528B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | | ->03.85% (55,574,528B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | | | ->00.58% (8,388,608B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->01.74% (25,165,824B) 0x598ECBA: BUF_MEM_grow (buffer.c:110) | | | | ->01.74% (25,165,824B) 0x5692991: ssl3_connect (s3_clnt.c:216) | | | | ->01.74% (25,165,824B) 0x4079A5: init_ssl (client.c:310) | | | | ->01.74% (25,165,824B) 0x407EE5: run_client (client.c:192) | | | | ->01.74% (25,165,824B) 0x408F23: client (client.c:109) | | | | ->01.74% (25,165,824B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | ->01.74% (25,165,824B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | ->01.60% (23,068,672B) 0x5697110: ssl3_setup_buffers (s3_both.c:636) | | | | ->01.60% (23,068,672B) 0x56924F0: ssl3_connect (s3_clnt.c:225) | | | | ->01.60% (23,068,672B) 0x4079A5: init_ssl (client.c:310) | | | | ->01.60% (23,068,672B) 0x407EE5: run_client (client.c:192) | | | | ->01.60% (23,068,672B) 0x408F23: client (client.c:109) | | | | ->01.60% (23,068,672B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | ->01.60% (23,068,672B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | ->01.31% (18,874,368B) 0x569714C: ssl3_setup_buffers (s3_both.c:646) | | | | ->01.31% (18,874,368B) 0x56924F0: ssl3_connect (s3_clnt.c:225) | | | | ->01.31% (18,874,368B) 0x4079A5: init_ssl (client.c:310) | | | | ->01.31% (18,874,368B) 0x407EE5: run_client (client.c:192) | | | | ->01.31% (18,874,368B) 0x408F23: client (client.c:109) | | | | ->01.31% (18,874,368B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | ->01.31% (18,874,368B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | ->01.31% (18,874,368B) 0x5695344: ssl3_change_cipher_state (s3_enc.c:245) | | | | ->01.31% (18,874,368B) 0x56953CE: ssl3_do_change_cipher_spec (s3_pkt.c:1272) | | | | ->01.31% (18,874,368B) 0x5696B0C: ssl3_read_bytes (s3_pkt.c:1136) | | | | ->01.31% (18,874,368B) 0x5697454: ssl3_get_message (s3_both.c:428) | | | | ->01.31% (18,874,368B) 0x5697A1B: ssl3_get_finished (s3_both.c:217) | | | | ->01.31% (18,874,368B) 0x56922AE: ssl3_connect (s3_clnt.c:455) | | | | ->01.31% (18,874,368B) 0x4079A5: init_ssl (client.c:310) | | | | ->01.31% (18,874,368B) 0x407EE5: run_client (client.c:192) | | | | ->01.31% (18,874,368B) 0x408F23: client (client.c:109) | | | | ->01.31% (18,874,368B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | | | ->01.31% (18,874,368B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | | | | | ->00.15% (2,097,152B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->04.51% (65,011,712B) 0x5EDD7E6: calloc (in /lib/libc-2.7.so) | | ->04.29% (61,865,984B) 0x408FAE: alloc_client_session (client.c:81) | | | ->04.29% (61,865,984B) 0x4131BB: main_execute (stunnel.c:198) | | | ->04.29% (61,865,984B) 0x413617: main (stunnel.c:72) | | | | | ->00.22% (3,145,728B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->08.80% (126,943,232B) 0x545A631: pthread_create@@GLIBC_2.2.5 (in /lib/libpthread-2.7.so) | | ->08.80% (126,943,232B) 0x41253F: create_client (sthreads.c:313) | | ->08.80% (126,943,232B) 0x4131D0: main_execute (stunnel.c:198) | | ->08.80% (126,943,232B) 0x413617: main (stunnel.c:72) | | | ->04.65% (67,108,864B) 0x5EDAE3F: new_heap (in /lib/libc-2.7.so) | | ->04.65% (67,108,864B) 0x5EDB01D: arena_get2 (in /lib/libc-2.7.so) | | ->04.65% (67,108,864B) 0x5EDDAC3: malloc (in /lib/libc-2.7.so) | | ->04.65% (67,108,864B) 0x59388F1: CRYPTO_malloc (mem.c:304) | | ->04.65% (67,108,864B) 0x599F96F: EVP_DigestInit_ex (digest.c:202) | | ->04.65% (67,108,864B) 0x5694456: ssl3_mac (s3_enc.c:612) | | ->04.65% (67,108,864B) 0x569649B: ssl3_read_bytes (s3_pkt.c:407) | | ->04.65% (67,108,864B) 0x5693E46: ssl3_read (s3_lib.c:2503) | | ->04.65% (67,108,864B) 0x408418: run_client (client.c:578) | | ->04.65% (67,108,864B) 0x408F23: client (client.c:109) | | ->04.65% (67,108,864B) 0x545AFC5: start_thread (in /lib/libpthread-2.7.so) | | ->04.65% (67,108,864B) 0x5F3564B: clone (in /lib/libc-2.7.so) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.19% (31,576,064B) 0x40149D9: mmap (in /lib/ld-2.7.so) | ->02.16% (31,199,232B) 0x40064A0: _dl_map_object_from_fd (in /lib/ld-2.7.so) | | ->02.16% (31,199,232B) 0x4007F0B: _dl_map_object (in /lib/ld-2.7.so) | | ->01.72% (24,834,048B) 0x400C9E0: openaux (in /lib/ld-2.7.so) | | | ->01.72% (24,834,048B) 0x400D3A4: _dl_catch_error (in /lib/ld-2.7.so) | | | ->01.72% (24,834,048B) 0x400BA85: _dl_map_object_deps (in /lib/ld-2.7.so) | | | ->01.57% (22,654,976B) 0x40031F5: dl_main (in /lib/ld-2.7.so) | | | | ->01.57% (22,654,976B) 0x4013B33: _dl_sysdep_start (in /lib/ld-2.7.so) | | | | ->01.57% (22,654,976B) 0x4001319: _dl_start (in /lib/ld-2.7.so) | | | | ->01.57% (22,654,976B) 0x4000A66: ??? (in /lib/ld-2.7.so) | | | | ->01.57% (22,654,976B) 0x0: ??? | | | | ->01.57% (22,654,976B) 0x7FF000845: ??? | | | | ->01.57% (22,654,976B) 0x7FF000851: ??? | | | | | | | ->00.15% (2,179,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.44% (6,365,184B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.03% (376,832B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.60% (8,687,616B) in 1+ places, all below ms_print's threshold (01.00%)