- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- killing process released disk 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
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
01-17-2006 09:00 AM
01-17-2006 09:00 AM
java process. We had killed the weblogic server process without killing its related java process. These java process
was running. We again restarted the
weblogic server process which started different new java processes. Since then we realized our /opt/rose/ file system is getting filled very quickly.
We killed the earlier old java process and it released the disk space.
Can anyone explain why this unused java process was consuming so much disk space in the /opt/rose file system. And how killing this old (earlier) java process released disk space ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:06 AM
01-17-2006 09:06 AM
SolutionThe process you killed had a file open. That file was, at some point, unlinked. But since the process still had the file open and in use the space was not released. When you killed the process, the file was released and no longer in use, thus allowing HP-UX to finish its clean up and reclaim the disk space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:14 AM
01-17-2006 09:14 AM
Re: killing process released disk space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:14 AM
01-17-2006 09:14 AM
Re: killing process released disk space
As far as killing a process and seeing previously utilized disk space returned to the system, that is common.
If a process has a file open, but the process 'unlink's the file (the underlying system call to remove the file) then any directory entry for the file is removed *but* the space currently allocated is kept available to the process until it terminates.
In fact, it is common to open a temporary file; unlink it; and continue to use it for the life of the process. Upon the termination of the process, the filesystem space used by the temporary file is returned without further programmatic intervention.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:42 AM
01-17-2006 09:42 AM
Re: killing process released disk space
In addition to that , you can also check if any big core file is getting generated there. Java many times creates large core files , in case of abnormal termination.
We gets many times upto 500MB core file ,from Tivoli LCF daemon and Java.
# find . -name core -print
# strings core | more
( To ascertain about the core file.)
hope this will help,
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 02:53 PM
01-17-2006 02:53 PM
Re: killing process released disk space
As gurus mentioned its a classic UNIX behaviour. The proper way to shutdown weblogic by using shutdown script, this script will take care of shutting down all the "java" processes that are created when startup script. Otherwise, one more of way doing this is,
1) Kill all Java processes related with Weblogic
2) Kill the startup script.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 03:01 PM
01-17-2006 03:01 PM
Re: killing process released disk space
allow me also to add that you should configure ou system such that this case does not because a cause of downtime in the future.
We had a case recently where an astray process cause a file system to reach 100% usage and prevented a datafile to extend thus preventing our corporate ERP from functioning properly!
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 03:03 PM
01-17-2006 03:03 PM
Re: killing process released disk space
again ensure that your patches are up to date such that such problem does not crop up again.
kind regards
yogeeraj