QueueOverflowException - Item queue overflow. Check that the batch daemon is running

162 views
Skip to first unread message

Bilal Haidar

unread,
May 4, 2021, 3:35:56 PM5/4/21
to Google App Engine

Hi,
From time to time, we are having 500 error messages as shown below:

This is a PHP Laravel hosted on GCP App Engine Flex.

Any idea what's causing these errors?

{
    "message": "Item queue overflow. Check that the batch daemon is running.",
    "exception": "Google\\Cloud\\Core\\Batch\\QueueOverflowException",
    "file": "/app/vendor/google/cloud-core/src/Batch/SysvProcessor.php",
    "line": 78,
    "trace": [
        {
            "file": "/app/vendor/google/cloud-core/src/Batch/BatchRunner.php",
            "line": 141,
            "function": "submit",
            "class": "Google\\Cloud\\Core\\Batch\\SysvProcessor",
            "type": "->"
        },
        {
            "file": "/app/vendor/google/cloud-logging/src/PsrLogger.php",
            "line": 524,
            "function": "submitItem",
            "class": "Google\\Cloud\\Core\\Batch\\BatchRunner",
            "type": "->"
        },
        {
            "file": "/app/vendor/google/cloud-logging/src/PsrLogger.php",
            "line": 413,
            "function": "sendEntry",
            "class": "Google\\Cloud\\Logging\\PsrLogger",
            "type": "->"
        },
        {
            "file": "/app/vendor/monolog/monolog/src/Monolog/Handler/PsrHandler.php",
            "line": 66,
            "function": "log",
            "class": "Google\\Cloud\\Logging\\PsrLogger",
            "type": "->"
        },
        {
            "file": "/app/vendor/monolog/monolog/src/Monolog/Logger.php",
            "line": 317,
            "function": "handle",
            "class": "Monolog\\Handler\\PsrHandler",
            "type": "->"
        },

Katayoon (Cloud Platform Support)

unread,
May 6, 2021, 7:10:20 PM5/6/21
to Google App Engine
Hello,

There is a likelihood that your response is larger than 32MB. As explained in this public documentation, "dynamic responses are limited to 32MB. If a script handler generates a response larger than this limit, the server sends back an empty response with a 500 Internal Server Error status code."

If this is not the case, I recommend to report the issue via the Public Issue Tracker or report it via your Premium Support Package so that we would be able to dig into the issue.




Reply all
Reply to author
Forward
0 new messages