monkeysphere-authentication update-users could choke when the number of existing users is huge
currently, if you invoke @monkeysphere-authentication update-users@ with no other arguments, it tries to deal with every user on the system.
It does this by slurping in all the user names from the shell, and then doing a @for@ loop over them.
For systems with a very large number of users, this might not scale properly.
Here's one proposal to handle it that might scale better:
- we could create a pipeline: generate the list of users, one per line, on stdout. feed that list to a series of subprocesses that handle them one at a time.
At the very least, we should probably try to make sure that we know (and can detect) such a failure scenario.
(from redmine: created on 2009-04-07)