pool www exited on signal 15 (SIGTERM): execution timed out
Solution 1:
Well, I'm going to answer my own question. The problem apparently had something to do with the request_terminate_timeout = 30s
value that I was using, possibly combined with the ondemand
FPM process manager. The double post always coincided with a PHP-FPM timeout error combined with a killing of a child process immediately after. So I disabled the request_terminate_timeout
, and it appears to be redundant anyway since the php.ini file already specifies a 30 second timeout. I also realized that I don't really need the ondemand
process manager because I'm the only user on this box with fairly stable load, so I switched to static
and set the pm.max_requests
fairly low to 100. This prevents memory leaks.
One or both of these changes has effectively eliminated the duplicates posts.