- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Serviceguard log file problem RHEL AS 4
Operating System - Linux
1754393
Members
2685
Online
108813
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-06-2008 07:15 PM
тАО08-06-2008 07:15 PM
Serviceguard log file problem RHEL AS 4
There's some problem with service guard log file, I've deleted the service guard log file in
/usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log
since it's getting bigger and bigger almost 3 Gb( i'm only setup 8 Gb for / ) . But the problem is somehow the service guard still accessing the deleted file.
# lsof / | grep deleted
............
java 2490 501 1w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
java 2490 501 2w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
bash 2509 501 1w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
bash 2509 501 2w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
............
............
And even i've deleted the log file, it doesn't increase the / space availabilty so it seems like the log doesn't remove yet (CMIIW).
And then i've created manually the log file , but the serviceguard process seems still access the old one, and not writing the log in new log file that i've created.
Does anyone have some hint, i hope restarting the services is the last option because the server is very important production server.
Thank's.
/usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log
since it's getting bigger and bigger almost 3 Gb( i'm only setup 8 Gb for / ) . But the problem is somehow the service guard still accessing the deleted file.
# lsof / | grep deleted
............
java 2490 501 1w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
java 2490 501 2w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
bash 2509 501 1w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
bash 2509 501 2w REG 104,1 4684771328 721421 /usr/local/cmcluster/conf/OTA_PACKAGE/OTA_PACKAGE.sh.log (deleted)
............
............
And even i've deleted the log file, it doesn't increase the / space availabilty so it seems like the log doesn't remove yet (CMIIW).
And then i've created manually the log file , but the serviceguard process seems still access the old one, and not writing the log in new log file that i've created.
Does anyone have some hint, i hope restarting the services is the last option because the server is very important production server.
Thank's.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2008 01:15 AM
тАО08-07-2008 01:15 AM
Re: Serviceguard log file problem RHEL AS 4
Shalom,
deleting the file while there is still an open file handle on the log file does not release the space back to the system.
The fuser command should be used to identify and kill the process with the open file handle.
What this will lead to is probably a serviceguard failure, so you should be prepared for some downtime.
SEP
deleting the file while there is still an open file handle on the log file does not release the space back to the system.
The fuser command should be used to identify and kill the process with the open file handle.
What this will lead to is probably a serviceguard failure, so you should be prepared for some downtime.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2008 09:04 PM
тАО09-02-2008 09:04 PM
Re: Serviceguard log file problem RHEL AS 4
Hi steve
Thank's for your reply and sorry for late response.
Anyway finally about two weeks ago i restarted the package and it release the free space again. And then i setting up logrotate in linux to rotating and compressing the log everyday to avoid this huge log file again.
And then 2 days ago i checking up the log file again and looks like the main problem still occur.
The problem is the log file was deleted by linux logrotate but the service guard didn't write to new log file that created by logrotate.
So the problem still exist , the log file is getting bigger and bigger even it already deleted manually or by logrotate. And it's impossible if we have to restart service guard everytime we want to release the space.
The question is maybe linux logrotate didn't work for service guard log file or service guard have some self log management that have to be configured..?
Anyone have a clue ?
Thank's
Thank's for your reply and sorry for late response.
Anyway finally about two weeks ago i restarted the package and it release the free space again. And then i setting up logrotate in linux to rotating and compressing the log everyday to avoid this huge log file again.
And then 2 days ago i checking up the log file again and looks like the main problem still occur.
The problem is the log file was deleted by linux logrotate but the service guard didn't write to new log file that created by logrotate.
So the problem still exist , the log file is getting bigger and bigger even it already deleted manually or by logrotate. And it's impossible if we have to restart service guard everytime we want to release the space.
The question is maybe linux logrotate didn't work for service guard log file or service guard have some self log management that have to be configured..?
Anyone have a clue ?
Thank's
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP