Ticket #675 (new defect)

Opened 14 years ago

Last modified 14 years ago

creation of home folders: race condition during login phase

Reported by: jmorliaguet Owned by: trac
Priority: P1 Milestone: CPS 3.5.7
Component: CPSDefault Version: CPS 3.3 branch
Severity: normal Keywords: scalability


We have a site that has a lots of documents (wrongly set up with DirectoryStorage? + ext3 ...). It is going to be migrated to DS + reiserfs.

However, the creation of a new folders can take between 10 to 15 seconds...

It means that when a user logs in for the first time, the home folder has not necessarily been created when the logged_in.pt page is reached. And the user immediately gets logged out.

the current implementations assumes that the creation a new folder takes less than the time needed to fulfill the login request, which probably is true for most sites, though..

Change History

comment:1 Changed 14 years ago by fguillaume

10 seconds to create an object is a big performance problem! Why does folder creation take so long? Have you profiled ? DeadlockDebugger? could give simple ideas, or ZopeProfiler? could tell for sure.

comment:2 Changed 14 years ago by fguillaume

  • Milestone changed from unspecified to CPS 3.5.0
Note: See TracTickets for help on using tickets.