- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX(11.23) pstat_getproc() EOVERFLOW
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
тАО10-01-2009 05:38 PM
тАО10-01-2009 05:38 PM
I have a trouble on HP-UX(11.23 64bit)
Some application(32bit) have occurred EOVERFLOW at pstat_getproc().
I don't know what condition of application in cae of this error.
I'd like to know the reappearance condition of this error and ask the programmer to fix bug.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 08:04 PM
тАО10-01-2009 08:04 PM
Re: HP-UX(11.23) pstat_getproc() EOVERFLOW
See pstat(2).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 08:32 PM
тАО10-01-2009 08:32 PM
Re: HP-UX(11.23) pstat_getproc() EOVERFLOW
But I need to find the condition of this issue.
while this issue don't occurr at Single-processor server, it occurrs several times at 2-processor server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 09:02 PM
тАО10-01-2009 09:02 PM
Re: HP-UX(11.23) pstat_getproc() EOVERFLOW
Why? The solution is to always use -D_PSTAT64.
It is probably not worth your or the programmer's time to find out why.
There are status flags to indicate exactly which field doesn't fit, pst_valid. There seems to be only three fields that can have problems:
PST_ADDR PST_WCHAN PST_MAXRSS
Basically the value returned doesn't fit in either 2 G or 4 G, 32 bits.
Look at all of the fields in struct pst_status.
The 11.31 man page has lots of details:
http://docs.hp.com/en/B2355-60130/pstat.2.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2009 03:40 AM
тАО10-02-2009 03:40 AM
Re: HP-UX(11.23) pstat_getproc() EOVERFLOW
Thank you for your suggestion.
I'll try it next Monday.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 02:31 AM
тАО10-05-2009 02:31 AM
Re: HP-UX(11.23) pstat_getproc() EOVERFLOW
I try to run the application with -D_PSTAT64 option compiled and I've got the solution with confidence.
From 9:00 am to 7:00 pm , the fixed application didn't occurred EOVERFLOW at pstat_getproc()
although the old application got an error per 5times.
Thank you for your advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 05:59 PM
тАО10-05-2009 05:59 PM
Re: HP-UX(11.23) pstat_getproc() EOVERFLOW
at last
I sleep well tonight.