Hello Dan and Jim,
Thanks very much indeed for the follow up.
Re our specs : we currently have 2CPU and 8GB RAM (PHP has been allocated 4GB). We are running mysql 8.0.23. Please let me know if you need other info.
I checked our mysql settings and this is what we have:
sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
optimizer_switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on,index_condition_pushdown=on,mrr=on,mrr_cost_based=on,block_nested_loop=off,batched_key_access=off,materialization=on,semijoin=on,loosescan=on,firstmatch=on,duplicateweedout=on,subquery_materialization_cost_based=on,use_index_extensions=on,condition_fanout_filter=on,derived_merge=on,use_invisible_indexes=off,skip_scan=on,hash_join=on,subquery_to_derived=off,prefer_ordering_index=on,hypergraph_optimizer=off,derived_condition_pushdown=on
So we have block_nested_loop=off in our set up.
I suspect that for mysql_mode NO_ZERO_IN_DATE and NO_ZERO_DATE settings are causing problems because I am seeing date related errors in the logs. We will change sql_mode to the two suggested settings. Would either ONLY_FULL_GROUP or STRICT_TRANS_TABLES be causing problems also?
Should any of the settings for optimizer_switch be adjusted?
We only have one atom-worker set up, so the second job was indeed just stuck waiting in the queue.
Thanks again for your assistance.