- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Catastrophic error #21015: 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
тАО12-21-2009 04:10 AM
тАО12-21-2009 04:10 AM
Catastrophic error #21015: Out of memory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Catastrophic error #21015: Out of memory
1 catastrophic error detected in the compilation of "kdli.c".
Compilation terminated.
gmake: *** [kdli.o] Error 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am using following compiler version:
$ ... ansic/bin/cc -V
cc: HP C/aC++ B3910B A.06.14 [Feb 22 2007]
Any idea why this error? Is there any known is reported on that compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 06:08 AM
тАО12-21-2009 06:08 AM
Re: Catastrophic error #21015: Out of memory
I'd take the error on its merits.
as root, check swapinto -tam
Lets see what the memory situation actually is.
I'd also check the system is patched appropriately, the error could come from not meeting Oracle patch requirements.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 07:00 AM
тАО12-21-2009 07:00 AM
Re: Catastrophic error #21015: Out of memory
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 08:37 AM
тАО12-21-2009 08:37 AM
Re: Catastrophic error #21015: Out of memory
>Catastrophic error #21015: Out of memory
Since you aren't on A.06.15 or later where you you need to configure maxdsiz_64bit to 4 GB or larger, you need to do what SEP and Bill suggests and look at your swap and maxdsiz.
The latest version of aC++ is A.06.24.
>Bill: Building Oracle normally requires enormous amounts of memory (dozens of GB)
This version of the compiler can only use 1 GB at a time.
>Your installation notes from Oracle should indicate how much memory you will need.
To install Oracle shouldn't take large amounts of swap, only building it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 05:21 AM
тАО12-22-2009 05:21 AM
Re: Catastrophic error #21015: Out of memory
I know it's shutdown period for hp folks and not available till 3rd of next month :-)
Looks like we have a good memory. See detail here:
$ swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8388608 9900 8378708 0% 0 - 1 /dev/vg00/lvol2
dev 37109760 0 37109760 0% 0 - 5 /dev/vg00/lvol10
dev 8388608 9756 8378852 0% 0 - 1 /dev/vg01/lvol1
dev 32563200 0 32563200 0% 0 - 5 /dev/vg01/lvol3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 06:28 AM
тАО12-22-2009 06:28 AM
Re: Catastrophic error #21015: Out of memory
Please provide "swapinfo -tam" as SEP asked.
Also provide the values of maxdsiz, maxdsiz_64bit, maxssiz and maxssiz_64bit.
What optimization options are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 01:56 AM
тАО12-23-2009 01:56 AM
Re: Catastrophic error #21015: Out of memory
Kindly see the same below:
$ swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvol2
dev 8192 0 8192 0% 0 - 1 /dev/vg01/lvol1
reserve - 885 -885
memory 16364 4012 12352 25%
total 32748 4897 27851 15% - 0 -
> Also provide the values of maxdsiz, maxdsiz_64bit, maxssiz and maxssiz_64bit.
$ kctune |grep -i maxdsiz
maxdsiz 2952790016 2952790016 Immed
maxdsiz_64bit 17179869184 17179869184 Immed
$ kctune |grep -i maxssiz
maxssiz 134217728 134217728 Immed
maxssiz_64bit 1073741824 1073741824 Immed
pa_maxssiz_32bit 83648512 Default
pa_maxssiz_64bit 536870912 Default
> What optimization options are you using?
+Olibmerrno +Ovolatile=__unordered +Ofast +Olit=all +DSblended +Onopreserved_fpregs +Onorotating_fpregs +Onofailsafe +Odatalayout +FPd +Ofltacc +O2 +Oprofile=use:.../flow.data
env variable 'PROFILE_ON=use' is set.
Should we reduce/disable optimization? If so, is this will not create any unexpected results/probolems?
Note:-
Actually, this issue (Catastrophic error #21015: Out of memory) is start coming after applying one of the oracle patch which is adding fix code changes to xyz.c source file. And then the issue is coming during compilation of xyz.c.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 02:34 AM
тАО12-23-2009 02:34 AM
Re: Catastrophic error #21015: Out of memory
Now, you have plenty of swap.
>maxdsiz 2952790016
This is more than ecom can use.
>maxssiz 134217728
This is way too much. You could recompile by first using:
ulimit -s $(( 40 * 1024 ))
>Should we reduce/disable optimization? If so, is this will not create any unexpected results/problems?
You'll have to do that. Either that or go to the latest, A.06.24, where there is no limit.
Otherwise dropping the optimization level may slow down the application.
If you aren't using the very latest compilers, you should remove +Onofailsafe.
>after applying one of the oracle patch which is adding fix code changes to xyz.c source file. And then the issue is coming during compilation of xyz.c.
If you know the function(s) that changed, then you can either split them up or use:
+O1=function1,function2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 04:28 AM
тАО12-23-2009 04:28 AM
Re: Catastrophic error #21015: Out of memory
$ ulimit -s
131072
$ ulimit -s 40960
$
$ ulimit -s
131072
The value 40960 is not taken effect for stack size change. Any idea why is it so?
Oracle 11gR1 is recommended A.06.14. So, I don't think we can upgrade to latest which is A.06.24.
Trying out one of other suggested options i.e., removing 'Onofailsafe' and compiling the source. Will update the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 04:37 AM
тАО12-23-2009 04:37 AM
Re: Catastrophic error #21015: Out of memory
Is this okay to use as a workaround? OR is it worth while to try other option? i.e.,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you know the function(s) that changed, then you can either split them up or use:
+O1=function1,function2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~