Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Peter Hellstrand
The portal is slow (very few users)
11. Juli 2012 12:24
Antwort

Peter Hellstrand

Rang: Regular Member

Nachrichten: 167

Eintrittsdatum: 30. November 2011

Neue Beiträge

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. Juli 2012 13:46
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11478

Eintrittsdatum: 1. September 2006

Neue Beiträge

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

Peter Hellstrand

Rang: Regular Member

Nachrichten: 167

Eintrittsdatum: 30. November 2011

Neue Beiträge

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. Juli 2012 14:37
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11478

Eintrittsdatum: 1. September 2006

Neue Beiträge

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. Juli 2012 15:08
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

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. Juli 2012 22:25
Antwort

Peter Hellstrand

Rang: Regular Member

Nachrichten: 167

Eintrittsdatum: 30. November 2011

Neue Beiträge

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. Juli 2012 22:32
Antwort

Peter Hellstrand

Rang: Regular Member

Nachrichten: 167

Eintrittsdatum: 30. November 2011

Neue Beiträge

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. Juli 2012 06:23
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

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. Juli 2012 07:25
Antwort

Peter Hellstrand

Rang: Regular Member

Nachrichten: 167

Eintrittsdatum: 30. November 2011

Neue Beiträge

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. Juli 2012 10:42
Antwort

Linus Sphinx

Rang: Junior Member

Nachrichten: 89

Eintrittsdatum: 12. August 2010

Neue Beiträge

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