[xwiki-users] pages take 30 seconds to load
Hi, After installing the Xwiki in a SUN App-Server (Glassfish) using a MySQL database it tooks between 25 and 45 seconds to load a single page. I installed from the war using a complete empty database. Why it takes so long to open pages. Server is in the LAN and a high permormance server. It is actually not really busy... Other webapplications are working fine - as far as I can see. Are there any parameters, that can influence this? Thanks for ideas. Jan -- ------------------------------------------------------------------------ Jan Kurella *SATIS INFORMATION GmbH* Consultant * Köpenicker Straße 73 10179 Berlin * Tel: +49(30)430 77 66-2 Mobil: +49(174)770 3667 Fax: +49(30)430 77 66-3 E-Mail: [email protected] <mailto:[email protected]> ------------------------------------------------------------------------ *Firma:* SATIS INFORMATION GmbH *Sitz der Gesellschaft: *Petershagen/Eggersdorf *Geschäftsführer und Gesellschafter:* Heiko Scherpinski *Handelsregister : *Amtsgericht Frankfurt (Oder)- HRB 9989 ------------------------------------------------------------------------ Diese E-Mail und alle Anhänge können vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich an Sie gesendet wurde, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren, Speichern und Nutzen der Inhalte sowie die unbefugte Weitergaben dieser E-Mail ist nicht gestattet. This e-mail and any attachment is for authorized use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
On Jan 4, 2008, at 10:22 AM, Jan Kurella wrote:
Hi,
After installing the Xwiki in a SUN App-Server (Glassfish) using a MySQL database it tooks between 25 and 45 seconds to load a single page.
This would happen on the first page you load since this is when XWiki does several initializations. However it shouldn't happen thereafter. I have no idea what could take so long but you could run Firebug in Firefox to see what takes long. If you don't find any information with this you could also enable monitoring inside xwiki (see http://tinyurl.com/23fdws) . Thanks -Vincent
I installed from the war using a complete empty database.
Why it takes so long to open pages. Server is in the LAN and a high permormance server. It is actually not really busy... Other webapplications are working fine - as far as I can see. Are there any parameters, that can influence this?
Thanks for ideas.
Jan
Vincent Massol schrieb:
On Jan 4, 2008, at 10:22 AM, Jan Kurella wrote:
Hi,
After installing the Xwiki in a SUN App-Server (Glassfish) using a MySQL database it tooks between 25 and 45 seconds to load a single page.
This would happen on the first page you load since this is when XWiki does several initializations. However it shouldn't happen thereafter.
I have no idea what could take so long but you could run Firebug in Firefox to see what takes long. If you don't find any information with this you could also enable monitoring inside xwiki (see http://tinyurl.com/23fdws) .
Thanks -Vincent
Thanks for the hint. It showed up, that the loading of some css took up to 30 seconds. Don't know, what lead to it, but disabling some addons in firefox, that may have influence on css seems to solve the problem a bit. Now it takes between 1 and 2 seconds, what is fairly good enough. Thanks for that Firebug ;) *brumm* Jan -- ------------------------------------------------------------------------ Jan Kurella *SATIS INFORMATION GmbH* Consultant * Köpenicker Straße 73 10179 Berlin * Tel: +49(30)430 77 66-2 Mobil: +49(174)770 3667 Fax: +49(30)430 77 66-3 E-Mail: [email protected] <mailto:[email protected]> ------------------------------------------------------------------------ *Firma:* SATIS INFORMATION GmbH *Sitz der Gesellschaft: *Petershagen/Eggersdorf *Geschäftsführer und Gesellschafter:* Heiko Scherpinski *Handelsregister : *Amtsgericht Frankfurt (Oder)- HRB 9989 ------------------------------------------------------------------------ Diese E-Mail und alle Anhänge können vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich an Sie gesendet wurde, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren, Speichern und Nutzen der Inhalte sowie die unbefugte Weitergaben dieser E-Mail ist nicht gestattet. This e-mail and any attachment is for authorized use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Jan Kurella wrote:
Vincent Massol schrieb:
On Jan 4, 2008, at 10:22 AM, Jan Kurella wrote:
Hi,
After installing the Xwiki in a SUN App-Server (Glassfish) using a MySQL database it tooks between 25 and 45 seconds to load a single page.
This would happen on the first page you load since this is when XWiki does several initializations. However it shouldn't happen thereafter.
I have no idea what could take so long but you could run Firebug in Firefox to see what takes long. If you don't find any information with this you could also enable monitoring inside xwiki (see http://tinyurl.com/23fdws) .
Thanks -Vincent
Thanks for the hint. It showed up, that the loading of some css took up to 30 seconds. Don't know, what lead to it, but disabling some addons in firefox, that may have influence on css seems to solve the problem a bit. Now it takes between 1 and 2 seconds, what is fairly good enough. Thanks for that Firebug ;)
*brumm* Jan
Hi, Can you tell us what extension(s) caused this? Also, see http://www.nabble.com/URLs-to1947349.html#a9550826 and the replies to that mail for another possible cause. Sergiu
Sergiu Dumitriu schrieb:
Jan Kurella wrote:
Vincent Massol schrieb:
On Jan 4, 2008, at 10:22 AM, Jan Kurella wrote:
Hi,
After installing the Xwiki in a SUN App-Server (Glassfish) using a MySQL database it tooks between 25 and 45 seconds to load a single page.
This would happen on the first page you load since this is when XWiki does several initializations. However it shouldn't happen thereafter.
I have no idea what could take so long but you could run Firebug in Firefox to see what takes long. If you don't find any information with this you could also enable monitoring inside xwiki (see http://tinyurl.com/23fdws) .
Thanks -Vincent
Thanks for the hint. It showed up, that the loading of some css took up to 30 seconds. Don't know, what lead to it, but disabling some addons in firefox, that may have influence on css seems to solve the problem a bit. Now it takes between 1 and 2 seconds, what is fairly good enough. Thanks for that Firebug ;)
*brumm* Jan Hi,
Can you tell us what extension(s) caused this?
Also, see http://www.nabble.com/URLs-to1947349.html#a9550826 and the replies to that mail for another possible cause.
Sergiu I encountered the encoding problem by maself (trying to type german...) and solved it. But still there are problems with activated addons. I now will test them one by one ;) And tell as soon as possible . The 30 seconds indicate a wrong header here too. Strange
Jan PS: sorry for the big footer - I'm forced by company-policies... -- ------------------------------------------------------------------------ Jan Kurella *SATIS INFORMATION GmbH* Consultant * Köpenicker Straße 73 10179 Berlin * Tel: +49(30)430 77 66-2 Mobil: +49(174)770 3667 Fax: +49(30)430 77 66-3 E-Mail: [email protected] <mailto:[email protected]> ------------------------------------------------------------------------ *Firma:* SATIS INFORMATION GmbH *Sitz der Gesellschaft: *Petershagen/Eggersdorf *Geschäftsführer und Gesellschafter:* Heiko Scherpinski *Handelsregister : *Amtsgericht Frankfurt (Oder)- HRB 9989 ------------------------------------------------------------------------ Diese E-Mail und alle Anhänge können vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich an Sie gesendet wurde, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren, Speichern und Nutzen der Inhalte sowie die unbefugte Weitergaben dieser E-Mail ist nicht gestattet. This e-mail and any attachment is for authorized use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Short Summary: Problem: Browser took over 30 seconds to load almost every page. Sometimes only few pages took that time - not possible to find any pattern. Precisely: loading of some css-files took 30 seconds to load Solution: Browser Firefox with Plugin Fasterfox. All Settings above "Moderat" that means, "optimized" and "Turbo" caused that problem. Going Deeper in the settings it means, that the Option Pipelining>Activate Pipelining caused the problem. Can't see why pipelining slowing down the J2EE-Server to timeout - but who knows? Deactivating pipelining, solved the problem finally. Hope that helps you finding the problem. Pipelining should not lead to 30s load of 14kB css-files. Jan -- ------------------------------------------------------------------------ Jan Kurella *SATIS INFORMATION GmbH* Consultant * Köpenicker Straße 73 10179 Berlin * Tel: +49(30)430 77 66-2 Mobil: +49(174)770 3667 Fax: +49(30)430 77 66-3 E-Mail: [email protected] <mailto:[email protected]> ------------------------------------------------------------------------ *Firma:* SATIS INFORMATION GmbH *Sitz der Gesellschaft: *Petershagen/Eggersdorf *Geschäftsführer und Gesellschafter:* Heiko Scherpinski *Handelsregister : *Amtsgericht Frankfurt (Oder)- HRB 9989 ------------------------------------------------------------------------ Diese E-Mail und alle Anhänge können vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich an Sie gesendet wurde, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren, Speichern und Nutzen der Inhalte sowie die unbefugte Weitergaben dieser E-Mail ist nicht gestattet. This e-mail and any attachment is for authorized use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Jan Kurella wrote:
Short Summary:
Problem: Browser took over 30 seconds to load almost every page. Sometimes only few pages took that time - not possible to find any pattern. Precisely: loading of some css-files took 30 seconds to load
Solution: Browser Firefox with Plugin Fasterfox. All Settings above "Moderat" that means, "optimized" and "Turbo" caused that problem.
Going Deeper in the settings it means, that the Option Pipelining>Activate Pipelining caused the problem. Can't see why pipelining slowing down the J2EE-Server to timeout - but who knows?
Deactivating pipelining, solved the problem finally. Hope that helps you finding the problem. Pipelining should not lead to 30s load of 14kB css-files.
Jan
Thanks, at least now we know that XWiki (or tomcat?) doesn't work well with pipelining. And this touches another problem, CSS files should have a cache policy so that they aren't transfered for each request. Sergiu.
Sergiu Dumitriu schrieb:
Jan Kurella wrote:
Short Summary:
Problem: Browser took over 30 seconds to load almost every page. Sometimes only few pages took that time - not possible to find any pattern. Precisely: loading of some css-files took 30 seconds to load
Solution: Browser Firefox with Plugin Fasterfox. All Settings above "Moderat" that means, "optimized" and "Turbo" caused that problem.
Going Deeper in the settings it means, that the Option Pipelining>Activate Pipelining caused the problem. Can't see why pipelining slowing down the J2EE-Server to timeout - but who knows?
Deactivating pipelining, solved the problem finally. Hope that helps you finding the problem. Pipelining should not lead to 30s load of 14kB css-files.
Jan
Thanks, at least now we know that XWiki (or tomcat?) doesn't work well with pipelining.
And this touches another problem, CSS files should have a cache policy so that they aren't transfered for each request.
Sergiu. It was not Tomcat, it was SunAppServer (Glassfish). I already encountered the problem, that files that are not loaded directly but via Servlets aren't cached properly or at least cached as expected but reloaded more often than necessary. So one solution that I suggest is not to load through
ip.adresse/xwiki/bin/skin/skins/albatross/fullscreenEdit.css but instead directly with ip.adresse/xwiki/skins/albatross/fullscreenEdit.css That could help browser to enhance their caching possibilities and will be extremly faster (factor 10) per file. -- ------------------------------------------------------------------------ Jan Kurella *SATIS INFORMATION GmbH* Consultant * Köpenicker Straße 73 10179 Berlin * Tel: +49(30)430 77 66-2 Mobil: +49(174)770 3667 Fax: +49(30)430 77 66-3 E-Mail: [email protected] <mailto:[email protected]> ------------------------------------------------------------------------ *Firma:* SATIS INFORMATION GmbH *Sitz der Gesellschaft: *Petershagen/Eggersdorf *Geschäftsführer und Gesellschafter:* Heiko Scherpinski *Handelsregister : *Amtsgericht Frankfurt (Oder)- HRB 9989 ------------------------------------------------------------------------ Diese E-Mail und alle Anhänge können vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich an Sie gesendet wurde, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren, Speichern und Nutzen der Inhalte sowie die unbefugte Weitergaben dieser E-Mail ist nicht gestattet. This e-mail and any attachment is for authorized use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
participants (3)
-
Jan Kurella -
Sergiu Dumitriu -
Vincent Massol