After some time I always get an internal server error 500 when reloading the page a second time.
- Clearing the cache fixes to problem for about 10 hours
- Switching the browser lets me again load the page, gives me the error on second reload
Caching is not enabled for the search action.
Only one module is affected, other modules work during the time the site is down.
Any ideas where to look? The symfony error logs are not really helpful the request does not even reach symfony.
This could be related to route caching. Try disabling your route cache in factories.yml and see if this helps.
For Example:
routing: class: sfPatternRouting param: load_configuration: true suffix: '' default_module: default default_action: index debug: %SF_DEBUG% logging: %SF_LOGGING_ENABLED% generate_shortest_url: true extra_parameters_as_query_string: true cache: ~