Bug #88873

ext: form hangs (run into 500 error) when a lot of files are in the fileadmin

Added by Christian Hackl over 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-11-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
performance
Complexity:
Is Regression:
Sprint Focus:

Description

TYPO3 9.5.8 with many many many files in the fileadmin directory.

if you click on the modul form in the backend, the form module loads dead - until it runs into the php_exectuion_time or produces 500 errors - "Premature end of script headers: index.php". (the SQL process that is started is sleeping and will not be aborted)

This only happens if there are 100d of files in the fileadmin. Although the allowed "allowedFileMounts" or "allowedExtensionPaths" are explicitly specified in custom BaseSetup.yaml.
If you move the files from fileadmin to a parent dir / outside of fileadmin - all works fine.


Related issues

Related to TYPO3 Core - Epic #89759: Performance improvements in Forms moduleNew2019-11-24

Actions
Related to TYPO3 Core - Epic #93547: Collection of problems with large sitesAccepted2021-02-19

Actions
#1

Updated by Susanne Moog over 2 years ago

  • Tags changed from form to form CodingNight
#2

Updated by Christian Hackl over 2 years ago

I think this is the same problem like this: https://forge.typo3.org/issues/88913

#3

Updated by Christian Hackl over 2 years ago

  • Related to Bug #88913: link wizard - error 500 - many files directly fileadmin/user_upload/ added
#4

Updated by Riccardo De Contardi about 2 years ago

Are we talking here about EXT:form or the backend interface (so Formengine, I guess)?

#5

Updated by Christian Hackl about 2 years ago

don't no exactly, i think the problem is that the ext:form is searching for the config yaml files and it searches in the complete fileadmin directory insteed of the given "allowedFileMounts" or "allowedExtensionPaths". (looks like)

The link handler from linked issue 88913 above works fine.

#6

Updated by Riccardo De Contardi about 2 years ago

  • Category set to Form Framework
#7

Updated by Bjoern Jacob about 2 years ago

  • Related to deleted (Bug #88913: link wizard - error 500 - many files directly fileadmin/user_upload/)
#8

Updated by Bjoern Jacob about 2 years ago

  • Tags deleted (form CodingNight)
  • Sprint Focus set to Remote Sprint
#9

Updated by Mathias Brodala about 2 years ago

  • Status changed from New to Accepted
  • Assignee set to Mathias Brodala
#10

Updated by Mathias Brodala about 2 years ago

  • Due date set to 2019-11-05
  • Start date changed from 2019-07-31 to 2019-11-05
  • Follows Feature #89576: Introduce paginate view helper added
#11

Updated by Mathias Brodala about 2 years ago

This should be fixed with a server-side pagination exactly like the File list module does. For this #89576 would be useful to avoid code duplication.

#12

Updated by Mathias Brodala about 2 years ago

  • Status changed from Accepted to In Progress
#13

Updated by Mathias Brodala about 2 years ago

  • Tags set to performance
#14

Updated by Mathias Brodala about 2 years ago

  • Related to Epic #89759: Performance improvements in Forms module added
#15

Updated by Mathias Brodala about 2 years ago

The pagination idea is handled in #89762 now.

#16

Updated by Mathias Brodala about 2 years ago

  • Sprint Focus deleted (Remote Sprint)
#17

Updated by Sybille Peters 10 months ago

  • Related to Epic #93547: Collection of problems with large sites added
#18

Updated by Bjoern Jacob 4 months ago

  • Due date deleted (2019-11-05)
  • Status changed from In Progress to Accepted
#19

Updated by Bjoern Jacob 4 months ago

#20

Updated by Bjoern Jacob 4 months ago

  • Status changed from Accepted to Closed
  • Assignee deleted (Mathias Brodala)

The form manager comes in v11 with a pagination. Closing this issue.

Also available in: Atom PDF