@rodluz said in 503 Error and stuck at "attempting to update database":
So I changed the pm.max_children setting to 150
Good catch on the max_children setting. If you would have had a current version of FOG that setting would be 35. I think 150 is a bit excessive since each child consumes ram. I think 50 might be a better choice to start with. Most people don’t start 20 simultaneous unicast streams so I can say we’ve not run into this issue before with the standard 35 max children. 5 IS a bit low.
So to recap you had 2 issues, one was the memory limit and the other was the max children setting.
Once you get past your image push crunch, you might consider upgrading to the latest version of FOG.