If you had issues running pathauto because of a timeout on your server, which is very likely because it takes long to process all the nodes, you just need to add one line to the very beginning to the pathauto.module:

<?php
ini_set("max_execution_time", 120);
...

This will extend the time for executing a php file to 120 seconds, which hopefully will be enough.