-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Sending parallel GraphQl mutation request cause 500 Internal Server Error #793
Comments
FYI if I add the following:
Just before the line: data-hub/src/Configuration.php Line 151 in dc9862d
The error goes away! |
What happens when removing data-hub/src/Configuration.php Lines 151 to 153 in ce780dd
? This encode/decode looks unnecessary and doesn't change the outcome |
@kingjia90 yes, not necessary it seems since we decode it already as associative on save data-hub/src/Controller/ConfigController.php Line 415 in 0550084
Also on import data-hub/src/Service/ImportService.php Line 32 in 6eb04e3
|
Fixed by #813 |
Expected behavior
Should get status 200 when sending parallel GraphQl request.
Actual behavior
I get a 500 Internal Server Error, and the following in dev.log
php.CRITICAL: Fatal Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) {"exception":"[object] (Symfony\Component\ErrorHandler\Error\OutOfMemoryError(code: 0): Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) at /var/www/html/vendor/pimcore/data-hub/src/Configuration.php:152)"} []
Steps to reproduce
Create multiple large GraphQl mutation request.
Send them all in one go.
You will get 500 Internal Server error.
The text was updated successfully, but these errors were encountered: