- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: scope and glance - resource allocation issue
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
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
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
01-25-2016 01:23 AM
01-25-2016 01:23 AM
scope and glance - resource allocation issue
Hello,
There is a strange problem where I want to check resource utilization with glance but it directly creates a core file and OVO SCOPE process isn't running on the server although I have stopped and started it several times. It gives a bad allocation message where there is enough memory&swap space and parameter usage seems fine (i checked the forum and encountered http://community.hpe.com/t5/Languages-and-Scripting/aCC-runtime-error/m-p/4287919/highlight/true#M43448) Could it be a known bug or anything you would suggest to investigate in core file?
status.scope output
**** /opt/perf/bin/scopeux : 01/22/16 10:42:50 ****
scopeux/HP-UX 11.13.007 COLLECTOR BEGIN.
aCC runtime: Uncaught exception of type "std::bad_alloc".
aCC runtime: what(): bad allocation exception thrown (0xffffff30 bytes)
server02:/var/opt/perf#
server02:/var/opt/perf#
server02:/var/opt/perf#swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 49152 0 49152 0% 0 - 1 /dev/vg00/lvswap01
reserve - 53248 -53248
memory 466899 171697 295202 37%
total 520147 224945 295202 43% - 0 -
server02:/var/opt/perf#
server02:/var/opt/perf#kcusage maxdsiz
Tunable Usage / Setting
=============================================
maxdsiz 638255104 / 1073741824
server02:/var/opt/perf#kcusage maxdsiz_64bit
Tunable Usage / Setting
=============================================
maxdsiz_64bit 1187708928 / 2147483648
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2016 03:02 AM - edited 01-25-2016 03:03 AM
01-25-2016 03:02 AM - edited 01-25-2016 03:03 AM
Re: scope and glance - resource allocation issue
>It gives a bad allocation message where there is enough memory & swap space and parameter usage seems fine
aCC runtime: Uncaught exception of type "std::bad_alloc".
aCC runtime: what(): bad allocation exception thrown (0xffffff30 bytes)
What is the value of maxdsiz_64bit? You need to grow by 4 Gb.
maxdsiz_64bit XXXX / 2147483648
This is less than half the needed size. (The proper command is kctune(1m)).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2016 04:44 AM
01-25-2016 04:44 AM
Re: scope and glance - resource allocation issue
I also have other HPUX 11.31 servers running glance with that setting of maxdsiz_64bit. How did you understand that it is less than required?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2016 05:45 AM
01-25-2016 05:45 AM
Re: scope and glance - resource allocation issue
**** /opt/perf/bin/scopeux : 01/25/16 15:39:07 ****
scopeux/HP-UX 11.13.007 COLLECTOR BEGIN.
So it started again; after killing midaemon process. mwa stop; mwa start action apparently didn't kill midaemon process. That was the solution, the cause is still unknown. It still may occur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2016 10:30 AM - edited 01-25-2016 10:30 AM
01-25-2016 10:30 AM - edited 01-25-2016 10:30 AM
Re: scope and glance - resource allocation issue
>How did you understand that it is less than required?
Because it failed? :-) Because (0xffffff30 bytes) is near 4 GB.
Of course I don't know why it needs so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2016 09:32 AM
01-26-2016 09:32 AM
Re: scope and glance - resource allocation issue
>Because (0xffffff30 bytes) is near 4 GB.
Hmm, since scopeux is a 32 bit app, 0xffffff30 is really a negative number so likely to be a software bug.