Skip to content

Getting segmentation fault when used under certain load #2

@guangyudong

Description

@guangyudong

Dear Authors of this plugin,

I'm using this plugin with mongodb and mapnik to render tiles. Basically my c++ program starts an http server (using libmicrohttpd) and response to requests for map tiles. It fetches data in mongodb in runtime, then render and return the image back to the client side.

The versions of the packages I'm using is as following:
Mapnik 2.3.x
Mongodb 2.6

It was working fine when I was developing, when every time I send only one or two requests to see if it works. However, when I tried to deploy my program as the backend map tile server for our map application, which generates a lot of requests, I began to have segmentation fault. This happens everytime I send requests too often, say, more than two per second.

Here is a copy of error messages I got: http://pastebin.com/NdeCK8rF

I wonder if this plugin is thread-safe, and whether there is anything I need to pay special attention when using. And what do you think that might cause this error?

Thanks very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions