- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory fault(coredump)
Operating System - HP-UX
1822480
Members
2866
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-18-2001 01:03 AM
тАО12-18-2001 01:03 AM
Memory fault(coredump)
Hi forum,
Getting attached error if trying "desc ra_customer" command from SQL prompt. I have exceeded "ulimit" values while remaining in POSIX shell and also tried by changing the shell to K Shell which I suppose makes ulimit value as unlimited.
Please help !!!!
Getting attached error if trying "desc ra_customer" command from SQL prompt. I have exceeded "ulimit" values while remaining in POSIX shell and also tried by changing the shell to K Shell which I suppose makes ulimit value as unlimited.
Please help !!!!
Never Ever give Up !!!!!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2001 01:29 AM
тАО12-18-2001 01:29 AM
Re: Memory fault(coredump)
Hi,
Check your kernel parameters and swap size whether they have been over-utilised and under-sized.
Check maxssiz, maxdsiz and maxtsiz:
# kmtune|grep maxssiz
# kmtune|grep maxdsiz
# kmtune|grep maxtsiz
Check swap:
# swapinfo -mt
If any of these have been exceeded, you will need to resize them accordingly.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Check your kernel parameters and swap size whether they have been over-utilised and under-sized.
Check maxssiz, maxdsiz and maxtsiz:
# kmtune|grep maxssiz
# kmtune|grep maxdsiz
# kmtune|grep maxtsiz
Check swap:
# swapinfo -mt
If any of these have been exceeded, you will need to resize them accordingly.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2001 01:53 AM
тАО12-18-2001 01:53 AM
Re: Memory fault(coredump)
Deepak :
Looks like machine is running short of resources. One point to note that sh-posix and ksh are same in HP-UX.
Thanks,
Looks like machine is running short of resources. One point to note that sh-posix and ksh are same in HP-UX.
Thanks,
Think Positive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2001 05:25 AM
тАО12-18-2001 05:25 AM
Re: Memory fault(coredump)
Just to clarify, ksh and POSIX shell are different programs in HP-UX. The POSIX shell is a slight super-set, but there are specific (if not esoteric) differences. Read the Release notes in /usr/share/doc for the differences.
One of the differences is ulimit. ksh has no options and it refers exclusively to the number of 512 byte blocks that can be written to a file by the current user. The POSIX shell has 7 different options:
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 65536
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) 60
so it is not clear which ulimit value you have exceeded. It's possible that a process is trying to open more than 60 files (nofiles above), in which case, you can use the command:
$ ulimit -n 120
which will set a new limit of 120 files per process. Programs can (and should) make this change themselves by calling setrlimit but alas, many do not. Note also that the POSIX shell can set a soft or hard limit (ulimit -S or -H) and it's possible that the sysadmin set a hard limit in /etc/profile. The kernel parameter maxfiles set the soft limit, while maxfiles_lim sets a system-wide limit that ulimit cannot override.
For sysadmins, you can set a new file count limit and core file limit in /etc/profile something like:
ulimit -Sn 120
ulimit -Sc 0
thus allowing programmers that really(?) need to open more than 120 files to use ulimit in their local session. Same with core files. The above will default to no core files for each user.
Bill Hassell, sysadmin
One of the differences is ulimit. ksh has no options and it refers exclusively to the number of 512 byte blocks that can be written to a file by the current user. The POSIX shell has 7 different options:
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 65536
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) 60
so it is not clear which ulimit value you have exceeded. It's possible that a process is trying to open more than 60 files (nofiles above), in which case, you can use the command:
$ ulimit -n 120
which will set a new limit of 120 files per process. Programs can (and should) make this change themselves by calling setrlimit but alas, many do not. Note also that the POSIX shell can set a soft or hard limit (ulimit -S or -H) and it's possible that the sysadmin set a hard limit in /etc/profile. The kernel parameter maxfiles set the soft limit, while maxfiles_lim sets a system-wide limit that ulimit cannot override.
For sysadmins, you can set a new file count limit and core file limit in /etc/profile something like:
ulimit -Sn 120
ulimit -Sc 0
thus allowing programmers that really(?) need to open more than 120 files to use ulimit in their local session. Same with core files. The above will default to no core files for each user.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP