[rt-users] Abnormal number of groups

Thomas Sibley trs at bestpractical.com
Tue Feb 7 10:24:29 EST 2012


On 02/07/2012 10:17 AM, Haim Dimer wrote:
> Hello,
> 
> Check this out:
> 
> mysql> SELECT COUNT(id) FROM Groups;
> +-----------+
> | count(id) |
> +-----------+
> |      4674 |
> +-----------+
> 
> I don't think this is normal behavior since, as the administrator, I
> have not created this many groups (at least not intentionally). I may
> have an idea as to where they come from, look at this:

The Groups table also contains many internal groups RT uses for access
control.  Don't worry about it.

> We currently have about 1,100 tickets in the database. Every time a
> ticket is created, a scrip runs using a template that contains the
> following code:

Your scrip isn't causing this.  _Don't_ delete groups, however.

> It seems that my $addGroupObj = RT::Group->new($RT::SystemUser) creates
> a real group in the database. Can someone confirm?

No, this just creates an RT::Group object.

Thomas



More information about the rt-users mailing list