- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory leakage
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
Forums
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
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
08-08-2005 04:23 PM
08-08-2005 04:23 PM
We are using hp apache, weblogic and iplanet web server on hpux 11i.
I suspect some of them might be producing memory leakage.
Can someone suggest how to find out memory leakage ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 04:58 PM
08-08-2005 04:58 PM
SolutionUNIX95= ps -eo vsz,pid,args,ruser | sort -rn
or just to monitor httpd (for apache as an example)
UNIX95= ps -C httpd -o vsz,pid,ruser,args
above are from my notes that I took from some previous itrc posts regarding memory leak issue.
also check ipcs command usage on the man page. You can find few command line switches like -m or -b to monitor the memory usage.
running these commands from cron hourly or more frequently if you can afford, and logging the output to a file for a few days time, may show you if something is sticking out.
memory leaks are caused by sloppy programmers whose code does not release the memory they grabbed after the exit. Find the offending process and talk to the application developer.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 08:05 PM
08-08-2005 08:05 PM
Re: memory leakage
All the tools you need at
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 08:17 PM
08-08-2005 08:17 PM
Re: memory leakage
gdb (wdb) in some versions are supporting possibility to detect memory leak. We can use info leaks command on gdb to detect this.
A small document written to get memory leak in small c program is given here as,
http://geocities.com/kmuthu_gct/memoryleak_gdb.html
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 08:46 PM
08-08-2005 08:46 PM
Re: memory leakage
That you run all the named webservers on a single machine would only make sense to me if that was a development workplace or similar.
We do however run a BEA Weblogic server (which I think is entirely Java J2EE).
Afaik, the Java VM is running its own garbage collector that should (theoretically) free unrefernced memory segments, and thus avoid memory leakages.
However, I've also heard from the developers who set up our Weblogic application that a knowledgeable Java hacker can circumvent the Java garbage collector and initate collection time slices at random.
I can't recall what the technique was called.
But this in mind also shows potential for memory leaks with Weblogic apps to me.
Yet another story is Apache if your webdevelopers make use of modules like mod_perl.
An inconsiderate coder who isn't initializing and freeing resources (data structure, objects etc.) as recommended by the mod_perl guidelines, might very well produce memory leaks, or even worse, severely impair the operation of Apache.
SUN being the inventors of Java I would guess that iPlanet is also a purely Java technology.
So I could imagine that the same is thinkable as what I have said regarding Weblogic.