Too many index.php files running and eating up all memory

When dealing with any server configurations you want to setup some sort of safety to avoid this kind of processes running infinitely.

PHP already provides you some tools to do it, and it’s pretty easy.
exit_on_timeout
max_execution_time

You will need to find a safe spot for what you are running inside of your WordPress installation.


If you want more detailed information you might want to do this same question on ServerFault