[mapserver-users] Mapcache segmentation faults under high load

Pieter Callewaert pieter.callewaert at be-mobile.com
Mon Mar 6 02:01:17 PST 2017


Hi Thomas,

The documentation for debug compiling is not complete (http://mapserver.org/mapcache/install.html).
If I add -DCMAKE_BUILD_TYPE="Debug" to the cmake, it this enough?
Also added CoreDumpDirectory /tmp/apache2-gdb-dump to apache2.conf, and now I see this in the error log:

[Thu Mar 02 08:46:42.588518 2017] [core:notice] [pid 13:tid 140052444931968] AH00051: child pid 14 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump
[Thu Mar 02 08:46:55.606507 2017] [core:notice] [pid 13:tid 140052444931968] AH00051: child pid 2097 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump

Unfortunately, no dumps yet, so I’m afraid I did something wrong with the debug compiling.

Kind regards,
Pieter C

From: thomas bonfort [mailto:thomas.bonfort at gmail.com]
Sent: Wednesday, 1 March, 2017 09:33
To: Pieter Callewaert <pieter.callewaert at be-mobile.com>; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Mapcache segmentation faults under high load

Try to get a backtrace from the crashes by compiling mapcache in debug mode, and configuring apache to allow coredumps. The "stale lock" messages you are seeing are side effects of the crashes so that's not where I'd investigate at first.

regards,
thomas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170306/95058d48/attachment.htm>


More information about the MapServer-users mailing list