Re: Group Limits

[ Available lists | Index of freebsd-questions | Month of Jul 2008 | Week of 31 Jul 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Norberto Meijome <freebsd@meijome.net>
Date
31 Jul 2008 13:39:42
Subject
Re: Group Limits
Message-ID
20080731233937.66d710af@ayiin

In reply to
References to

[ Hide this part ]
On Thu, 31 Jul 2008 07:32:23 +1000
Michael Christie <michael@powerzone.net.au> wrote:

> I am running webmin and virtualmin on freebsd 7.0, I have found when
> i add a number of domains using virtualmin and restart apachie i get the
> following error.
>
> [alert] (22)Invalid argument: initgroups: unable to set groups for User
> www and Group 80... Apachie will not start..
>
>
> it happens when the 'apache' or 'httpd' user is a member of too many groups. By default,
> Virtualmin adds the user Apache runs as to each domain's group, which
> eventually triggers this problem.

so is the dummy spit by apache itself, or a syscall made by apache ?

u can use ktrace on apache when starting/dying and see what is causing the actual problem.

IF the issue really is central to /etc/groups , would moving to a bigger user management system (LDAP, NIS ? ) be possible? ( possibly implies changes to virtualmin too..)

B

_________________________
{Beto|Norberto|Numard} Meijome

Real Programmers don't comment their code. If it was hard to write, it should be hard to understand and even harder to modify.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.


Elapsed time: 0.096 seconds