I have a little Drupal system with about 150000 nodes with some revisions each, increasingly.

I always have to patch modules/node/node.module,
because there is a HARDCODED
@set_time_limit(240);
(some more modules hardcode it: includes/locale.inc and includes/common.inc )

I ran against this limit and it leaves the system in an UNUSABLE status
He is always requesting the user for an: "The content access permissions need to be rebuilt."

Please fix it with
if ((int)ini_get('max_execution_time') < 240) {

(for drupal 7 there is an another issue #174617: Environment::setTimeLimit() ignores current value, can reduce timeout value )

CommentFileSizeAuthor
#1 node_settimelimit_1098382-D6.patch602 bytesneffets

Comments

neffets’s picture

Issue tags: +set_time_limit
StatusFileSize
new602 bytes

Patch attached

neffets’s picture

Statistic:
nodes: 183242
modules: "content_access", "module_grants", "revisioning", "authcache", ...
node_access_rebuild: needs more than 6 hours

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.