Hi,

I've a production site with over 2500 roles, due to AD integration.

When I visit the access control page for my content types I get a white screen.

I'm guessing its flipping out due to too many roles.

Is there anything I can do.

Normally I'd install the latest version, but as I said it's a prod site - so I'd rather not!

Thanks

Sam

Comments

sam.foster’s picture

Category: bug » support

Whilst I'm here - I wonder if anyone knows if there is a MAXIMUM number of user/roles in Drupal?

Thanks in advance

Sam

klonos’s picture

I am not sure about the users/roles limit Sam, but there certainly is a max memory limit that might be causing your WSOD. Did you try increasing the max memory allocated/available to php? Please check:

Increase PHP memory limit (4 methods) or Increase PHP memory limit

Another point you might consider is increasing the max execution time of php.

Please try these and remember to report back.

salvis’s picture

Can you open the user pages or the permissions grid with 2500 roles? Maybe you can, but they'd be so huge that you can't really work with them anyway. There's no defined limit to the number of roles, but there's also no paging (or auto-completion field) or other mechanism that would allow to deal with such large numbers of roles, not in core, not in CA, and probably not in any other node access module.

Typically, you reach the limit of usability before you reach the limit of computability. Even if you were able to open the access control page it's doubtful that you'd be able to save it. Or that you'd be able to complete a node query on nodes where 2000 roles have access.

How did you get into this situation on a production site? Has this site ever worked for you? With how many roles did it work?

gisle’s picture

Issue summary: View changes
Status: Active » Closed (outdated)