Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Alagammai Kasi
Liferay has slowed down tremendously
9 de Janeiro de 2013 00:58
Resposta

Alagammai Kasi

Ranking: Regular Member

Mensagens: 149

Data de entrada: 31 de Julho de 2012

Mensagens recentes

Dear buddies,

As the new semester has started, my Liferay has gone slow like anything.

I have run everything in the Server Administration Page like Run the garbage collector to free up memory and others on the list.

I have also tried to reboot the server.

It takes more than 5 minutes for any of the mouse clicks to work.

Could it be that the MySql is failing. Its a community version.

Please advice.

Thanks - Alagu
Olaf Kock
RE: Liferay has slowed down tremendously
9 de Janeiro de 2013 02:53
Resposta

Olaf Kock

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 3425

Data de entrada: 23 de Setembro de 2008

Mensagens recentes

It's hard to say what's wrong with this amount of information. What happened since it was performing well? Can you identify the bottleneck? Disk space? Memory consumption? CPU? network bandwidth? (note: It can be any other process on the same server consuming these resources, as well as something on the mysql server - in case this is a different machine)

Also, make sure that you're not using hsql by mistake (the logs will tell you, you'll also find production data in $liferay-home/data/hsql - unless the default location was changed). Hsql will get slower the more data it has to handle.

Check if your server is using virtual memory (e.g. paging memory out to disk) - this can really eat away your performance.

Other than these "first places to look at", I can't give any more advice without more data, sorry.
Abc Defg
RE: Liferay has slowed down tremendously
9 de Janeiro de 2013 03:10
Resposta

Abc Defg

Ranking: New Member

Mensagens: 16

Data de entrada: 11 de Maio de 2012

Mensagens recentes

We have to restart liferay almost every day because it's leaking like a sieve and eating up memory.
Olaf Kock
RE: Liferay has slowed down tremendously
9 de Janeiro de 2013 03:20
Resposta

Olaf Kock

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 3425

Data de entrada: 23 de Setembro de 2008

Mensagens recentes

Abc Defg:
We have to restart liferay almost every day because it's leaking like a sieve and eating up memory.


You can configure the JVM to provide a heapdump on "out-of-memory" conditions (or just manually trigger one) and check what objects are leaking. Most likely they're in custom plugins (or other applications that run on the same appserver). If not, please let us know about them, so that it can be fixed. So far, many are running Liferay without this kind of problems.
Hitoshi Ozawa
RE: Liferay has slowed down tremendously
9 de Janeiro de 2013 03:26
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Which version of liferay are your using? Try using the most recent version.
Abc Defg
RE: Liferay has slowed down tremendously
9 de Janeiro de 2013 03:37
Resposta

Abc Defg

Ranking: New Member

Mensagens: 16

Data de entrada: 11 de Maio de 2012

Mensagens recentes

Hitoshi Ozawa:
Which version of liferay are your using? Try using the most recent version.

We are stuck with Liferay Portal Community Edition 6.0.5 CE (Bunyan / Build 6005) and any attempt to upgrade it has failed spectacularly.
Juan Gonzalez
RE: Liferay has slowed down tremendously
9 de Janeiro de 2013 04:30
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2794

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

So your main problem is upgrading. Open another thread to see if we can help in that.
Hitoshi Ozawa
RE: Liferay has slowed down tremendously
9 de Janeiro de 2013 13:44
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

I think there was a memory leak problem in 6.0.5 as you've mentioned but some has been corrected in 6.0.6 and 6.1.1 GA2 is getting much better.

Are you by any chance using liferay on the same machine as your web browser? Just wondering because there's a difference between server memory leak problem and client memory leak problem. One of the main cause was jRuby which used to cause memory leaks. I think jRuby was used by another library to offer dynamic CSS.
Alagammai Kasi
RE: Liferay has slowed down tremendously
30 de Janeiro de 2013 01:45
Resposta

Alagammai Kasi

Ranking: Regular Member

Mensagens: 149

Data de entrada: 31 de Julho de 2012

