I have an application that's producing a segmentation fault. The application code is available
here.
It runs as two Docker containers. A mongo container has the /ebs/data/db (or /disk/data/db if I use GCP) directory bound to its /data/db directory, which is block storage for the clouds I use. A rails-tester container is linked to it so that it can use it as its database. When I do a siege with settings "-c 10 -r 5 -d 1" I get about 1-4 out of the 50 transactions failing. And a
custom load tester script I use, which hits it with a request, waits for a response, and hits it again, looping forever, will encounter a 500 and stop after about 20-100 request cycles.
The segmentation fault error message from the console running the app in development is
here.
This is the first time I've ever encountered a segfault in Ruby so I'm not sure what might cause it or how to interpret the error message, but it looks like it's coming from the MongoDB driver. I was wondering if anybody could provide some insight here.