Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Peter Hellstrand
The portal is slow (very few users)
11 de julio de 2012 12:24
Respuesta

Peter Hellstrand

Ranking: Regular Member

Mensajes: 167

Fecha de incorporación: 30 de noviembre de 2011

Mensajes recientes

Hi

I have a problem with an application. It is not in production yet so very few users. The problem only occur sometimes. Most times if you havent touched anything for a while. It is not our portlets generally speaking. I it for example when uploading files. creating web content and so on. Can you give me a hint we to start? Do you have any tools for this.

I use the tomcat bundled version.
David H Nebinger
RE: The portal is slow (very few users)
11 de julio de 2012 13:46
Respuesta

David H Nebinger

Ranking: Liferay Legend

Mensajes: 6704

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

If you run it under eclipse you can use the profiling tools...
Peter Hellstrand
RE: The portal is slow (very few users)
11 de julio de 2012 22:26
Respuesta

Peter Hellstrand

Ranking: Regular Member

Mensajes: 167

Fecha de incorporación: 30 de noviembre de 2011

Mensajes recientes

Thank you as usual david. You mean on my local liferay portal?

I installed VisualVM and it looks like nothing strange as I can see. Maybe a network problem.


image host
David H Nebinger
RE: The portal is slow (very few users)
11 de julio de 2012 14:37
Respuesta

David H Nebinger

Ranking: Liferay Legend

Mensajes: 6704

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

Is the snapshot taken during the slow period, or are you saying it is consistently slow?
Hitoshi Ozawa
RE: The portal is slow (very few users)
11 de julio de 2012 15:08
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

If you are having performance issue while uploading file or creating web content (do you mean when saving web content?), it may be an issue with network or your database.

Check if performance slows down while other is uploading a file or if it's just slow to upload your file.
Peter Hellstrand
RE: The portal is slow (very few users)
11 de julio de 2012 22:25
Respuesta

Peter Hellstrand

Ranking: Regular Member

Mensajes: 167

Fecha de incorporación: 30 de noviembre de 2011

Mensajes recientes

Thank you. I have to investigate this further beacuse the slow periods is very rare and did not happend to me during the 30+min I was clicking around. The snapshot is not during a slow period.
Peter Hellstrand
RE: The portal is slow (very few users)
11 de julio de 2012 22:32
Respuesta

Peter Hellstrand

Ranking: Regular Member

Mensajes: 167

Fecha de incorporación: 30 de noviembre de 2011

Mensajes recientes

This is how our customer describes it.

"When it comes to performance, I have sometimes experienced this when I go between pages or open an editor such as when I am editing an article."
Hitoshi Ozawa
RE: The portal is slow (very few users)
12 de julio de 2012 6:23
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

The editor performance is probably javascript download time as it oftens happens here on liferay.com
OR
it just may be that your customer is running something else while viewing or editing a page.
Peter Hellstrand
RE: The portal is slow (very few users)
12 de julio de 2012 7:25
Respuesta

Peter Hellstrand

Ranking: Regular Member

Mensajes: 167

Fecha de incorporación: 30 de noviembre de 2011

Mensajes recientes

I put this in portal-ext.properties. Hopes it help.


last.modified.check=false
theme.css.fast.load=true
javascript.fast.load=true
Linus Sphinx
RE: The portal is slow (very few users)
12 de julio de 2012 10:42
Respuesta

Linus Sphinx

Ranking: Junior Member

Mensajes: 84

Fecha de incorporación: 12 de agosto de 2010

Mensajes recientes

I have found this quite helpful in similar situations;
http://httpd.apache.org/docs/2.0/programs/ab.html
God speed and good luck.