From: Vladimir Davydov <vdavydov.dev@gmail.com>
To: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: tml <tarantool-patches@freelists.org>,
Alexander Turenko <alexander.turenko@tarantool.org>
Subject: Re: [PATCH v5 0/2] Implement support of strip_core functionality
Date: Mon, 20 May 2019 13:03:53 +0300 [thread overview]
Message-ID: <20190520100353.3knli6qxzq2o4lak@esperanza> (raw)
In-Reply-To: <20190516214559.3310-1-gorcunov@gmail.com>
On Fri, May 17, 2019 at 12:45:57AM +0300, Cyrill Gorcunov wrote:
> Volodya, could you please help with more intensive testing since I'm not sure
> how to fill memtx from console or some script yet.
Just type in the console or a script:
-- alloc 1 GB for memtx tuple arena
box.cfg{memtx_memory = 1024 * 1024 * 1024}
-- create a test space
s = box.schema.space.create('test')
s:create_index('primary')
-- fill it until we run out of memory
for i = 1, math.huge do s:insert{i, string.rep('x', 100 * 1024)} end
-- double the size of memtx arena by adding more slabs
box.cfg{memtx_memory = 2 * 1024 * 1024 * 1024}
-- fill them up too
for i = 1, math.huge do s:insert{i, string.rep('x', 100 * 1024)} end
Then kill the tarantool with SIGSEGV to generate a core. The core size
should be considerably less than 2 GB with strip_core enabled.
next prev parent reply other threads:[~2019-05-20 10:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-16 21:45 Cyrill Gorcunov
2019-05-16 21:45 ` [PATCH v5 1/2] slab_arena: Enhance slab_arena_create to support madvise hints Cyrill Gorcunov
2019-05-20 12:55 ` Vladimir Davydov
2019-05-20 13:03 ` Cyrill Gorcunov
2019-05-16 21:45 ` [PATCH v5 2/2] box/memtx: Allow to skip tuple memory from coredump Cyrill Gorcunov
2019-05-20 10:03 ` Vladimir Davydov [this message]
2019-05-20 10:09 ` [PATCH v5 0/2] Implement support of strip_core functionality Cyrill Gorcunov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190520100353.3knli6qxzq2o4lak@esperanza \
--to=vdavydov.dev@gmail.com \
--cc=alexander.turenko@tarantool.org \
--cc=gorcunov@gmail.com \
--cc=tarantool-patches@freelists.org \
--subject='Re: [PATCH v5 0/2] Implement support of strip_core functionality' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox