Out of memory
I am a chinese person,So far, I haven't had the English cet 4!So, please forgive my grammatical errors,Thank you very much!
I have a problem about out of memory:
My company has a server, the system is a 64 - bit Asianux:
Memory:32GB
CPU core:24
In system, the deployment of a number of tomcat web services and a few other services consume memory
/opt:tomcat_2080、tomcat_2081、tomcat_2082、tomcat_8080、tomcat_8081、tomcat_8888、DispSvrV3、
mapabc、mongodb .........
Java version of the system used:
[root@rdcp tomcat_2080]# java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
The current situation is:
When all of the services in the system up and running after a period of time, the tomcat_8888 will be some mistakes:
JRockit dump produced after 0 days, 00:02:49 on Thu Sep 5 13:50:28 2013
**************************************************************************
* If you see this dump, please go to *
* http://download.oracle.com/docs/ ... roubleshooting.html *
* for troubleshooting information. *
**************************************************************************
Additional information is available in:
/opt/tomcat_8888/jrockit.5669.dump
No snapshot file (core dump) will be created because core dumps have been
disabled. To enable core dumping, try "ulimit -c unlimited"
before starting JRockit again.
Error Message: Illegal memory access. [54]
Signal info : si_signo=11, si_code=1 si_addr=0x241433460
Version : Oracle JRockit(R) R28.2.7-7-155314-1.6.0_45-20130329-0641-linux-x86_64
CPU : Intel Core 2 SSE SSE2 SSE3 SSSE3 SSE4.1 Core Intel64
Number CPUs : 24
Tot Phys Mem : 33751126016 (32187 MB)
OS version : Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Linux version 2.6.18-128.7AXS3 (packager@asianux.com) (gcc version 4.1.2 20080704 (Asianux 3.0 4.1.2-44)) #1 SMP Fri Jun 19 13:48:55 EDT 2009 (x86_64)
Thread System: Linux NPTL
LibC release : 2.5-stable
Java locking : Lazy unlocking enabled (class banning) (transfer banning)
State : JVM is running
Command Line : -Xms4096m -Xmx4096m -Xgc:parallel -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/tomcat_8888/conf/logging.properties -Djava.endorsed.dirs=/opt/tomcat_8888/endorsed -Dcatalina.base=/opt/tomcat_8888 -Dcatalina.home=/opt/tomcat_8888 -Djava.io.tmpdir=/opt/tomcat_8888/temp -Dsun.java.command=org.apache.catalina.startup.Bootstrap start -Dsun.java.launcher=SUN_STANDARD org.apache.catalina.startup.Bootstrap start
Repository :
java.home : /root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/jre
j.class.path : :/opt/tomcat_8888/bin/bootstrap.jar:/opt/tomcat_8888/bin/commons-logging-api.jar
j.lib.path : /usr/java/packages/lib/amd64:/root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/jre/lib/amd64/jrockit:/root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/jre/lib/amd64:/root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/jre/../lib/amd64
JAVA_HOME : /root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
_JAVA_OPTIONS:
LD_LIBRARY_PATH: /root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/jre/lib/amd64/jrockit:/root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/jre/lib/amd64:/root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/jre/../lib/amd64
LD_ASSUME_KERNEL:
LD_PRELOAD :
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 8599 OutOfMemoryErrors have occured
C Heap : Good; no memory allocations have failed
GC Strategy : Mode: throughput, with strategy: singleparpar (basic strategy: singleparpar)
GC Status : OC is not running. Last finished OC was OC#0.
Heap : 0x100000000 - 0x200000000 (Size: 4096 MB)
Compaction : (no compaction area)
Allocation : TLA-min: 2048, TLA-preferred: 262144 TLA-waste limit: 2048
CompRefs : References are compressed, with heap base 0x0 and shift 3.
Registers (from ThreadContext: 0x41432810:
rax = 0000000041433370 rcx = 00000000ffffffff
rdx = 00002b6d4ebe5211 rbx = 0000000241433468
rsp = 0000000041432c50 rbp = 0000000041432ca0
rsi = 0000000241433468 rdi = 00002aaaf2bf4010
r8 = 0000000241433458 r9 = 000000000000001b
r10 = 00002aaaf2bf4000 r11 = 0000000000000206
r12 = 00002aaaf2bf4010 r13 = 0000000000000001
r14 = 0000000000000010 r15 = 0000000000000003
cs = 0000000000000033 fs = 0000000400000000
gs = 0004000000000000
rip = 00002b6d4f16e508 flags = 0000000000000206
Loaded modules:
(* denotes the module where the exception occured)
0000000000400000-00000000004128c3 /root/jrockit-jdk1.6.0_45-R28.2.7-4.1.0/bin/java
0000003c20400000-0000003c20401f93 /lib64/libdl.so.2
0000003c20800000-0000003c20815507 /lib64/libpthread.so.0
Stack:
(* marks the word pointed to by the stack pointer)
0000000041432c50: 0000000041433160* 0000000000000003 0000000041432c70 00002b6d4ec0778e
0000000041432c70: 0000000000000000 0000000000000001 0000000000000002 0000000000000001
0000000041432c90: 0000000000000010 0000000000000003 0000000041433220 00002b6d4ec7c500
0000000041432cb0: 0000000041432cd0 00002b6d4ed57462 000000000d4fe9f0 00002aaaf2bfcda8
0000000041432cd0: 0000000041433370 00002aaafa3d9aa0 00002aaaf2bf44e0 ffffffff00000001
0000000041432cf0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Code:
(* marks the word pointed to by the instruction pointer)
00002b6d4f16e4a8: ffffb7c8e9c93e89 ffb7bfe9c93e8b48 00000000801f0fff 56415741e5894855
00002b6d4f16e4c8: 53fc894954415541 4828ec8348f38948 00000500840fff85 0000ab840ff68548
...........................................................
rw 0x00002b6d4eb7c000 ( 8KB)
OS *libjvm.so r x 0x00002b6d4eb7e000 ( 3108KB)
OS *libjvm.so 0x00002b6d4ee87000 ( 2044KB)
OS *libjvm.so rw 0x00002b6d4f086000 ( 188KB)
OS **libjvm.so rw 0x00002b6d4f0b5000 ( 684KB)
OS *libjrosal.so r x 0x00002b6d4f160000 ( 128KB)
OS *libjrosal.so 0x00002b6d4f180000 ( 2044KB)
OS *libjrosal.so rw 0x00002b6d4f37f000 ( 8KB)
OS **libjrosal.so rw 0x00002b6d4f381000 ( 4KB)
OS *libjrutil.so r x 0x00002b6d4f382000 ( 52KB)
OS *libjrutil.so 0x00002b6d4f38f000 ( 2044KB)
OS *libjrutil.so rw 0x00002b6d4f58e000.( 4KB)
OS *[stack] rwx 0x00007fff93a73000.( 84KB)
OS *[vdso] 0xffffffffff600000 ( 8192KB)
................................................................................
But,if i close mapabc service or the mongodb or other ,tomcat_8888 will run normally.(I didn't shut down other tomcat service )
If I start the tomcat_8888 , then mapabc or mongdb database because of insufficient memory will shoot down.
Anyway,the physical memory forever is enough,there will always be around 10G of space.
Please forgive my poor English!!!!!! Heh heh Heh heh!!!
Categories
- All Categories
- 167 LFX Mentorship
- 219 LFX Mentorship: Linux Kernel
- 795 Linux Foundation IT Professional Programs
- 355 Cloud Engineer IT Professional Program
- 179 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 127 Cloud Native Developer IT Professional Program
- 112 Express Training Courses
- 112 Express Courses - Discussion Forum
- 6.2K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 17 LFC131 Class Forum
- 35 LFD102 Class Forum
- 227 LFD103 Class Forum
- 14 LFD110 Class Forum
- 39 LFD121 Class Forum
- 15 LFD133 Class Forum
- 7 LFD134 Class Forum
- 17 LFD137 Class Forum
- 63 LFD201 Class Forum
- 3 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 1 LFD233 Class Forum
- 2 LFD237 Class Forum
- 23 LFD254 Class Forum
- 697 LFD259 Class Forum
- 109 LFD272 Class Forum
- 3 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 152 LFS101 Class Forum
- 1 LFS111 Class Forum
- 1 LFS112 Class Forum
- 1 LFS116 Class Forum
- 1 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 7 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 1 LFS157 Class Forum
- 33 LFS158 Class Forum
- 8 LFS162 Class Forum
- 1 LFS166 Class Forum
- 1 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 1 LFS178 Class Forum
- 1 LFS180 Class Forum
- 1 LFS182 Class Forum
- 1 LFS183 Class Forum
- 29 LFS200 Class Forum
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 14 LFS203 Class Forum
- 102 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 301 LFS211 Class Forum
- 55 LFS216 Class Forum
- 48 LFS241 Class Forum
- 42 LFS242 Class Forum
- 37 LFS243 Class Forum
- 15 LFS244 Class Forum
- LFS245 Class Forum
- LFS246 Class Forum
- 50 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 154 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 5 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 111 LFS260 Class Forum
- 159 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 20 LFS267 Class Forum
- 24 LFS268 Class Forum
- 29 LFS269 Class Forum
- 1 LFS270 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 9 LFW111 Class Forum
- 260 LFW211 Class Forum
- 182 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 782 Hardware
- 198 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 83 Storage
- 743 Linux Distributions
- 80 Debian
- 67 Fedora
- 15 Linux Mint
- 13 Mageia
- 23 openSUSE
- 143 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 348 Ubuntu
- 461 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 90 Linux Security
- 77 Network Management
- 101 System Management
- 46 Web Management
- 64 Mobile Computing
- 17 Android
- 34 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 19 Study Material
- 507 Programming and Development
- 285 Kernel Development
- 204 Software Development
- 1.8K Software
- 211 Applications
- 180 Command Line
- 3 Compiling/Installing
- 405 Games
- 309 Installation
- 97 All In Program
- 97 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)