I enabled field_group on an otherwise CLEAN 8.2.5 installation of drupal
try to visit admin/structure/types/manage/article/form-display
but there is always timeout 504 or 500 internal server error
with this kind of messages in error_log

[Sat Jan 14 13:28:11 2017] [warn] [client x.x.x.x] mod_fcgid: read data timeout in 120 seconds
[Sat Jan 14 13:28:11 2017] [error] [client x.x.x.x] Premature end of script headers: index.php
or
[Sat Jan 14 13:40:04 2017] [warn] [client x.x.x.x] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jan 14 13:40:04 2017] [error] [client x.x.x.x] Premature end of script headers: index.php

I have tried uping the FcgidIOTimeout 600 in /etc/httpd/conf.d/fcgid.conf and restarting the apache/nginx as suggested but does not help

the PHP version used was 7.1.0
changing to 7.0.14 or 5.6.29 will allow me to access admin/structure/types/manage/article/form-display without much delay

Comments

GiorgosK created an issue. See original summary.

GiorgosK’s picture

Issue summary: View changes
jeremylang’s picture

I've run into a similar similar issue with 7.x-1.5 (not sure if there is overlap with the 8.x version) where the page times out and a PHP-FPM process (running PHP 7.1.3) will consume a single CPU and run for hours completely ignoring PHP's execution timeouts. I didn't find my way to the bottom of it, but was able to trace it as far as field_group.field_ui.inc:684

ctools_export_crud_save('field_group', $group);

Strangely I can find no evidence that the line or the function (field_group_field_overview_submit()) that wraps it is even executed to render field overview pages. Further, it appears to only be the $group variable that is causing the issue as changing it to the non-existent $group2 alleviates the timeout. Testing also shows that PHP appears to hang attempting to include the file.

The best explanation I've seen so far is a bug in PHP https://bugs.php.net/bug.php?id=74408 which did not perfectly line up with what I was seeing, nor answers a few questions, but sounds like the kind of thing I experienced.

hawkeye.twolf’s picture

Possibly duplicate of #2842541: Adding Multiple Fields wrapped by a Tabs Group cause maximum execution error. See if allowing ajax a few seconds to finish (after moving the tabs into place) before clicking save on the form fixes it for you. Or upgrade to 8.x-3.x version.

nils.destoop’s picture

Status: Active » Closed (cannot reproduce)

I can not reproduce this on PHP 7.1.10

hoporr’s picture

Confirming:
Problem appears with PHP 7.1.15, on Ubuntu.
Problem does not appear with 7.0 and 7.2