[dev] How to keep IMP from blocking other apps

Ralf Lang lang at b1-systems.de
Wed Jan 9 15:10:06 UTC 2019


Hi, can you please post an anonymized imp config? (backends.local.php,
conf.php)

imp should not try to authenticate just because of a pushApp() during
init of unrelated pages

portal might be trickier as some portal blocks depend on imp



Am 09.01.19 um 16:04 schrieb Sebastian Birnbach:
> In my Horde installation, authentication is done against Horde's prefs
> container, i.e. an SQL server. IMP is configured to create its mail server
> session on passed-through user login credentials
> (imp/config/backends.ocal.php: 'hordeauth' => true).
>
> The mail server is a local dovecot installation. It checks the passed user
> credentials against the same SQL server (SQL table 'horde_users'; password
> scheme: SHA-512 for both Horde and dovecot).
>
> Please note that the mail server is NOT used for Horde authentication.
>
> Idea of the configuration was to make sure a Horde session can always be
> created (except if the SQL server dies, in which case Horde won't run
> anyways) and users can conveniently be administered through the Horde
> console.
>
> This all worked out and functions as intended. But.
>
>
>
> If the mail server dies or, as I recently experienced , takes ~30 seconds
> for a response (my misconfiguration), a page request to *any* Horde app
> will not be served until IMP has spoken to the mail server. This can be
> observed even with most unrelated pages like the user prefs.
>
> That is, once the mail server dies or responds slowly, the rest of Horde is
> quite unusable.
>
>
>
> I opened RFE #14885, asking for adding an IMP timeout, only to be told that
> my problem was a configuration issue.
>
> So, can anybody think of a configuration that keeps IMP from blocking other
> apps? I imagine a system configuration where mail is not the only
> application of importance should be quite common.
>
> Kind regards
>
>   Seb.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 1757 bytes
Desc: not available
URL: <https://lists.horde.org/archives/dev/attachments/20190109/b3ebec5c/attachment.bin>


More information about the dev mailing list