My site has 1000+ aliases, and bulk updating them causes the server to timeout. After receiving the timeout message after trying to bulk update, pathauto module settings page is unreachable (times out aswell)

Comments

mikeryan’s picture

Assigned: Unassigned » mikeryan
Category: bug » feature

Yes, bulk update is inherently slow and can easily exceed your PHP timeout value. To work around it, you can add

ini_set('max_execution_time', 1500);

to your settings.php file. I have it in mind to develop a mechanism to divide the job into chunks executed via a cron hook, but haven't started work on that yet.

As for the settings page getting stuck after a timed-out bulk update, if you can access your database directly execute

DELETE FROM variable WHERE name LIKE 'pathauto_%_bulkupdate'

to clear out the command (I committed a fix just a week or two ago that prevents this from happening).

greggles’s picture

Status: Active » Closed (duplicate)

Even though this issue is older, I'm marking this as a duplicate of http://drupal.org/node/67665 which user Aaron is working on.