Summary | Listing a large number of shares takes a long time |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Duplicate |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | frank.richter (at) hrz (dot) tu-chemnitz (dot) de |
Created | 11/02/2005 (7266 days ago) |
Due | |
Updated | 05/18/2006 (7069 days ago) |
Assigned | 11/09/2005 (7259 days ago) |
Resolved | 05/18/2006 (7069 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Duplicate
bug 3126. Any objections?Queue ⇒ Horde Framework Packages
State ⇒
Version ⇒ HEAD
disagreement?
State ⇒ Assigned
New Attachment: log.txt
$this->_calendars = $shares->listAllShares();
is called, it takes between 25 and 40 minutes to complete.
I've run the reminder script with debug_level E_ALL.
It produced a 5.5 MB log file (8683 lines of SQL queries). Are you
interested in it?
delete from horde_datatree where group_uid='horde.history' and
datatree_name like "imp.%"
(18954 entries)?
State ⇒ Not A Bug
delete all history entries for IMP, or wait for the new History
library from Horde 3.1.
| 30085 |
entries with a group_uid of 'horde.history'?
1. It runs about 20 seconds:
10:30:05 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php: 59
10:30:05 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php: 77
10:30:05 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php:
85 before Kronolith::listAlarms
10:30:24 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php:
87 after Kronolith::listAlarms
10:30:24 /var/www/html/horde/kronolith/scripts/reminders.php: 62
2. It goes through listAllShares(), and this takes quite long!
09:55:21 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php: 59
09:55:21 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php:
68 before listAllShares
10:27:36 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php:
71 after listAllShares
10:27:36 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php: 77
10:27:36 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php:
85 before Kronolith::listAlarms
10:28:34 /var/www/html/horde/kronolith/lib/Scheduler/kronolith.php:
87 after Kronolith::listAlarms
I have two "public" calendars, readable by anyone (but no alarms in it).
Hope that helps to help,
Frank
State ⇒ Feedback
code of lib/Scheduler/kronolith.php to see where it takes so long.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Kronolith
Summary ⇒ reminders.php runs very long
Type ⇒ Bug
I've set up reminder functionality according to
http://wiki.horde.org/KronolithReminders
Every 15 minutes cron starts as user root
/usr/bin/php -q /var/www/html/horde/kronolith/scripts/reminders.php
The script runs VERY long, over 40 minutes (on our busy production machine).
Currently I don't use this script.
I assume there must be something wrong. Can I debug this script?
We have 11749 registered users (horde_prefs), but 130 users with 1238 events
in kronolith_events table only.
Thanks,
Frank