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
- 212 LFX Mentorship
- 212 LFX Mentorship: Linux Kernel
- 753 Linux Foundation IT Professional Programs
- 345 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 72 DevOps Engineer IT Professional Program
- 136 Cloud Native Developer IT Professional Program
- 136 Express Training Courses
- 136 Express Courses - Discussion Forum
- 6.1K Training Courses
- 44 LFC110 Class Forum - Discontinued
- 70 LFC131 Class Forum
- 42 LFD102 Class Forum
- 225 LFD103 Class Forum
- 18 LFD110 Class Forum
- 36 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 692 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 133 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- 4 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 23 LFS158 Class Forum
- 6 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 125 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 149 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 117 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 21 LFS268 Class Forum
- 30 LFS269 Class Forum
- 201 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 757 Linux Distributions
- 82 Debian
- 67 Fedora
- 16 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 61 Mobile Computing
- 18 Android
- 31 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 369 Off Topic
- 114 Introductions
- 173 Small Talk
- 21 Study Material
- 740 Programming and Development
- 301 Kernel Development
- 421 Software Development
- 1.8K Software
- 236 Applications
- 182 Command Line
- 3 Compiling/Installing
- 985 Games
- 316 Installation
- 92 All In Program
- 92 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)