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 ([email protected]) (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
- 51 LFX Mentorship
- 104 LFX Mentorship: Linux Kernel
- 576 Linux Foundation IT Professional Programs
- 304 Cloud Engineer IT Professional Program
- 125 Advanced Cloud Engineer IT Professional Program
- 53 DevOps Engineer IT Professional Program
- 61 Cloud Native Developer IT Professional Program
- 5 Express Training Courses
- 5 Express Courses - Discussion Forum
- 2.1K Training Courses
- 19 LFC110 Class Forum
- 7 LFC131 Class Forum
- 27 LFD102 Class Forum
- 158 LFD103 Class Forum
- 21 LFD121 Class Forum
- 1 LFD137 Class Forum
- 61 LFD201 Class Forum
- 1 LFD210 Class Forum
- LFD210-CN Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- LFD237 Class Forum
- 23 LFD254 Class Forum
- 612 LFD259 Class Forum
- 105 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 1 LFD273 Class Forum
- 2 LFS145 Class Forum
- 25 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 11 LFS203 Class Forum
- 76 LFS207 Class Forum
- 300 LFS211 Class Forum
- 54 LFS216 Class Forum
- 47 LFS241 Class Forum
- 41 LFS242 Class Forum
- 37 LFS243 Class Forum
- 11 LFS244 Class Forum
- 37 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 141 LFS253 Class Forum
- LFS254 Class Forum
- 1.1K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 93 LFS260 Class Forum
- 132 LFS261 Class Forum
- 33 LFS262 Class Forum
- 80 LFS263 Class Forum
- 15 LFS264 Class Forum
- 11 LFS266 Class Forum
- 18 LFS267 Class Forum
- 18 LFS268 Class Forum
- 23 LFS269 Class Forum
- 203 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- LFS281 Class Forum
- 236 LFW211 Class Forum
- 172 LFW212 Class Forum
- 7 SKF100 Class Forum
- SKF200 Class Forum
- 903 Hardware
- 219 Drivers
- 74 I/O Devices
- 44 Monitors
- 116 Multimedia
- 209 Networking
- 101 Printers & Scanners
- 85 Storage
- 763 Linux Distributions
- 88 Debian
- 66 Fedora
- 15 Linux Mint
- 13 Mageia
- 24 openSUSE
- 142 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 357 Ubuntu
- 479 Linux System Administration
- 41 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 95 Linux Security
- 78 Network Management
- 108 System Management
- 49 Web Management
- 68 Mobile Computing
- 23 Android
- 30 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 538 Off Topic
- 131 Introductions
- 217 Small Talk
- 22 Study Material
- 826 Programming and Development
- 278 Kernel Development
- 514 Software Development
- 928 Software
- 260 Applications
- 184 Command Line
- 3 Compiling/Installing
- 76 Games
- 316 Installation
- 61 All In Program
- 61 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)