On Fri, 2010-04-23 at 13:57 -0600, Jorge Valdes wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hanspeter Kunz wrote: > > Hi, > > > > I have the following trouble: > > If I delete (move to trash) several messages one after the other, > > roundcube get slow after deleting a few messages (around 5). Slow means, > > that it takes around a minute to delete a single message. > > > > In the logs I see, that for every delete operation, roundcube issues a > > new connection/login to the imap server. I suspect that after a few such > > operations, to "pool" of available connections to the imap server is > > exhausted, which causes the delay. > > This is supported by the observation that the delete operation seems to > > complete as soon as an "old" connection is closed, which seems to happen > > after 60 s (keep_alive time). > > > > I wonder if I configured something wrong, because to my opinion it would > > be more efficient if roundcube just uses the established-connection > > instead of opening a new one for every (delete) operation. > > > > I just realized, that for every operation (i.e. view a message) > > roundcube issues a new login/connection to the imap server. Is this > > really intended? > > > > Any hints welcome. > > > > cheers, > > Hp > I use IMAPPROXY (http://www.imapproxy.org/) to speedup my webmail setup. > This proxy does this by closing the connection to the server only after > a predetermined time, thus for each action that's preformed, a new > connection is not necessary, it just reuses an already existing one.
Thanks, that would be a solution. But isn't this a workaround? Is roundcube supposed to open a new connection for every single operation? I wonder why there is a keep_alive setting if this is really the case. cheers, Hp _______________________________________________ List info: http://lists.roundcube.net/users/
