Skip to content

Cache of Doctrine SQL Statement leads to 503 error in Apache #44270

Answered by thomas2411
Art4 asked this question in Q&A
Discussion options

You must be logged in to vote

After digging deeper I found that as before, the problem is with cache.system I do not have APCu on server so with this information: https://symfony.com/blog/new-in-symfony-3-1-cache-component#symfony-integration we know that cache.system uses APCu by default, if not found fallback to filesystem.

So with this setting:

framework:
    cache:
        app: cache.adapter.redis
        pools:
            doctrine.result_cache_pool:
                adapter: cache.app
            doctrine.system_cache_pool:
                adapter: cache.system

I have 503 error. If I change cache.system to cache.adapter.redis it works. And what is weird if I change cache.system to cache.adapter.filesystem it wor…

Replies: 12 comments 17 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Art4
Comment options

@DigitalTimK
Comment options

@Art4
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Art4
Comment options

@thomas2411
Comment options

@thomas2411
Comment options

Comment options

You must be logged in to vote
1 reply
@Art4
Comment options

Answer selected by Art4
Comment options

You must be logged in to vote
5 replies
@stof
Comment options

stof Sep 13, 2022
Collaborator

@creiner
Comment options

@kevinpapst
Comment options

@justpilot
Comment options

@obspsr
Comment options

Comment options

You must be logged in to vote
1 reply
@justpilot
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@justpilot
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@kevinpapst
Comment options

@justpilot
Comment options

@justpilot
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet