cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco service stopped after restarting, even though I have increased memory allocation

nicholas29
Champ on-the-rise
Champ on-the-rise

Good afternoon, this is the second time my Alfresco has stopped.

The last time, I just had to increase the memory allocation, but this time, it had no effect.

Context: On 22/10/2024, I was downloading files, page by page, respecting the 2GB limit, and I left some files for the next day. However, on 23/10/2024, when I accessed Alfresco, it became slow and displayed an Internal Server Error. I restarted the machine, but the same error occurred, preventing user login, and increasing memory allocation had no effect this time.

See the log files below:

 

https://drive.google.com/drive/folders/1bVRd9MvhPzu1H48OaAcetp2TATLWHkfY

 

 

nicholas29_0-1729789847299.png

 

5 REPLIES 5

nicholas29
Champ on-the-rise
Champ on-the-rise

Had a new error, after some hours. This time, I cannot acess now at website!

nicholas29_0-1729801643794.png

It means Connection Refused

nicholas29
Champ on-the-rise
Champ on-the-rise

Consegui voltar o serviço, porém ainda deu o mesmo erro de usuário não acessar / I managed to get the service back on, but it still gave me the same user not accessing error.

 

 

nicholas29_0-1729810458740.png

 

angelborroy
Community Manager Community Manager
Community Manager

Simple review of the log files:

Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for 
web application [/alfresco] due to a StackOverflowError. Possible root causes include a too
low setting for -Xss and illegal cyclic inheritance dependencies.

Fix this and any other "Caused by" you find there.

Hyland Developer Evangelist

I edited the setenv.sh file located in the alfresco/tomcat/bin folder and added -Xss1024k. I restarted the Alfresco service:

nicholas29_10-1729880815294.png


, but there is still no connection with the Alfresco Content Service:

nicholas29_11-1729880823821.png

nicholas29_12-1729880830877.png

I believe it could be related to the alfresco-global.properties file, but I checked that the paths are correct.

So, I opened alfresco/tomcat/shared/classes/alfresco-global.properties. Here are the configurations:

 

nicholas29_17-1729880935358.png

nicholas29_18-1729880935365.png

nicholas29_19-1729880935373.png

nicholas29_20-1729880935381.png

 

Attached are the logs from today:

https://drive.google.com/drive/folders/1lJgpNU5SeTlyAxE5aeQFQ9oELFqmnfw-

 

fedorow
Elite Collaborator
Elite Collaborator

Check this post: Default memory allocation issue in Alfresco CE 201707 GA (aka 5.2) 

The main idea is to make sure that java has had the allocated memory.

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.