- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory & swap space
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
тАО09-28-2010 09:00 AM
тАО09-28-2010 09:00 AM
Re: Memory & swap space
memory 16363 4488 11875 27%
total 32747 13782 18965 42%
I don't see that 99% memory usage? Was that during the peak?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2010 09:56 AM
тАО09-28-2010 09:56 AM
Re: Memory & swap space
I see the 99% when i use glance.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2010 11:30 AM
тАО09-28-2010 11:30 AM
Solution> instance: 1
> instance size: 126GB
> sga Maxsize: 6GB
> SGA Target: 4GB
Ok, 6GB SGA for 16 GB system feels alright. So that's not directly the image.
We'll have to figure out where the rest of the memory went. With dbc_max_pct @50, it could be sitting in the buffer cache to the tune of 8GB, ready to help or or give back under pressure. With 11.31 the giving back works well. With 11.23 it is my understanding that it is less effecient, and thus you may want to reduce dbc_max_pct to say 10%.
#ipcs -m
Ooops, I should have asked ipcs -ma or -mb
That will give a size column
Anyway, I'm not yet convinced there even is a problem. So the memory is in high use, with low free. Great! The system is using the memory that was bought for it. Excellent.
What is the problem?
Performance issues? How do you tell? Tell us.
Instability (why is that due to low memory)?
Is there a high PI or PO rate during regular work?
Regards,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 04:11 AM
тАО09-29-2010 04:11 AM
Re: Memory & swap space
Our banking application hangs during peak hours. And the memory ultilisation rises to 99% when monitered with glance.
If i may ask , can i reduce " dbc_max_pct 50 Default Immed" to let us sy 15 or 20? And what will be the implication on the banking application and also the oracle database?
Thank you.
Kingsley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 04:32 AM
тАО09-29-2010 04:32 AM
Re: Memory & swap space
If i may ask , can i reduce " dbc_max_pct 50 Default Immed" to let us sy 15 or 20? And what will be the implication on the banking application and also the oracle database?
I think that would be a good move to make. Since Oracle has its own buffer cache, caching more of the same in the UNIX buffer cache is wasteful. You could monitor read-hit ratios with 'sar -b' before and after adjusting the 'dbc_max_pct' if you like. Empirical measurements will tell you the implication of your change in *your* environment.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 05:39 AM
тАО09-29-2010 05:39 AM
Re: Memory & swap space
define 'hang'! We all have our own understanding/expectation for that.
I suspect that here it means that all end user applications became unresponsive.
But what it the system doing at that time besides using memory?
Why do you thing high memory use is relevant at all for the purpose of the hang? Please be specific!
- Is the CPU busy? top?
- Apparently you can use GLANCE.
- What else can you use? df? ls -l for Oracle files? df ?...
- What can you NOT use... (errors, or getting stuck).
- Are all Networks operational (ping, telnet, ftp, ssh, tnsping, remote non-application table oracle access)
- What does Oracle (Enterprise Manager) report when/while it hangs?
- Is Oracle responsive to local SQLplus queries at all? (select * from v$instance)
- Can local Oracle execute some banking query
Just the fact that you only mentioned 'hang' without specifics other then a potentially irrelevant high memory usage suggest to me that you may want to escalate this issue, and get more external and internal help.
You may want to prepare some answers to the questions above to get the best possible help. For now it is not clear whether yo shoudl engage an Oracle, Network, Storage or HPUX expert. Personally I would engage them in the order I list them. yes, that impleis that I think this is least likely to be an HPUX problem, allthough a good HPUX resource may help yo pinpoint the problem.
Good luck
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 06:47 AM
тАО09-29-2010 06:47 AM
Re: Memory & swap space
One more hint. During peak hours, when the banking application slows, syslog.log reads
"Sep 28 16:12:25 t24dbpro inetd[1057]: chargen/tcp: accept: No buffer space available
Sep 28 16:12:25 t24dbpro inetd[1057]: discard/tcp: accept: No buffer space available
Sep 28 16:12:25 t24dbpro inetd[1057]: daytime/tcp: accept: No buffer space available
Sep 28 16:12:25 t24dbpro inetd[1057]: telnet/tcp: accept: No buffer space available
Sep 28 16:12:25 t24dbpro sshd[931]: error: accept: No buffer space available
Sep 28 16:12:25 t24dbpro inetd[1057]: ftp/tcp: accept: No buffer space available
Sep 28 16:12:26 t24dbpro inetd[1057]: swat/tcp: accept: No buffer space available
Sep 28 16:12:26 t24dbpro inetd[1057]: dtspc/tcp: accept: No buffer space available
Sep 28 16:12:26 t24dbpro inetd[1057]: printer/tcp: accept: No buffer space available
Sep 28 16:12:26 t24dbpro inetd[1057]: auth/tcp: accept: No buffer space available
Sep 28 16:12:26 t24dbpro inetd[1057]: exec/tcp: accept: No buffer space available
Sep 28 16:12:26 t24dbpro inetd[1057]: shell/tcp: accept: No buffer space available
Sep 28 16:12:26 t24dbpro inetd[1057]: login/tcp: accept: No buffer space available
Thank you
kingsley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 07:02 AM
тАО09-29-2010 07:02 AM
Re: Memory & swap space
Does that perhaps also suggest that _some_ (new) end users hang, but others can keep working)?
This may be a TCP configrutation issues such as : tcp_conn_request_max
See for example:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=237561
In there Rick Jones (albeit in 2003) wrote
"Indeed, 99 times out of ten, this message has nothing to do with availability of memory. It means that by the time the server application got around to calling accept() on the listen socket, the remote client had given-up (for wahtever reason) and aborted the connection. The exact reason why an ENOBUF is returned in this case in HP-UX 11.X is starting to get lost in the mists of time"
also....
https://forums.sdn.sap.com/thread.jspa?threadID=1477203
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=969702
good luck,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 09:14 AM
тАО09-29-2010 09:14 AM
Re: Memory & swap space
tcp_conn_request_max=4096
Thank you
Kingsley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 11:41 AM
тАО09-29-2010 11:41 AM
Re: Memory & swap space
The problem is memory pressure.
Log a case with HP support, get the kmeminfo utility, issue kmeminfo;kmeminfo -user;swapinfo -tam, during a "hang", and this info should give enough indication as to what causes the problem and how to resolve it.
Greetz,
Chris