- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory leak
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
тАО02-07-2001 12:12 PM
тАО02-07-2001 12:12 PM
Memory leak
This server is running HP-UX 11.0, multiple Netscape web servers, and Oracle 8i.
Has anyone encountered similar problems, and how were they resolved?
--Don
- Tags:
- leak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2001 01:36 PM
тАО02-07-2001 01:36 PM
Re: Memory leak
Also, I know that there have been HP OS patches released which resolved memory leak issues with various daemons and such.
Also, check with Netscape. There may be patches you need to apply for the version of Netscape that you're running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2001 02:04 PM
тАО02-07-2001 02:04 PM
Re: Memory leak
Are you facing any performance degradation with this machine? It may be just the dynamic buffer cache using lots of memory. check your dbc_max and min kernel parameters. Also check with glance and top which processes are eating up your memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2001 03:06 PM
тАО02-07-2001 03:06 PM
Re: Memory leak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2001 03:37 PM
тАО02-07-2001 03:37 PM
Re: Memory leak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2001 05:17 PM
тАО02-07-2001 05:17 PM
Re: Memory leak
Set the UNIX95 environmental varible and run a custom 'ps' command [ compliments of Bill Hassell ]; notably:
UNIX95= ps -e -o "user,vsz,pid,ppid,arg" | sort -rnk2 | more
See the man pages for 'ps' for more details.
...JRF...
- Tags:
- UNIX95
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2001 07:29 PM
тАО02-07-2001 07:29 PM
Re: Memory leak
You are running both netscape web servers as well as Oracle 8i on the same system.
Have you run glance or top to identify the processes with the highest memory consumption? Do you see the memory consumption increasing over time for these processes from the time these processes were first started up? Is this the right amount of memory each process should legitimately take up?
If you are running Oracle server single-threaded, do you observe a corresponding increase in the number of Oracle processes in the system with the memory consumption? Each client process will take up some memory outside the SGA. What is your Oracle timeout setting for client connections? Have you also set a limit to the number of Oracle processes in your system in initSID.ora?
For your netscape web servers, are you limiting the number of concurrent web sessions you are serving at any one time? What is your tcp_keepalive_interval? If you set it to too long, hung connections may accumulate in your server.
As a rule of thumb, it is usually not advisable to run multiple resource-intensive applications on a single server. This makes it harder to both finetune your system and isolate the application that is the cause of any performance bottleneck. In addition, you are risking a single point of failure as well by having all your applications running on a single system. Web servers also pose a greater security risk than databases. It is more secure to segregate applications of different security policies to contain any security breach.
If I were you, I will segregate the netscape web servers out of the L-class server and leave Oracle running as the sole application in the system.
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
тАО02-07-2001 10:46 PM
тАО02-07-2001 10:46 PM
Re: Memory leak
Try to find the memory intense process with ipcs. If necessary, you can free the memory with the ipcrm command. But you should definitely be sure, what you do and that you identified the right process.
By the way, running a database and a webserver on the same machine requires some real hardware depending on the number of users.
Usually you should have one cpu per 50 to 60 users. Try to reduce the SGA of the database
and the memory adjustments for the webserver.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2001 12:53 AM
тАО02-08-2001 12:53 AM
Re: Memory leak
There is a known memory leak due to the "mib2agt" process.
Typing the following command will surely show that process on top:
UNIX95= ps -e -o ruser,vsz,pid,args | sort -rnk2 | head
It's solved with patch PHSS_21046.
ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHSS_21046
Best regards,
dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2001 11:43 PM
тАО02-11-2001 11:43 PM
Re: Memory leak
There are many memory leak related fixes in the iPLanet Web Server 4.1 and 4.0 service packs:
Web Server 4.1 SP1:
394323. SSL memory leak with client certificates
Web Server 4.0 SP2:
361653. A memory leak in ACLs has been fixed
362484. A memory leak in File Descriptors has been fixed
363598. A memory leak in file cache has been fixed
Regards
Peter