cancel
Showing results for 
Search instead for 
Did you mean: 

optimising alfresco 4.2.c

sharifu
Confirmed Champ
Confirmed Champ
I have 2 servers

Server A
12x Intel(R) Xeon(R) CPU X5680  @ 3.33GHz
6 Cores
48GB RAM

alfresco start up
export JAVA_OPTS="-server -Xms8G -Xmx12G -XX:MaxPermSize=2048M -Xss4096k -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=80 -XX:NewSize=4G -Dalfresco.home=/opt/alfresco-4.2.c -Dcom.sun.management.jmxremote=true -Djava.rmi.server.hostname=172.16.0.21 -Dsun.security.ssl.allowUnsafeRenegotiation=true"


Server B
24 x Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
6 Cores
48 GB RAM

export JAVA_OPTS="-server -Xms8G -Xmx12G -XX:MaxPermSize=2048M -Xss4096k -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=80 -XX:NewSize=4G -Dalfresco.home=/opt/alfresco-4.2.c -Dcom.sun.management.jmxremote=true -Djava.rmi.server.hostname=172.16.16.44 -Dsun.security.ssl.allowUnsafeRenegotiation=true"





I would like to know if I can optimize java settings to make alfresco perform any better on these servers. can anyone help?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Do you have a particular problem you are trying to solve.  

Your config looks O.K.  

Have you monitored alfresco to see how memory is being used?

The other key points are to to reduce the latency between your database and the alfresco application and put your indexes on nice fast storage.

Oh and tune your database and the connection pool size, especially if you have a large number of users.

sharifu
Confirmed Champ
Confirmed Champ
I would just like to make alfresco as fast browsing as possible. mysql is installed on the same box. There should be 100 users using each server but at the moment not many users do. mysql config as follows

Server A
[mysqld]
datadir=/var/lib/mysql

socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

# The default storage engine that will be used when create new tables
default-storage-engine=INNODB
lower_case_table_names=1

#bind-address=127.0.0.1
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8


[mysqld_safe]

log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
lower_case_table_names=1


[mysqladmin]
user=root


[client]


default-character-set=utf8

[mysql]
default-character-set=utf8




Server B
[mysqld]
datadir=/var/lib/mysql

socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

# The default storage engine that will be used when create new tables
default-storage-engine=INNODB
lower_case_table_names=1

#bind-address=127.0.0.1
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8


[mysqld_safe]

log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
lower_case_table_names=1


[mysqladmin]
user=root


[client]


default-character-set=utf8

[mysql]
default-character-set=utf8



would it make better performance on client/browser side if i increase the java settings?