[Tickets #12615] Horde_Date: Limit recurrence interval to sane values

noreply at bugs.horde.org noreply at bugs.horde.org
Sun Aug 25 12:30:04 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12615
------------------------------------------------------------------------------
  Ticket             | 12615
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Horde_Date: Limit recurrence interval to sane values
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-08-25 12:30) wrote:

Hi,

during productive testing I found one calendar kronolith was unable to load,
CPU and RAM usage grew quickly.

I've isolated the "offending" event and noticed a daily recurrence
with an insane recurrence interval was the root cause.

I'll attach a patch to limit the recurrence interval to sane values.
Without the patch I can easily generate recurrences
that consume 150mb memory and run for ages.

Note: Setting recurEnd() or recurCount() does not help,
therefore we have to limit the interval even if an recurEnd date is given.

Thomas






More information about the bugs mailing list