Mensagens recentes

Dear All,

All I notice is the number of communities and the files in each communities are growing.

I don't see any other major changes.
Alagammai Kasi
RE: Liferay has slowed down tremendously
4 de Fevereiro de 2013 18:37
Resposta

Alagammai Kasi

Ranking: Regular Member

Mensagens: 149

Data de entrada: 31 de Julho de 2012

Mensagens recentes

Dear Hitoshi Ozawa,

No, myself and the users are using it from their own devices or machines. We don't use the browser in the server itself.

I am using version Liferay Portal Enterprise Edition 6.0 EE SP2 (Bunyan / Build 6012 / July 27, 2011).

Thank You,
Alagu
Alagammai Kasi
RE: Liferay has slowed down tremendously
4 de Fevereiro de 2013 18:39
Resposta

Alagammai Kasi

Ranking: Regular Member

Mensagens: 149

Data de entrada: 31 de Julho de 2012

Mensagens recentes

Dear Juan,

You believe the problem is because of the version?

and the solution is upgrading?

But, I didn't face this all this while?

Please give me a better picture.

Thank You so much for all that you share.

Regards,
Alagu
Alagammai Kasi
RE: Liferay has slowed down tremendously
4 de Fevereiro de 2013 18:43
Resposta

Alagammai Kasi

Ranking: Regular Member

Mensagens: 149

Data de entrada: 31 de Julho de 2012

Mensagens recentes

Dear Olaf Kock,

Thank you so much for your reply.

How to implement this? Any tutorials or guidance on this?

Thank You,
Alagu
Olaf Kock
RE: Liferay has slowed down tremendously
5 de Fevereiro de 2013 13:20
Resposta

Olaf Kock

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 3425

Data de entrada: 23 de Setembro de 2008

Mensagens recentes

As others have answered with known issues of the version that you use I'd say don't bother debugging, rather upgrade (and there's plenty of documentation on that). Even if you find something on 6.0.5, you'd be asked to reproduce it on the latest available version (6.1.1) or on the current master version on github - 6.0.5 is no longer maintained.

If you insist on searching for the problems, you find plenty of information googling for "heapdump" - maybe add "java" in there as well.
Hitoshi Ozawa
RE: Liferay has slowed down tremendously
5 de Fevereiro de 2013 20:34
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

If you are using EE, have you applied all the patches? All patches are available from liferay.com to EE users. They probably should be applied.

Have you by any chance add more assets and permissions? Liferay checks permission on each asset so if you add too many portlets to a page, it'll slow things down.

If you can monitor your mysql transaction, check how much sql statement is being executed and response time.
Alagammai Kasi
RE: Liferay has slowed down tremendously
7 de Março de 2013 17:40
Resposta

Alagammai Kasi

Ranking: Regular Member

Mensagens: 149

Data de entrada: 31 de Julho de 2012

Mensagens recentes

I have not applied any patch but the previous administrator told me that he has applied everything.

I just took a snapshot of the processes and looks like Liferay is the one taking up more memory space

Everytime, after I restart the server, I notice the memory occupied by java (Liferay) is keep growing.

This server has only Liferay and Mysql.

So, if I am required to update any patch for this, please advice me on how to go about this.
Anexo

Anexos: Capture.PNG (45,3k)
Linus Sphinx
RE: Liferay has slowed down tremendously
11 de Março de 2013 14:28
Resposta

Linus Sphinx

Ranking: Junior Member

Mensagens: 89

Data de entrada: 12 de Agosto de 2010

Mensagens recentes

6.05 -> 6.0.6 had to be one of the more trouble-free upgades in recent memory, automated 68 of them at once without any failing.
Mika Koivisto
RE: Liferay has slowed down tremendously
11 de Março de 2013 18:02
Resposta

Mika Koivisto

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1512

Data de entrada: 7 de Agosto de 2006

Mensagens recentes

I've had both Liferay 6.0.6 and 6.1.1 running for months without any memory issues and performance is hasn't degraded either.