I have a Magento e-commerce with 60.000+ products. Every night some crons are executed for the synchronization of the catalog with the management tool.
During the night I found two types of errors about cron execution:
1. PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away'
2. PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 202312905 bytes)
Searching information about these errors I found that maybe are linked with PHP configuration of the variables memory_limit and max_execution_time.
Can you help to find the cause of these errors?
If the cause is the PHP configuration, can you give me an advice about a possible configuration for a Magento e-commerce of 60.000+ products?(max_execution_time, max_input_time, memory_limit, wait_timeout, connect_timeout).
Thanks in advance