[imp] very slow printing
Michael M Slusarz
slusarz at horde.org
Wed Sep 11 19:08:06 UTC 2013
Quoting Jan Schneider <jan at horde.org>:
> Zitat von Bernd Wolf <bernd.wolf at csw-wolf.de>:
>
>> Hello,
>>
>> if I use the print-icon of mails, the process waits 10-40s before
>> getting the choose-printer dialog.
>>
>>
>> I'm using Horde Groupware Webmail Edition 5.1.2 on CentOS 6.2,
>> installed at a local server, accessing Cyrus-Imap.
>> Everything looks ok, no known problems.
>>
>> Other clients (Thunderbird) doesn't show any performance problems.
>>
>> If horde-server accesses local cyrus-imap, it's about 10-20s
>> waiting - without any load, only a testsystem, 1 user.
>>
>> Tried with MS-Windows IE, but mostly using Firefox from linux desktop.
>>
>> What's to be seen:
>> - download of email using the icon works very well
>> - print of email using the print-icon: long waiting
>> - checked network/server-load: server's cpu-load goes to 100%
>> during wait, network traffic is at the beginning
>> and at the end very shortly
>> - print from browser's STRG+P works very well, but not very nicely formatted
>> - mail server load: no visible time to wait, no problems in logs or
>> with performance
>>
>>
>> Any idea about this?
>>
>> --
>> Bernd
>
> A quick check at an xdebug profiling shows that all this extra time
> is spent inside the Sabberworm CSS parser.
FWIW, a complex HTML message pops up in about a second for me in print
view. So I'm not seeing anything out of the ordinary (certainly not
10-20 seconds of parsing).
Which wouldn't make too much sense with the CSS parser, since nobody
is reporting 40 seconds to compress CSS.
And memory usage is not out-of-line either:
2013-09-11T13:02:38-06:00 DEBUG: HORDE [imp] Max memory usage: 7077888
bytes [pid 17869 on line 566 of
"/disk2/src/horde/framework/Core/lib/Horde/Registry.php"]
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list