cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS problems on v1.1, V1.0, PR6

lgr
Champ in-the-making
Champ in-the-making
Hi,

I use Alfresco as if it were in production : i transfer more than 200Mo of misc documents (txt, perl, gif, pdf, doc, excel, …) to Alfresco using the CIFS share (my alfresco box is running in a linux/tomcat community distribution).

I must cut my upload in some smaller uploads because i've got a java.lang.OutOfMemoryError: Java heap space after some files are uploaded.

I also receive some other errors here and there during the upload (i think it depends on the file types).

Are you interested in having a complete report on all the errors which occured ?

Laurent.
6 REPLIES 6

steve
Champ in-the-making
Champ in-the-making
Hello Laurent,

We'd like that info thanks. Can you send it to the info email address and I'll pick it up.

Can I ask what size your Tomcat VM is set to?

Thanks,

Steve

lgr
Champ in-the-making
Champ in-the-making
We'd like that info thanks. Can you send it to the info email address and I'll pick it up.

ok, i'll package something for you.

Can I ask what size your Tomcat VM is set to?

I don't really know how tomcat work. The running tomcat configuration is the default one of the linux distrib.

Laurent.

lgr
Champ in-the-making
Champ in-the-making
Hi Steve,

I've just sent an email to info with some details.

I've made some tests with v1.1.2, with Linux/tomcat Open release.

I've found that .xls files with automatic filtering generate an error, and that .txt files take an huge amount of memory during import through CIFS.

I haven't noticed any other error.

Laurent.

steve
Champ in-the-making
Champ in-the-making
Hello Laurent,

Have you tried changing the default JVM size at all?

E.g, adding the line below to the beginning of the 'catalina.sh' file will change the maximum JVM size to 512MB.

JAVA_OPTS="$JAVA_OPTS -Xmx512m"

Hope this helps,

Steve

paulhh
Champ in-the-making
Champ in-the-making
… or just define an environment variable JAVA_OPTS=-Xmx512m

lgr
Champ in-the-making
Champ in-the-making
ok.

Uploading is much, much, much faster with JVM increased.

txt files don't seem to be as slow as before. In fact, i feel that any file created on Alfresco by CIFS or ftp takes some time to be referenced, indexed, … This amount of time is very small using ftp (a quarter of a second or smaller, i'm not able to notice it accurately). It seems to be larger using CIFS, around 2 seconds. (my vmware must slow down it a bit during large memory allocations).

txt files does not seem to take any different amount of memory than any other file types.

And once the file has been created, uploading its content is very fast, with ftp and CIFS. (Example : uploading a 40Mb zip file take 7 seconds with FTP, and 45 seconds with CIFS, uploading a 12Mb pdf file takes 2s with FTP and 10s with CIFS, there seem to be a factor of 5 between their respective speeds)

The issue about xls files containing automatic filtering is not resolved by increasing jvm size, with ftp or CIFS.

Of course, there is always an issue with files which name contains one or many brackets (see http://www.alfresco.org/forums/viewtopic.php?t=639).

Hope this helps,

Laurent.