Secret Experience

Secret Experience (https://secretexperience.net/index.php)
-   [L2J] Dúvidas Solucionadas (https://secretexperience.net/forumdisplay.php?f=653)
-   -   L2jfree Server Trava e Lag (https://secretexperience.net/showthread.php?t=9777)

kikopsm 20-06-2009 05:16 PM

L2jfree Server Trava e Lag
 
Bem pessoal venho aki tirar uma duvida estou com as seguintes configurações na maquina:

Intel Core2Quad Q9300
Memória: 8 GB RAM
Hard Drive (HD): 750 GB
Tráfego: 2000 GB

Lembrando q estou Com uma media de 45 On para q nestas configurações nao devia nem pisca um Lag ou travar oq poder ser ? Java ? Cliente ...:rungun:

SS de um erro no java na hora q trava:

[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]

xuvisco 20-06-2009 08:46 PM

Amigo , Pode Ser Varias Coisas , aah Internet
Desempenho Do Computador .. eh Em Outros

Java , Etc ..


Verifica ah Memoria Que Esta Liberando Pro Server

Código:

Abrá o Arquivo startGameServer
Localizado na Pasta gameserver


REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx1024m net.sf.l2j.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms4096m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------





Assim Está No Meu , Guenta 80 Players ON
Sem LAG Nenhum !

Config ,
4GB Di Ram
Pentium Dual Core 2.0
350 HD
2 MB de NeT

kikopsm 20-06-2009 09:45 PM

No meu esta assim:

E tenho isto Num dedicado com estas config la como devo por pra usar no maximo:?

Código:

@echo off
title Game Server Console
:start
echo Starting l2jfree
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m com.l2jfree.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 com.l2jfree.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

SET CLASSPATH=%OLDCLASSPATH%

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause


KaL 20-06-2009 09:49 PM

Preste atenção no seu :

Código:

@echo off
title Game Server Console
:start
echo Starting l2jfree
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m com.l2jfree.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 com.l2jfree.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

SET CLASSPATH=%OLDCLASSPATH%

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause

Você está liberando 512mb de memória para o Java
Não adianta editar as linhas com prefixo REM, REM serve para anular a linha

Setokaiba 20-06-2009 11:26 PM

Tente diminuir o consumo de memória do JBOSS.

O que acarreta pela não inicialização é o último erro: OutOfMemoryError - GC Overhead limit exceeded. É um erro parecido com aquele Server Virtual Machine... Insuficiência de memória para criar o servidor virtual. O JBoss está com uma quantidade de memória estabelecida que não pode ser lida pelo VM e alocado na Heap. Ao zerar tudo, é bem provável que as aplicações não exigam uma quantidade maior de memória para a leitura. Mas isto sempre se repetirá caso não altere a JBoss.

O JBoss está acima da tua quantidade.

No startGameServer.bat da pasta do GS. Edite com um editor de texto.
Código:

@echo off
title : Game Server Console - Editado by Setokaiba (http://www.secretwarez.net/forum)
:start
echo Iniciando Game Server.
echo Visite http://www.secretwarez.net/forum para realizar updates.
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM ########################################################################
REM # You need to set here your JDK/JRE params in case of x64 bits System. #
REM # Remove the "REM" after set PATH variable                            #
REM # If you're not a x64 system user just leave                          #
REM ########################################################################
REM set PATH="type here your path to java jdk/jre (including bin folder)" <--Remoca o REM do início e ponha o caminho do diretório JAVA, até a pasta BIN.

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx1024m com.l2jfree.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx1024m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 com.l2jfree.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

ExplicaçãoAltere os valores marcados em vermelho, pois estão exigindo 1024 = 1 GB de memória RAM, sendo que o teu computador deve estar destribuíndo mais memória para algum outro aplicativo, ou talvez não tenha 1 GB de RAM.

kikopsm 21-06-2009 11:15 AM

O meu esta assim:

Código:

@echo off
title Game Server Console
:start
echo Starting l2jfree
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx7012m com.l2jfree.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx7048m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 com.l2jfree.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -Xmx1536m -Xms8192m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

SET CLASSPATH=%OLDCLASSPATH%

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause

Nao tem estas linha que vc pos ali:

Código:

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM ########################################################################
REM # You need to set here your JDK/JRE params in case of x64 bits System. #
REM # Remove the "REM" after set PATH variable                            #
REM # If you're not a x64 system user just leave                          #
REM ########################################################################
REM set PATH="type here your path to java jdk/jre (including bin folder)" <--Remoc



----------

Vamos ver para nao fazer errado eu pus assiM:

Código:

@echo off
title Game Server Console
:start
echo Starting l2jfree
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM ########################################################################
REM # You need to set here your JDK/JRE params in case of x64 bits System. #
REM # Remove the "REM" after set PATH variable                            #
REM # If you're not a x64 system user just leave                          #
REM ########################################################################
set PATH="C:\Arquivos de programas\Java\jdk1.6.0_13\bin"

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx7024m com.l2jfree.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx1024m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 com.l2jfree.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

SET CLASSPATH=%OLDCLASSPATH%

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause

esta certo agora?
meu server e Windows server 64 Bits mudo mais algo?

New 11-07-2009 05:19 PM

Seto. O meu esta assim:

Código:

@echo off
title Game Server Console
:start
REM ----------- Set Class Paths and Calls setenv.bat -----------------
SET OLDCLASSPATH=%CLASSPATH%
call classpath.bat
REM ------------------------------------------------------------------

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m com.l2dot.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

SET CLASSPATH=%OLDCLASSPATH%

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause

Meu Windows e XP 64 Bits, com 4 GB de Ram.

Qual a melhor config para meu GS ?

tx300 12-07-2009 01:53 AM

jboss
 
Citação:

Postado Originalmente por Setokaiba (Post 35348)
[SIZE="2"]Tente diminuir o consumo de memória do JBOSS.

O que acarreta pela não inicialização é o último erro: OutOfMemoryError - GC Overhead limit exceeded. É um erro parecido com aquele Server Virtual Machine... Insuficiência de memória para criar o servidor virtual. O JBoss está com uma quantidade de memória estabelecida que não pode ser lida pelo VM e alocado na Heap. Ao zerar tudo, é bem provável que as aplicações não exigam uma quantidade maior de memória para a leitura. Mas isto sempre se repetirá caso não altere a JBoss.

O JBoss está acima da tua quantidade.

No startGameServer.bat da pasta do GS. Edite com um editor de texto.
Código:

@echo off
title : Game Server Console - Editado by Setokaiba (http://www.secretwarez.net/forum)
:start
echo Iniciando Game Server.
echo Visite http://www.secretwarez.net/forum para realizar updates.
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM ########################################################################
REM # You need to set here your JDK/JRE params in case of x64 bits System. #
REM # Remove the "REM" after set PATH variable                            #
REM # If you're not a x64 system user just leave                          #
REM ########################################################################
REM set PATH="type here your path to java jdk/jre (including bin folder)" <--Remoca o REM do início e ponha o caminho do diretório JAVA, até a pasta BIN.

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx1024m com.l2jfree.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx1024m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 com.l2jfree.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

ExplicaçãoAltere os valores marcados em vermelho, pois estão exigindo 1024 = 1 GB de memória RAM, sendo que o teu computador deve estar destribuíndo mais memória para algum outro aplicativo, ou talvez não tenha 1 GB de RAM.
[/SIZE]

poderia me esxplica o que e jboss
tenho 16 gb de ram win 64x quanto posso coloca pro gs

CavaleiroNegro 21-08-2009 06:12 AM

Em torno de 14 gb acho que vc poderia dispor ao GS normalmente.(14 GB pois acho que ja seria ótimo)


Horários baseados na GMT -3. Agora são 11:53 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.