Created
November 12, 2014 22:00
-
-
Save 5HT/3a1dea929b7772bc27b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello! | |
tl;dr We’ve managed to put beam.smp in crash reproducibly. | |
It is resistant to reproduce on 17.3 and 16B02 versions. | |
It happens under heavy load. No HiPE. No NIFs. ulimit is ok. | |
We have very simple application that consumes RabbitMQ queue and store data in mnesia's disc_copies. For that purposes we use RabbitMQ client stack amqp_client/rabbit_common wrapped in our simple library synrc/mqs (300 LOC) along with very simple wrapper over mnesia synrc/kvs (200 LOC). We have 16GB RAM on powerful machine and performance is good. However after reaching memory consumption near 10GB the system goes to core. We used the original Ubuntu 12.04 package R16B02 which was without symbol information needed to bug report. So we’ve built with KERL Erlang 17.3 from sources and situation hadn’t change. | |
Here is GBD session we did retrieve from core file along with detailed information about application, build procedure, etc.: | |
1. https://gist.github.com/5HT/e35d58b76bc25680e17b | |
2. https://gist.github.com/5HT/224c569df807f1e337aa | |
We heard that 17.3 have some unstable memory allocators. But crashes was also reproducible on R16B02. So we decided not to panic and ask in community the recipe how to perform further checks and plan in calm the regression test kit. | |
As you can see crash core files contains information about allocators and gc. We think the problem is there. That leads us with following questions to community: | |
1. Which memory allocators you suggest us to try at first? | |
2. What other steps we should perform? | |
3. How do you think what is the real cause of the problem? | |
Sources are really simple, I can send them by request to Ericsson OTP team. The application itself weight only 1332 LOC. | |
— | |
Synrc Research Center | |
Maxim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment