on 07-15-2015 9:10 PM
Hi All,
SAP SMD agent went down with below error message.Please help us to fix this issue.
--------------------------------------------------------------------------------
stdout/stderr redirection
--------------------------------------------------------------------------------
node name : SMDAgent
host name : huxc8e15
system name : DAR
system nr. : 28
started at : Wed Jul 15 21:02:30 2015
os::malloc: failed to malloc 32752 bytes (errno 12).#
# A fatal error has been detected by SAP Java Virtual Machine:
#
# java.lang.OutOfMemoryError: requested 32752 bytes for ChunkPool::allocate. Out of swap space or heap resource limit exceeded (check with limits or ulimit)?
#
# Internal Error (allocation.cpp:206), pid=20906014, tid=3856
# Error: ChunkPool::allocate
#
# JRE version: 6.0_29-b11
# Java VM: SAP Java Server VM (6.1.037 19.1-b02 Jan 4 2012 03:07:49 - 61_REL - optU - aix ppc64 - 6 - bas2:164951 (mixed mode) compressed oops)
# An error report file with more information is saved as:
# /usr/sap/DAR/SMDA28/SMDAgent/hs_err_pid20906014.log
os::malloc: failed to malloc 40928 bytes (errno 12).--------------------------------------------------------------------------------
stdout/stderr redirection
--------------------------------------------------------------------------------
node name : SMDAgent
host name : huxc8e15
system name : DAR
system nr. : 28
started at : Wed Jul 15 21:02:47 2015
Regards,
Raj
Hi All,
Find some additional log files,
F Main method call:
F com/sap/smd/agent/launcher/SMDAgentLauncher.main()
F arg[ 0] = run
F arg[ 1] = jcontrol
F ********************************************************************************
F
F [Thr 258] Wed Jul 15 21:14:03 2015
F [Thr 258] *** LOG => State changed from 0 (Initial) to 1 (Waiting to start).
F [Thr 258] *** LOG state real time: 3.142 CPU time: 0.460 sys, 2.290 usr
F [Thr 258] *** LOG total real time: 3.142 CPU time: 0.460 sys, 2.290 usr
F [Thr 258]
F
F [Thr 258] Wed Jul 15 21:14:06 2015
F [Thr 258] *** LOG => State changed from 1 (Waiting to start) to 2 (Starting framework).
F [Thr 258] *** LOG state real time: 2.651 CPU time: 0.030 sys, 1.910 usr
F [Thr 258] *** LOG total real time: 5.794 CPU time: 0.490 sys, 4.200 usr
F [Thr 258]
F [Thr 258] *** LOG => State changed from 2 (Starting framework) to 3 (Running).
F [Thr 258] *** LOG state real time: 0.152 CPU time: 0.000 sys, 0.120 usr
F [Thr 258] *** LOG total real time: 5.947 CPU time: 0.490 sys, 4.320 usr
F [Thr 258]
F
F [Thr 3599] Wed Jul 15 21:14:21 2015
F [Thr 3599] *** LOG => SfCJavaVm: abort hook is called.
F
F Wed Jul 15 21:14:21 2015
F
F ********************************************************************************
F *** ERROR => Java VM crashed.
F ***
F *** Please see section 'Java process issues'
F *** in SAP Note 1316652 for additional information and trouble shooting advice.
F ********************************************************************************
F
F [Thr 01] *** LOG => exiting (exitcode 22000, retcode 1).
M [Thr 01] CCMS: alert/disable_j2ee_monitoring set. CCMS Monitoring of J2EE Engine switched off.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please some log files below.
JRE version: 6.0_29-b11
# Java VM: SAP Java Server VM (6.1.037 19.1-b02 Jan 4 2012 03:07:49 - 61_REL - optU - aix ppc64 - 6 - bas2:164951 (mixed mode) compressed oops)
# An error report file with more information is saved as:
# /usr/sap/DAR/SMDA28/SMDAgent/hs_err_pid19660858.log
#
# If you would like to submit a bug report, please visit:
# http://service.sap.com/message
#
--------------------------------------------------------------------------------
stdout/stderr redirection
--------------------------------------------------------------------------------
node name : SMDAgent
host name : huxc8e15
system name : DAR
system nr. : 28
started at : Wed Jul 15 21:14:22 2015
os::malloc: failed to malloc 180432 bytes (errno 12).#
# A fatal error has been detected by SAP Java Virtual Machine:
#
# java.lang.OutOfMemoryError: requested 180432 bytes for Chunk::new - os::malloc. Out of swap space or heap resource limit exceeded (check with limits or ulimit)?
#
# Internal Error (allocation.cpp:334), pid=19660862, tid=3599
# Error: Chunk::new - os::malloc
#
# JRE version: 6.0_29-b11
# Java VM: SAP Java Server VM (6.1.037 19.1-b02 Jan 4 2012 03:07:49 - 61_REL - optU - aix ppc64 - 6 - bas2:164951 (mixed mode) compressed oops)
os::malloc: failed to malloc 32752 bytes (errno 12).# An error report file with more information is saved as:
# /usr/sap/DAR/SMDA28/SMDAgent/hs_err_pid19660862.log
os::malloc: failed to malloc 32752 bytes (errno 12).--------------------------------------------------------------------------------
stdout/stderr redirection
--------------------------------------------------------------------------------
node name : SMDAgent
host name : huxc8e15
system name : DAR
system nr. : 28
started at : Wed Jul 15 21:14:39 2015
os::malloc: failed to malloc 1434272 bytes (errno 12).#
# A fatal error has been detected by SAP Java Virtual Machine:
#
# java.lang.OutOfMemoryError: requested 1434272 bytes for Chunk::new - os::malloc. Out of swap space or heap resource limit exceeded (check with limits or ulimit)?
# Internal Error (allocation.cpp:334), pid=19660866, tid=3856
# Error: Chunk::new - os::malloc
#
# JRE version: 6.0_29-b11
# Java VM: SAP Java Server VM (6.1.037 19.1-b02 Jan 4 2012 03:07:49 - 61_REL - optU - aix ppc64 - 6 - bas2:164951 (mixed mode) compressed oops)
# An error report file with more information is saved as:
# /usr/sap/DAR/SMDA28/SMDAgent/hs_err_pid19660866.log
#
# If you would like to submit a bug report, please visit:
# http://service.sap.com/message
#
--------------------------------------------------------------------------------
stdout/stderr redirection
--------------------------------------------------------------------------------
node name : SMDAgent
host name : huxc8e15
system name : DAR
system nr. : 28
started at : Wed Jul 15 21:15:07 2015
os::malloc: failed to malloc 1434400 bytes (errno 12).#
# A fatal error has been detected by SAP Java Virtual Machine:
#
# java.lang.OutOfMemoryError: requested 1434400 bytes for Chunk::new - os::malloc. Out of swap space or heap resource limit exceeded (check with limits or ulimit)?
#
# Internal Error (allocation.cpp:334), pid=19660870, tid=3856
# Error: Chunk::new - os::malloc
#
# JRE version: 6.0_29-b11
# Java VM: SAP Java Server VM (6.1.037 19.1-b02 Jan 4 2012 03:07:49 - 61_REL - optU - aix ppc64 - 6 - bas2:164951 (mixed mode) compressed oops)
# An error report file with more information is saved as:
# /usr/sap/DAR/SMDA28/SMDAgent/hs_err_pid19660870.log
#
# If you would like to submit a bug report, please visit:
# http://service.sap.com/message
#
--------------------------------------------------------------------------------
stdout/stderr redirection
--------------------------------------------------------------------------------
node name : SMDAgent
host name : huxc8e15
system name : DAR
system nr. : 28
started at : Wed Jul 15 21:15:30 2015
os::malloc: failed to malloc 1433680 bytes (errno 12).#
# A fatal error has been detected by SAP Java Virtual Machine:
#
# java.lang.OutOfMemoryError: requested 1433680 bytes for Chunk::new - os::malloc. Out of swap space or heap resource limit exceeded (check with limits or ulimit)?
#
# Internal Error (allocation.cpp:334), pid=19660874, tid=3856
# Error: Chunk::new - os::malloc
#
# JRE version: 6.0_29-b11
# Java VM: SAP Java Server VM (6.1.037 19.1-b02 Jan 4 2012 03:07:49 - 61_REL - optU - aix ppc64 - 6 - bas2:164951 (mixed mode) compressed oops)
# An error report file with more information is saved as:
# /usr/sap/DAR/SMDA28/SMDAgent/hs_err_pid19660874.log
Regards,
Raj
Hi Raj,
Goto DAAADM user or SMDADM, then set 'ulimit to unlimited for all parameters.
For eg, for time, you can unlimited and so on.
Do it for all, as you can see below.
hostname>:daaadm > ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) unlimited
If your OS is AIX - then refer - 323816 - AIX: User limit settings
For others OS, you can google on how set ulimit.
If that doesn't works then goto
/usr/sap/<SID>/<DAA>/SMDA<XX>/SMDAgent - open file smdagent.properties and set
smdagent.javaParameters=-DP4ClassLoad=P4Connection -Xmx512m -Xms512m -XX:MaxPermSize=128m
or
smdagent.javaParameters=-DP4ClassLoad=P4Connection -Xmx512m -Xms512m -XX:MaxPermSize=256m
Regards,
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.