<div dir="ltr">this doesn't seem to be a segfault, but the server that received a kill signal... could you be getting out of memory errors ?<div><br></div><div>--</div><div>thomas </div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Mar 7, 2017 at 8:18 AM Pieter Callewaert <<a href="mailto:pieter.callewaert@be-mobile.com">pieter.callewaert@be-mobile.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Andreas, you brought me on a lead, indeed the ulimit for core size was on 0. Also it seems ubuntu running apport does not generate coredumps, had to change the core pattern.<br class="gmail_msg">
<br class="gmail_msg">
I've a core dump now, checked with GDB, but not sure what I'm searching at...<br class="gmail_msg">
<a href="http://pastebin.com/fAXdEg15" rel="noreferrer" class="gmail_msg" target="_blank">http://pastebin.com/fAXdEg15</a><br class="gmail_msg">
<br class="gmail_msg">
Kind regards,<br class="gmail_msg">
Pieter C<br class="gmail_msg">
<br class="gmail_msg">
-----Original Message-----<br class="gmail_msg">
From: Eichner, Andreas - SID [mailto:<a href="mailto:Andreas.Eichner@sid.sachsen.de" class="gmail_msg" target="_blank">Andreas.Eichner@sid.sachsen.de</a>]<br class="gmail_msg">
Sent: Monday, 6 March, 2017 15:40<br class="gmail_msg">
To: Pieter Callewaert <<a href="mailto:pieter.callewaert@be-mobile.com" class="gmail_msg" target="_blank">pieter.callewaert@be-mobile.com</a>>; <a href="mailto:mapserver-users@lists.osgeo.org" class="gmail_msg" target="_blank">mapserver-users@lists.osgeo.org</a><br class="gmail_msg">
Subject: AW: [mapserver-users] Mapcache segmentation faults under high load<br class="gmail_msg">
<br class="gmail_msg">
Hi Pieter,<br class="gmail_msg">
<br class="gmail_msg">
have you checked the ulimit for the user the Apache runs under? See man core(5) for possible reasons why no core is dumped.<br class="gmail_msg">
<br class="gmail_msg">
HTH<br class="gmail_msg">
<br class="gmail_msg">
> -----Ursprüngliche Nachricht-----<br class="gmail_msg">
> Von: mapserver-users [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" class="gmail_msg" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]<br class="gmail_msg">
> Im Auftrag von Pieter Callewaert<br class="gmail_msg">
> Gesendet: Montag, 6. März 2017 11:01<br class="gmail_msg">
> An: <a href="mailto:mapserver-users@lists.osgeo.org" class="gmail_msg" target="_blank">mapserver-users@lists.osgeo.org</a><br class="gmail_msg">
> Betreff: Re: [mapserver-users] Mapcache segmentation faults under high<br class="gmail_msg">
> load<br class="gmail_msg">
><br class="gmail_msg">
> Hi Thomas,<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> The documentation for debug compiling is not complete<br class="gmail_msg">
> (<a href="http://mapserver.org/mapcache/install.html" rel="noreferrer" class="gmail_msg" target="_blank">http://mapserver.org/mapcache/install.html</a><br class="gmail_msg">
> <<a href="http://mapserver.org/mapcache/install.html" rel="noreferrer" class="gmail_msg" target="_blank">http://mapserver.org/mapcache/install.html</a>> ).<br class="gmail_msg">
><br class="gmail_msg">
> If I add -DCMAKE_BUILD_TYPE="Debug" to the cmake, it this enough?<br class="gmail_msg">
><br class="gmail_msg">
> Also added CoreDumpDirectory /tmp/apache2-gdb-dump to apache2.conf,<br class="gmail_msg">
> and now I see this in the error log:<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> [Thu Mar 02 08:46:42.588518 2017] [core:notice] [pid 13:tid<br class="gmail_msg">
> 140052444931968] AH00051: child pid 14 exit signal Segmentation fault<br class="gmail_msg">
> (11), possible coredump in /tmp/apache2-gdb-dump<br class="gmail_msg">
><br class="gmail_msg">
> [Thu Mar 02 08:46:55.606507 2017] [core:notice] [pid 13:tid<br class="gmail_msg">
> 140052444931968] AH00051: child pid 2097 exit signal Segmentation<br class="gmail_msg">
> fault (11), possible coredump in /tmp/apache2-gdb-dump<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Unfortunately, no dumps yet, so I’m afraid I did something wrong with<br class="gmail_msg">
> the debug compiling.<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Kind regards,<br class="gmail_msg">
><br class="gmail_msg">
> Pieter C<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> From: thomas bonfort [mailto:<a href="mailto:thomas.bonfort@gmail.com" class="gmail_msg" target="_blank">thomas.bonfort@gmail.com</a>]<br class="gmail_msg">
> Sent: Wednesday, 1 March, 2017 09:33<br class="gmail_msg">
> To: Pieter Callewaert <<a href="mailto:pieter.callewaert@be-mobile.com" class="gmail_msg" target="_blank">pieter.callewaert@be-mobile.com</a>>; mapserver-<br class="gmail_msg">
> <a href="mailto:users@lists.osgeo.org" class="gmail_msg" target="_blank">users@lists.osgeo.org</a><br class="gmail_msg">
> Subject: Re: [mapserver-users] Mapcache segmentation faults under high<br class="gmail_msg">
> load<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Try to get a backtrace from the crashes by compiling mapcache in debug<br class="gmail_msg">
> mode, and configuring apache to allow coredumps. The "stale lock"<br class="gmail_msg">
> messages you are seeing are side effects of the crashes so that's not<br class="gmail_msg">
> where I'd investigate at first.<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> regards,<br class="gmail_msg">
><br class="gmail_msg">
> thomas<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
mapserver-users mailing list<br class="gmail_msg">
<a href="mailto:mapserver-users@lists.osgeo.org" class="gmail_msg" target="_blank">mapserver-users@lists.osgeo.org</a><br class="gmail_msg">
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>