6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12837] Imap_Client: Leaking IMAP socket on error
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ . ..__ . . [__][__)|_/ [__)| | | || | \[__)|/\|
Comment
> I've just quickly hacked together the test script to check if it > really allocates a socket to the IMAP server when an exception is > thrown. listMailboxes() was added to do something on the socket. > (I had to "reverse diagnose" the issue since I just saw the server > ran out of sockets.) > > It seems to me the PHP gc does not clean up the $imap object when > it's still inside the loop. > > I'm not sure how I can see what part of horde actually caused the > problem on a productive box, ActiveSync was not in use and still > something got stuck in an endless loop. We have an unlimited > maximum_execution_time and I now changed it to 43200 seconds. That > should be way enough. > > I'll check the Kolab code if it properly reuses the Imap_Client > object, that's a good hint. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers