xlest 18 Опубликовано 22 марта, 2013 При запуске ГС выдает ошибку ava HotSpot Server VM warning: Failed to reserve shared memory (errno = 22). ==============================================================-[ Boot Manager ] BootManager: Checking for updatesfail: java.io.FileNotFoundException: http://lucera.ru/updates.php?rev=1.fin6 BootManager: Initializing Logging. Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:640) at org.apache.log4j.AsyncAppender.<init>(AsyncAppender.java:122) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:247) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1001) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:891) at ru.catssoftware.gameserver.util.BootManager.initLogging(BootManager.java:170) at ru.catssoftware.gameserver.util.BootManager.<init>(BootManager.java:141) at ru.catssoftware.gameserver.util.BootManager.main(BootManager.java:41) как исправить тачка 4гига озу содержимое запускного файла # !/bin/sh while :; do java -server -Dfile.encoding=UTF-8 -XX:AutoBoxCacheMax=10000 -XX:+RelaxAccessControlCheck -XX:+UseFastAccessorMethods -XX:+AlwaysPreTouch -XX:+UseLargePages -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+ClassUnloading -XX:MaxGCPauseMillis=25 -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=8 -XX:+CMSParallelRemarkEnabled -XX:+UseAdaptiveGCBoundary -XX:MaxTenuringThreshold=6 -XX:+AggressiveOpts -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:CompileThreshold=1000 -XX:PermSize=96m -XX:MaxPermSize=96m -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxNewSize=144m -XX:NewSize=144m -XX:+UseBiasedLocking -Xmx1024m -Xms512m -Xss160m -Djava.net.preferIPv4Stack=true -Xbootclasspath/p:../libs/jsr167.jar -cp ../libs/*:./lucera.jar:./extensions/* ru.catssoftware.gameserver.util.BootManager > log/stdout.log 2>&1 sleep 10; done Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
HappyDeN 217 Опубликовано 22 марта, 2013 -Xmx1024m увелич значение если с гео запускаеш! Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
xlest 18 Опубликовано 22 марта, 2013 Java HotSpot Server VM warning: Failed to reserve shared memory (errno = 22). ==============================================================-[ Boot Manager ] BootManager: Checking for updatesfail: java.io.FileNotFoundException: http://lucera.ru/updates.php?rev=1.fin6 BootManager: Initializing Logging. BootManager: Creating Boot Folders and Files. BootManager: All Directories and Files Created! BootManager: Initializing Configs. =====================================================-[ Network Configuration ] Loading: ./config/network/network.properties Loading: ./config/network/hexid.txt ========================================================-[ Main Configuration ] Loading: ./config/main/areas.properties Loading: ./config/main/ban.properties Loading: ./config/main/datetime.properties Loading: ./config/main/gameserver.properties Loading: ./config/main/respawns.properties Loading: ./config/main/regeneration.properties Loading: ./config/main/petitions.properties Loading: ./config/main/altgame.properties Loading: ./config/main/custom.properties Loading: ./config/main/clans.properties Loading: ./config/main/entities.properties Loading: ./config/main/communityboard.properties Loading: ./config/main/nicks.properties Loading: ./config/main/drops.properties Loading: ./config/main/enchant.properties Loading: ./config/main/party.properties Loading: ./config/main/options.properties Loading: ./config/main/other_settings.properties Loading: ./config/main/geodata.properties. Loading: ./config/main/warehouse.properties Loading: ./config/main/permissions.properties Loading: ./config/main/pvp_settings.properties Loading: ./config/main/services.properties Loading: ./config/main/security.properties Loading: ./config/main/rates.properties Loading: ./config/main/skills.properties Loading: ./config/main/inventory.properties Loading: ./config/main/pvtstores.properties Loading: ./config/main/l2top.properties Loading: ./config/main/manor.properties Loading: ./config/main/equipment.properties Loading: ./config/main/grid.properties Loading: ./config/main/id_factory.properties Loading ./config/main/safe.properties ======================================================-[ Events Configuration ] Loading: ./config/main/events/seven_signs.properties Loading: ./config/main/events/castle_siege.properties Loading: ./config/main/events/olympiad.properties Loading: ./config/main/events/lottery.properties Loading: ./config/main/events/fortsiege.properties Loading: ./config/main/events/pccaffe.properties ========================================================-[ Chat Configuration ] Loading: ./config/chat/chat.properties =====================================================-[ Filters Configuration ] [iNFO 13:32:50]: Loaded 708 Filter Words. ==============================================-[ Administration Configuration ] Loading: ./config/administration/gm_access.properties ==================================================-[ Announment Configuration ] Loading: ./config/main/announces.properties ========================================================-[ Mods Configuration ] Loading: ./config/mods/champion_mobs.properties Loading: ./config/mods/jail.properties Loading: ./config/mods/wedding.properties Loading: ./config/mods/fun_events.properties Loading: ./config/mods/classmaster.properties Loading: ./config/mods/classes.properties Loading: ./config/mods/classes_armor.properties Loading ./config/mods/banking.properties ==============================================================-[ Boot Manager ] BootManager: Config Sucessffully Loaded. BootManager: Preparations Done. Staring GameServer! ..........................,....................................... ...................,,,,..,I....................................... .............,..,,,::::.=?I....................................... .........:,,....:,:,.....,~:...................................... ..........=7I=:..,,I.:,I,.,,,..................................... ............??..=.+I7,,.:.,,,..................................... ............,.:.+I=~7=7.7.,,,..................................... ............,.:+.~.=777=+.,....................................... ..........,,,.,.~=,+IIII?.,::..................................... ........,:,,,.....?III+?~..:~~:::................................. .......:~.,.,,..,..:?II,,..,.,,,,,................................ .......,.,..,:,.,,,..,......,,,.,,,............................... .......,...,:..,,,.,.?...,,,,,,.7.,,.............................. ...........,,,,,:~~:~II.~~:,.,:,+.,,.............................. ............,,,,I+?III.~=II.,::,~,,............................... ...........,~:.~.?III=~~?II.,...,................................. .........,.,.:,~~===~:~:???.,,.................................... ..........,,:I+~~~~~~.+I??:.,..................................... ...........,,I?.~~~~~,II?,,....................................... ............,I?,.~~~:?I?+,,....................................... .............~:,.:::,I?~,,.......:::.............................. ............::::.:::.,,:~:,.,:.,,,,,.I7=.......................... ............I::,,.:,,,,:~=II,::,,=..=IIII......................... ...........:I~:,,,.:,.,::.?:.,,~.I?:.,,.............,::::::,,..... ...........=:::,~~==~:.,,.,:~~~~:7IIIIIIII.....:::::~~~~~~~:::,,,. ...........+??:~~~~~~~:.,.:~~~~~~.IIIIIIII..,::~~~::::,,:::::::,,, ..........::,,~~~~~~~~::::~~~~~~~.??:IIII=,::~~::,,,,,,,,,,::::,,, .............:~~~~~~~~~~~~~~:::,,.=?II??=,::::,,,..,,....,,,:::,,, ..........,,.:::::::::::::::,,,,,III??+.,,:,,,,..........,,,,::,,, .......:,..,.::::::::::,,,,,,:..II???:.,,,,,,..........,,,,,,,,,,, ......:,,,,...,,,,,,,,,,,,,.:~.,,.?..,,,,,,,,..........,,,,,,,,,.. .......................,,,.:~=.,,,.,,,,,,,,............,,,,,,..... ........................,.::..,,,.,,,,,,,,.............,,,......,, .......,,,...............,.I.,..,,,,,,,,.................,,,,,,,,, .....,,,,..................,.,,.,,,,,,,........................... ......,,,................,:::,,,,,,,,............................. ......,,:,..............:::,,,,,,,,,.............................. .......,,:...........,:::,,,,,,,,,................................ ........,,::::,,,:::::,,,,,,,,,................................... ..........,,,,,,,,,,,,,,,..,,..................................... ==============================================================-[ Preparations ] [iNFO 13:32:50]: Checking folders: preparations [iNFO 13:32:50]: Checking folders: all folders checked. ===============================================================-[ Chat Filter ] [iNFO 13:32:50]: Loaded 1416 Filter Words. ===========================================================-[ Database Engine ] [iNFO 13:32:50]: L2DatabaseFactory: Connected to database server ===============================================================-[ System Info ] [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: System Time: 22-03-2013 01:32:51 PM [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: OS: Linux Build: 2.6.32-042stab055.16 [iNFO 13:32:51]: OS Arch: i386 [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: Avaible CPU(s): 2 [iNFO 13:32:51]: Processor(s) Identifier: null [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: Runtime Information [iNFO 13:32:51]: Current Free Heap Size: 214 mb [iNFO 13:32:51]: Current Heap Size: 232 mb [iNFO 13:32:51]: Maximum Heap Size: 744 mb [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: Java Platform Information [iNFO 13:32:51]: Java Runtime Name: Java SE Runtime Environment [iNFO 13:32:51]: Java Version: 1.6.0_26 [iNFO 13:32:51]: Java Class Version: 50.0 [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: Virtual Machine Information (JVM) [iNFO 13:32:51]: JVM Name: Java HotSpot Server VM [iNFO 13:32:51]: JVM installation directory: /usr/lib/jvm/java-6-sun-1.6.0.26/jre [iNFO 13:32:51]: JVM version: 20.1-b02 [iNFO 13:32:51]: JVM Vendor: Sun Microsystems Inc. [iNFO 13:32:51]: JVM Info: mixed mode [iNFO 13:32:51]: .................................................. [iNFO 13:32:51]: .................................................. =========================================================-[ Scripting Engines ] [iNFO 13:32:51]: Initializing Script Engine Manager. [iNFO 13:32:52]: Script Engine: jython 2.2.1 - Language: python - Language Version: 2.2.1 [iNFO 13:32:52]: Script Engine: Mozilla Rhino 1.6 release 2 - Language: ECMAScript - Language Version: 1.6 [iNFO 13:32:52]: Script Engine: java 1.6 - Language: java - Language Version: 1.6 ========================================================-[ ThreadPool Manager ] [iNFO 13:32:52]: ThreadPoolManager: Initializing. [iNFO 13:32:52]: General threads: ..... 6. [iNFO 13:32:52]: Effect threads: ...... 8. [iNFO 13:32:52]: AI threads: .......... 8. [iNFO 13:32:52]: Packet threads: ...... 4. [iNFO 13:32:52]: Total threads: ....... 26. [iNFO 13:32:53]: SkillTreeTable: Loaded 36066 skills. [iNFO 13:32:54]: FishingSkillTreeTable: Loaded 6 general skills. [iNFO 13:32:54]: FishingSkillTreeTable: Loaded 0 dwarven skills. [iNFO 13:32:54]: EnchantSkillTreeTable: Loaded 14520 enchant skills. [iNFO 13:32:54]: PledgeSkillTreeTable: Loaded 64 pledge skills. ===========================================================-[ Lineage 2 World ] [iNFO 13:32:54]: L2World: Setting up World Regions [iNFO 13:32:54]: L2World: (95 by 135) World Region Grid set up. =========================================================-[ DeadLock Detector ] [iNFO 13:32:54]: DeadlockDetector: Initializing =========================================================-[ MapRegion Manager ] [iNFO 13:32:55]: IdFactory: Cleaned 0 elements [iNFO 13:32:55]: IdFactory: Cleanup items [iNFO 13:32:55]: IdFactory: Cleanup clans [iNFO 13:32:55]: IdFactory: Cleanup items on ground [iNFO 13:32:55]: IDFactory: 411648 id's avaliable. [iNFO 13:32:55]: MapRegionManager: Loaded 38 restartpoint(s). [iNFO 13:32:55]: MapRegionManager: Loaded 23 restartareas with 145 arearegion(s). [iNFO 13:32:55]: MapRegionManager: Loaded 235 zoneregion(s). [iNFO 13:32:55]: MapRegionManager: Loaded 4 race depending redirects. ==========================================================-[ Announce Manager ] [iNFO 13:32:55]: AnnounceManager: Loaded 7 announce [iNFO 13:32:55]: AnnounceManager: Loaded 0 auto announce ========================================================-[ ID Factory Manager ] [iNFO 13:32:55]: IdFactory: Free ObjectID's remaining: 1879036723 ================================================================-[ Extensions ] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'payments' already exists at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.Util.getInstance(Util.java:381) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1051) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3563) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3495) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2693) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2102) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1364) at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) at ru.catssoftware.PaymentSystem.install(Unknown Source) at ru.catssoftware.extension.ExtensionManager.loadExt(ExtensionManager.java:63) at ru.catssoftware.extension.GameExtensionManager.loadExt(GameExtensionManager.java:33) at ru.catssoftware.extension.ExtensionManager.load(ExtensionManager.java:45) at ru.catssoftware.gameserver.L2GameServer.<init>(L2GameServer.java:229) at ru.catssoftware.gameserver.util.BootManager.<init>(BootManager.java:150) at ru.catssoftware.gameserver.util.BootManager.main(BootManager.java:41) [iNFO 13:32:55]: ExtensionManager: Loaded 0 extension(s) ============================================================-[ Geodata Engine ] [ERROR 13:32:55]: PathFindingEngine: No engine avaliadble, using default ============================================================-[ Static Objects ] [iNFO 13:32:55]: Static Objects: Loaded 29 object(s) ============================================================-[ Server Manager ] Exception in thread "main" Exception in thread "GameTimeController" java.lang.NoClassDefFoundError: Could not initialize class ru.catssoftware.gameserver.GameTimeController at ru.catssoftware.gameserver.GameTimeController.run(GameTimeController.java:283) java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:640) at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703) at java.util.concurrent.ThreadPoolExecutor.prestartCoreThread(ThreadPoolExecutor.java:1381) at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:222) at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:426) at ru.catssoftware.gameserver.ThreadPoolManager.scheduleGeneralAtFixedRate(ThreadPoolManager.java:91) at ru.catssoftware.gameserver.GameTimeController.<init>(GameTimeController.java:153) at ru.catssoftware.gameserver.GameTimeController.<clinit>(GameTimeController.java:41) at ru.catssoftware.gameserver.L2GameServer.<init>(L2GameServer.java:243) at ru.catssoftware.gameserver.util.BootManager.<init>(BootManager.java:150) at ru.catssoftware.gameserver.util.BootManager.main(BootManager.java:41) как исправить ? Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты