[lttng-dev] LTTng memory map

Jeffrey Chen cpthk at live.com
Wed Sep 28 23:38:42 UTC 2016


It looks like the code that called shm_open() is called at the lttng-consumerd daemon. But, somehow it show up in the pmap at my service process. I noticed all my processes that loads liblttng-ust would have this entry. Do you know what's the reason?


________________________________
From: lttng-dev <lttng-dev-bounces at lists.lttng.org> on behalf of Jeffrey Chen <cpthk at live.com>
Sent: Tuesday, September 27, 2016 11:20 AM
To: lttng-dev
Subject: [lttng-dev] LTTng memory map


Hi LTTng:


Our service has been running overnight with LTTng enabled to do some memory consumption testing. We noticed the linux pmap output would have several memory map used by LTTng, and are marked as deleted. Do you know what are them? Why are they left in the system and marked as deleted? Thanks.


00007fc3017ee000   40968     592     592 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3017ee000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc303ff0000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc303ff0000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3067f2000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3067f2000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc308ff4000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc308ff4000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30b7f6000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30b7f6000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30dff8000   40968     524     524 rw-s- ust-shm-consumer-58905 (deleted)
00007fc30dff8000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3107fa000   40968       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3107fa000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc312ffc000   40968     244     244 rw-s- ust-shm-consumer-58905 (deleted)
00007fc312ffc000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3157fe000   40968     396     396 rw-s- ust-shm-consumer-58905 (deleted)
00007fc3157fe000       0       0       0 rw-s- ust-shm-consumer-58905 (deleted)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20160928/947ec500/attachment.html>


More information about the lttng-dev mailing list