Question about Alfresco Down in Alfresco 6.2.0 (using FTP)

cancel
Showing results for 
Search instead for 
Did you mean: 
ujkim
Active Member II

Question about Alfresco Down in Alfresco 6.2.0 (using FTP)

Jump to solution


We installed the Alfresco 6.2.0-ga version and added the FTP configuration information below to build it.

# Dockerfile
FROM alfresco/alfresco-content-repository-community:6.2.0-ga
EXPOSE 21 2333-2433

 

# Docker-compose file
(JAVA_OPTS)
-Dftp.port=21
-Dftp.enabled=true
-Dftp.dataPortFrom=2333
-Dftp.dataPortTo=2433
-Dftp.externalAddress=x.x.x.x (ports) - 21:21 - 2333-2433:2333-2433

We completed the setup and restarted.

 

And then, We are uploading data previously managed separately via FTP. 

In the process, Alfresco died.

When I checked the log, the following issue occurred.

(JLAN keeps getting FileExistsException Errors and seems to be dead due to memory problems.

2020-08-03 11:09:46,642 ERROR [org.alfresco.fileserver] [Sess_FTP5_192.168.30.35] Error from JLAN
org.alfresco.jlan.server.filesys.FileExistsException: GSD-12-TS-020 ì<9d>¸ê³µì<9c><84>ì<84>± 궤ë<8f><84>2 - ì<9d>¸ê³µì<9c><84>ì<84>± 궤ë<8f><84> ì<9a><94>ì<86><8c>ì<99><80> ì¢<8c>í<91><9c>ê³<84> í<9a><8c>ì <84> ë³<80>í<99><98>
        at org.alfresco.filesys.repo.CifsHelper.createNode(CifsHelper.java:547)
        at org.alfresco.filesys.repo.ContentDiskDriver2.createDirectory(ContentDiskDriver2.java:993)
        at jdk.internal.reflect.GeneratedMethodAccessor821.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at org.alfresco.filesys.repo.FilesystemTransactionAdvice$1.execute(FilesystemTransactionAdvice.java:78)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:338)
        at org.alfresco.filesys.repo.FilesystemTransactionAdvice.invoke(FilesystemTransactionAdvice.java:102)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
        at com.sun.proxy.$Proxy214.createDirectory(Unknown Source)
        at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.createDirectory(NonTransactionalRuleContentDiskDriver.java:202)
        at org.alfresco.filesys.repo.LegacyFileStateDriver.createDirectory(LegacyFileStateDriver.java:553)
        at org.alfresco.filesys.repo.BufferedContentDiskDriver.createDirectory(BufferedContentDiskDriver.java:468)
        at org.alfresco.jlan.ftp.FTPSrvSession.procCreateDirectory(FTPSrvSession.java:2942)
        at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5182)
        at java.base/java.lang.Thread.run(Thread.java:834)

....

11:44:20,676 ERROR [org.alfresco.fileserver] [Sess_FTP8_192.168.30.35] Error from JLAN
java.io.IOException: Cannot allocate memory
at java.base/java.io.RandomAccessFile.writeBytes(Native Method)
at java.base/java.io.RandomAccessFile.write(RandomAccessFile.java:559)
at org.alfresco.jlan.smb.server.disk.JavaNetworkFile.writeFile(JavaNetworkFile.java:496)
at org.alfresco.filesys.repo.TempNetworkFile.writeFile(TempNetworkFile.java:130)
at org.alfresco.filesys.repo.ContentDiskDriver2.writeFile(ContentDiskDriver2.java:1970)
at jdk.internal.reflect.GeneratedMethodAccessor790.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:205)
at com.sun.proxy.$Proxy214.writeFile(Unknown Source)
at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.writeFile(NonTransactionalRuleContentDiskDriver.java:580)
at org.alfresco.filesys.repo.LegacyFileStateDriver.writeFile(LegacyFileStateDriver.java:715)
at org.alfresco.filesys.repo.BufferedContentDiskDriver.writeFile(BufferedContentDiskDriver.java:564)
at org.alfresco.jlan.ftp.FTPSrvSession.procStoreFile(FTPSrvSession.java:2393)
at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5118)
at java.base/java.lang.Thread.run(Thread.java:834)

Why this errors invoked?

Can I get some reason?

 

Thank you for good service.

1 Solution

Accepted Solutions
abhinavmishra14
Advanced

Re: Question about Alfresco Down in Alfresco 6.2.0 (using FTP)

Jump to solution

It could likely be a memory issue, check the memory allocated to containers. Minimum 8 GB memory is required.

 

Use this command to see the stats:

 

docker stats

Check how much memory you have allocated to docker. That is shared between all the containers.

You can use this command to provide resources to docker:

docker run --memory 8g --cpus 2

If you are on windows, check this for docker desktop

if you are on mac, check this for docker desktop

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View solution in original post

1 Reply
abhinavmishra14
Advanced

Re: Question about Alfresco Down in Alfresco 6.2.0 (using FTP)

Jump to solution

It could likely be a memory issue, check the memory allocated to containers. Minimum 8 GB memory is required.

 

Use this command to see the stats:

 

docker stats

Check how much memory you have allocated to docker. That is shared between all the containers.

You can use this command to provide resources to docker:

docker run --memory 8g --cpus 2

If you are on windows, check this for docker desktop

if you are on mac, check this for docker desktop

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)