Whenever I try to update or (un)install NC app whole NC crashes with "AH00051: child pid xxx exit signal Segmentation fault (11), possible coredump in /etc/apache2"

This is a persistent issue with Docker Nextcloud 33 on ARM64 (RPi 4):

[Mon Jul 06 14:34:05.966518 2026] [php:error] [pid 452:tid 452] [client 85.132.138.161:0] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 1125889840792928 bytes) in Unknown on line 1717776688
[Mon Jul 06 14:34:07.110305 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 452 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:08.111863 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 118 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:08.112086 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 517 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:08.112283 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 518 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:10.126346 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 71 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:10.126604 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 474 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:16.157659 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 516 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:16.157893 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 540 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:18.159925 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 546 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:22.198655 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 549 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:22.198892 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 550 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:27.208857 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 551 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:28.275443 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 552 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Mon Jul 06 14:34:28.279003 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 553 exit signal Segmentation fault (11), possible coredump in /etc/apache2


Only a full container restart helps.

docker-compose:

services:

  nextcloud:
    image: nextcloud:production
    restart: always
    network_mode: bridge
    ports:
      - 8082:80
    volumes:
      - nextcloud-simple:/var/www/html
    environment:
       - POSTGRES_HOST=somehost.example.com
       - POSTGRES_DB=nextcloud_db
       - POSTGRES_USER=nextcloud_user
       - POSTGRES_PASSWORD=<nextcloud_user_password>
       - REDIS_HOST=somehost.example.com
       - REDIS_HOST_PORT=6379

volumes:
  nextcloud-simple:


The 512MB is already the recommended minimum, depending on the RPi model, you have to be careful how much memory you dedicate to each process, but it should be enough. What is trying to allocate so much memory?
Do you have this even with just the basic apps installed (files, calendar, contacts)?

And you can try to install and remove apps through the occ command:

then it does not go through the web server, you don’t have certain memory limitations and there might be more detailed errors.

Thanks for the answer; I did not realize this.

Well I have no idea what and why is trying to allocate such RAM; the NC instance runs on more/less automatic defaults from the initial installation aroun 3y agoo. I do have several more apps installed (like LDAP integration, TOTP support, Collectives, Forms, Notes, Passwords, Tasks, Maps…) but this was never a problem before.

Yeah, the Docker container (even with all those ) currently eats around 430-ishMB, as can be seen in docker stats:

CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM %
410a2574085a nextcloud-simple-nextcloud-1 0.01% 429.1MiB / 7.618GiB 5.50%

…so maybe I’m nearing “some kind” of 512MB limit preset “somewhere” within the NC components…? I do have way more RAM available at my disposal for NC…

I could do a cleanup and uninstall something, but still, why is there a hard limit set like this?

Can it be tweaked somewhere?

Yeah… On top of everything else, the previous errorwith RAM overallocation is probably unrelated :frowning:

I’m having the segfaults (when installing/uninstalling/enabling/disabling apps) regardless…

<IP_address> - - [07/Jul/2026:08:48:15 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1156 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0"
<IP_address> - - [07/Jul/2026:08:48:17 +0000] "POST /apps/text/session/163775/sync HTTP/1.1" 200 1278 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0"
<IP_address> - - [07/Jul/2026:08:48:23 +0000] "POST /apps/text/session/163775/sync HTTP/1.1" 200 1278 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0"
<IP_address> - - [07/Jul/2026:08:48:27 +0000] "GET /settings/apps/update/drawio HTTP/1.1" 200 745 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0"
[Tue Jul 07 08:48:35.633969 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1030 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:48:39.661971 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1059 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:48:43.769564 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1053 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:48:44.839299 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 517 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:48:44.842942 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1056 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:48:45.843891 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1095 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:48:45.844108 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1096 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:48:45.844210 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1097 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:05.884565 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1098 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:05.885833 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1099 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:06.914095 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1100 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:13.997048 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1101 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:13.998003 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1102 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:15.088394 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1103 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:15.088784 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1104 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:16.092510 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1105 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:16.092902 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1106 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:18.100433 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1107 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:27.176866 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1108 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:27.177351 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1109 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:27.177642 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1110 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:35.230248 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1111 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:36.297589 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1112 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:36.301284 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1113 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:37.352424 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1114 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:37.352885 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1115 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:37.353121 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1116 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:39.355863 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1117 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:39.356139 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1118 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:42.463101 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1119 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:43.549947 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1120 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:43.550553 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1121 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:44.553875 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1122 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:49:45.557857 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1123 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:15.599865 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1124 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:18.603865 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1125 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:19.615997 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1126 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:20.642135 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1127 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:21.643883 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1128 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:23.658014 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1129 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:24.685860 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1130 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:50:35.718864 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1131 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:51:21.877654 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1132 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:51:21.878315 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1133 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:51:22.884877 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1134 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:52:11.994837 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1135 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Tue Jul 07 08:52:13.036793 2026] [core:notice] [pid 1:tid 1] AH00051: child pid 1136 exit signal Segmentation fault (11), possible coredump in /etc/apache2

@Boldos

this is merely a hunch, but there have been compatibility issues with the drawio app.

try disabling that app with an OCC command occ app:disable drawio to see whether that resolves the issue.