We have moved to Github. Please open tickets there.

Opened 3 years ago

Last modified 4 months ago

#2009 new Enhancement

Run garbage collection on users_sessions table

Reported by: brettp Owned by:
Priority: high Milestone: Elgg 1.8.14
Component: Core Version: 1.7
Severity: major Keywords:
Cc: brettp, gordian.klein@… Difficulty:

Description

Add hooks to clean out the users_sessions table on garbage collection on servers that don't support PHP's automatic session garbage collection.

Change History (7)

comment:1 Changed 3 years ago by gordian

  • Cc gordian.klein@… added

comment:2 Changed 3 years ago by brettp

  • Summary changed from users_sessions to Run garbage collection on users_sessions table

comment:3 Changed 3 years ago by brettp

  • Priority changed from normal to high
  • Severity changed from minor to major

comment:4 Changed 3 years ago by cash

We need to be really careful how this is turned on. If a site has been running for more than a few weeks, there will be a huge number of sessions and starting a garbage collect on the table will cause something really horrible to occur on the server - I speak from experience!

Best way is to empty the table before this is turned on for the first time.

comment:5 Changed 3 years ago by cash

  • Milestone changed from Elgg 1.8 to Elgg 1.8.1

comment:6 Changed 5 months ago by brettp

  • Milestone changed from Elgg 1.8.x to Elgg 1.8.13

comment:7 Changed 4 months ago by cash

  • Milestone changed from Elgg 1.8.13 to Elgg 1.8.14
Note: See TracTickets for help on using tickets.