- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error in syslog: Java out of memory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2008 08:53 AM
тАО03-01-2008 08:53 AM
Error in syslog: Java out of memory
Please help to figure out the problem.
We have a TWS8.3 running with websphere on HP i64 11.23
Websphere app server hung at around 21:18 and the following messages appeared in syslog:
Feb 27 21:18:48 syslog: Java out of memory messages are marked with pid:8990 in /var/adm/syslog/syslog.log.
Feb 27 21:18:48 syslog: pid: 8990 4Kb 4Kb 4Kb PCT START/ 4K
b DEV NO./
Feb 27 21:18:48 syslog: pid: 8990 TYPE AVAIL USED FREE USED LIMIT RESERV
E PRI FILE NAME
Feb 27 21:18:48 syslog: pid: 8990 dev 1048576 0 1048576 0.00% 0
- 1 64 (major) 2 (minor)
Feb 27 21:18:48 syslog: pid: 8990 reserve - 2421209 -2421209
Feb 27 21:18:48 syslog: pid: 8990 memory 4177160 1258876 2918284 30.14%
Feb 27 21:18:48 syslog: pid: 8990 Dynamic libraries:
Feb 27 21:18:48 syslog: Java out of memory messages are marked with pid:8990 in /var/adm/syslog/syslog.log.
Feb 27 21:18:48 syslog: pid: 8990 4Kb 4Kb 4Kb PCT START/ 4K
b DEV NO./
Feb 27 21:18:48syslog: pid: 8990 TYPE AVAIL USED FREE USED LIMIT RESERV
E PRI FILE NAME
Feb 27 21:18:48 syslog: pid: 8990 dev 1048576 0 1048576 0.00% 0
- 1 64 (major) 2 (minor)
Feb 27 21:18:48 syslog: pid: 8990 reserve - 2421209 -2421209
Feb 27 21:18:48 syslog: pid: 8990 memory 4177160 1258876 2918284 30.14%
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2008 09:08 AM
тАО03-01-2008 09:08 AM
Re: Error in syslog: Java out of memory
How much memory does your server have?
How active is your websphere environment?
How many concurrent connections do you see on your server?
What kind of connections are they? Do many of them use JAVA? Java processes are known to use a lot of memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 06:47 AM
тАО03-03-2008 06:47 AM
Re: Error in syslog: Java out of memory
How much memory does your server have?
Memory: 4617792K (2274684K) real, 7791600K (4448596K) virtual, 5345872K free
How active is your websphere environment?
used only for TWS
How many concurrent connections do you see on your server?
[What kind of connections are they? Do many of them use JAVA? Java processes are known to use a lot of memory
ps -ef|grep java
root 1873 1 0 Nov 18 ? 94:43 /opt/java1.3/jre/bin/../bin/IA64/native_threads/java -DRunnerValuePairFile=/var/opt/runner/data/valuePairs -cp /opt/runner/java
root 2291 2273 0 Nov 18 ? 212:02 /opt/IBM/SCM/client/../_jvm/jre/bin/../bin/IA64/native_threads/java -Xint -Xmx64m -Djlog.logCmdPort=1953 -Dsun.net.inetaddr.ttl
root 7482 1 0 10:43:52 ? 4:05 /u01/app/tws/twsadmin/appserver/java/bin/IA64W/java -XX:MaxPermSize=128m -Dwas.status.socket=60159 -Djava.net.preferIPv4Stack=f
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 07:29 AM
тАО03-03-2008 07:29 AM
Re: Error in syslog: Java out of memory
Can you tell which one ran out of memory in the syslog?
Also the syslog is complaining about what looks like swap space in
> Feb 27 21:18:48 syslog: pid: 8990 dev 1048576 0 1048576 0.00% 0 - 1 64 (major) 2 (minor)
Do you have glance installed? It shows a better picture of the memory status of the server, including virtual and swap.
Some things to check are
1. the size of the swap volume
2. the kernel parameters for dbc_pct_max and dbc_pct_min, by default they are set to 50% and 5%. If based on your statement above your server has 4.5GB physical memory the dbc_max_pct and min should be set to 4% and 2%.
3. Check with the JAVA that has the memory issue if there are any memory leaks in the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 11:17 AM
тАО03-03-2008 11:17 AM
Re: Error in syslog: Java out of memory
swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 16384000 317820 16066180 2% 0 - 0 /dev/vg00/lvol10
reserve - 8594688 -8594688
memory 16708640 4983892 11724748 30%
2. the kernel parameters for dbc_pct_max and dbc_pct_min,
dbc_min_pct 5 5 yes
dbc_max_pct 15 15 yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 11:20 AM
тАО03-03-2008 11:20 AM
Re: Error in syslog: Java out of memory
Feb 27 21:18:48 syslog: pid: 8990 dev 1048576 0 1048576 0.00% 0 - 1 64 (major) 2 (minor)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 12:36 PM
тАО03-03-2008 12:36 PM
Re: Error in syslog: Java out of memory
I don't understand however why in your syslog, pid 8990 complains about the swap space and that swap space is shown to be only 1GB!?
> Feb 27 21:18:48 syslog: pid: 8990 dev 1048576 0 1048576 0.00% 0 - 1 64 (major) 2 (minor)
Any other messages in /var/adm/syslog/syslog.log at about the same time TWS hang?
It could also be a parameter setting in the TWS configuration. Unfortunately I am not familiar withe TWS.
Keep looking for more clues.