[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2021-10-13 Thread Steve Langasek
The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: accountsservice (Ubuntu Precise)
   Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in accountsservice:
  Unknown
Status in accountsservice package in Ubuntu:
  In Progress
Status in accountsservice source package in Oneiric:
  Won't Fix
Status in accountsservice source package in Precise:
  Won't Fix

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2018-08-07 Thread Bug Watch Updater
** Changed in: accountsservice
   Status: Confirmed => Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in accountsservice:
  Unknown
Status in accountsservice package in Ubuntu:
  In Progress
Status in accountsservice source package in Oneiric:
  Won't Fix
Status in accountsservice source package in Precise:
  In Progress

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2014-12-03 Thread Rolf Leggewie
oneiric has seen the end of its life and is no longer receiving any
updates. Marking the oneiric task for this ticket as "Won't Fix".

** Changed in: accountsservice (Ubuntu Oneiric)
   Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in accountsservice package in Ubuntu:
  In Progress
Status in accountsservice source package in Oneiric:
  Won't Fix
Status in accountsservice source package in Precise:
  In Progress

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2014-03-27 Thread Ritesh Khadgaray
** Changed in: accountsservice (Ubuntu)
 Assignee: Ritesh Khadgaray (khadgaray) => (unassigned)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  In Progress
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  In Progress

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2014-03-24 Thread Ritesh Khadgaray
** Changed in: accountsservice (Ubuntu Precise)
 Assignee: Ritesh Khadgaray (khadgaray) => (unassigned)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  In Progress
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  In Progress

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2013-02-13 Thread Colin Watson
** Changed in: accountsservice (Ubuntu Precise)
Milestone: ubuntu-12.04.2 => ubuntu-12.04.3

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  In Progress
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  In Progress

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-10-04 Thread Adam Stokes
** Changed in: accountsservice (Ubuntu Precise)
 Assignee: (unassigned) => Ritesh Khadgaray (khadgaray)

** Changed in: accountsservice (Ubuntu)
 Assignee: (unassigned) => Ritesh Khadgaray (khadgaray)

** Changed in: accountsservice (Ubuntu)
   Status: Triaged => In Progress

** Changed in: accountsservice (Ubuntu Precise)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  In Progress
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  In Progress

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-08-28 Thread Adam Stokes
** Changed in: accountsservice (Ubuntu Precise)
Milestone: None => ubuntu-12.04.2

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  Triaged
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  Triaged

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-08-28 Thread Sebastien Bacher
** Changed in: accountsservice (Ubuntu Precise)
   Status: Fix Released => Triaged

** Changed in: accountsservice (Ubuntu Oneiric)
   Status: Fix Released => Triaged

** Changed in: accountsservice (Ubuntu)
   Status: Fix Released => Triaged

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  Triaged
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  Triaged

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-08-25 Thread marek keram
** Changed in: accountsservice (Ubuntu)
   Status: Triaged => Fix Released

** Changed in: accountsservice (Ubuntu Oneiric)
   Status: Triaged => Fix Released

** Changed in: accountsservice (Ubuntu Precise)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  Fix Released
Status in “accountsservice” source package in Oneiric:
  Fix Released
Status in “accountsservice” source package in Precise:
  Fix Released

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-08-01 Thread Ubuntu Foundation's Bug Bot
The attachment "a temporary hackish workaround/patch" of this bug report
has been identified as being a patch.  The ubuntu-reviewers team has
been subscribed to the bug report so that they can review the patch.  In
the event that this is in fact not a patch you can resolve this
situation by removing the tag 'patch' from the bug report and editing
the attachment so that it is not flagged as a patch.  Additionally, if
you are member of the ubuntu-reviewers team please also unsubscribe the
team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  Triaged
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  Triaged

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-08-01 Thread Ritesh Khadgaray
** Patch added: "a temporary hackish workaround/patch"
   
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/941673/+attachment/3244672/+files/a-s-limit-user.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  Triaged
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  Triaged

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-06-20 Thread Chris J Arges
** Also affects: accountsservice (Ubuntu Oneiric)
   Importance: Undecided
   Status: New

** Also affects: accountsservice (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: accountsservice (Ubuntu Oneiric)
   Status: New => Triaged

** Changed in: accountsservice (Ubuntu Precise)
   Status: New => Triaged

** Changed in: accountsservice (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: accountsservice (Ubuntu Oneiric)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  Triaged
Status in “accountsservice” source package in Oneiric:
  Triaged
Status in “accountsservice” source package in Precise:
  Triaged

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-04-02 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=48177.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2012-04-02T09:29:06+00:00 Vadim Rutkovsky wrote:

Original report: https://bugs.launchpad.net/bugs/941673

The performance of accounts-daemon is unacceptable with large password
and/or group files. We have appoximately 4 users in the passwords
file and 16000 lines in the group file. Having looked at the source, it
appears to me the problem is that for each user is pulls from the
password database (via getpwXXX)  its then calls getgrouplist to return
the users list of groups.

Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
reading the groups file 4 times.

I think a better solution is to build a inverted group file map then first time 
getgroups is called by reading the entire group database and building a data 
structure indexed by username where a users group list can by found in a single 
lookup.
Of couse, an even better solution would be for getgroups to do that itself, but 
that would require much larger code changes.

I tried installed nscd to see if this would make a difference but no
dice.

Reply at:
https://bugs.launchpad.net/accountsservice/+bug/941673/comments/4


** Changed in: accountsservice
   Status: Unknown => Confirmed

** Changed in: accountsservice
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Confirmed
Status in “accountsservice” package in Ubuntu:
  Triaged

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-04-02 Thread Vadim Rutkovsky
Thank you for your bug report. This bug has been reported to the
developers of the software. You can track it and make comments at
https://bugs.freedesktop.org/show_bug.cgi?id=48177

** Bug watch added: freedesktop.org Bugzilla #48177
   https://bugs.freedesktop.org/show_bug.cgi?id=48177

** Changed in: accountsservice (Ubuntu)
   Status: Confirmed => Triaged

** Also affects: accountsservice via
   https://bugs.freedesktop.org/show_bug.cgi?id=48177
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in D-Bus interfaces for querying and manipulating user account 
information:
  Unknown
Status in “accountsservice” package in Ubuntu:
  Triaged

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-03-30 Thread Sebastien Bacher
Thank you for your bug report, that seems like the sort of issues that
should be discussed upstream, somebody should report a bug on
https://bugs.freedesktop.org/enter_bug.cgi?product=accountsservice

While the issue is an important one it's limited to some big deployments
and those can probably uninstall accountsservices (lightdm will fallback
if it's not sure), ideally we would work on the issue but we have
limited resources and it's not on the priority list

** Changed in: accountsservice (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in “accountsservice” package in Ubuntu:
  Confirmed

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 941673] Re: performance of accounts-daemon is very poor

2012-03-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: accountsservice (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/941673

Title:
  performance of accounts-daemon is very poor

Status in “accountsservice” package in Ubuntu:
  Confirmed

Bug description:
  Version 11.10

  
  The performance of accounts-daemon is unacceptable with large password and/or 
group files. We have appoximately 4 users in the passwords file and 16000 
lines in the group file. Having looked at the source, it appears to me the 
problem is that for each user is pulls from the password database (via 
getpwXXX)  its then calls getgroups to return the users list of groups.

  Getgroups must make a complete pass through the group file to determine the 
groups for the user. When initializing this results in
  reading the groups file 4 times.

  I think a better solution is to build a inverted group file map then first 
time getgroups is called by reading the entire group database and building a 
data structure indexed by username where a users group list can by found in a 
single lookup.
  Of couse, an even better solution would be for getgroups to do that itself, 
but that would require much larger code changes.

  I tried installed nscd to see if this would make a difference but no
  dice.

  At the moment, 11.10 is unusable for us because of this problem.

  Hope this is all the info you need.

  Regards, pdg

  p...@uow.edu.au

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/941673/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp