Bug 527801 - 2GB filesize limit for log files
Summary: 2GB filesize limit for log files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: grid
Version: 1.1
Hardware: All
OS: Linux
medium
low
Target Milestone: 1.2
: ---
Assignee: Jon Thomas
QA Contact: Frantisek Reznicek
URL:
Whiteboard:
Depends On:
Blocks: 527551
TreeView+ depends on / blocked
 
Reported: 2009-10-07 18:42 UTC by Jon Thomas
Modified: 2018-10-27 14:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Grid Enhancement Log files are no longer limited to 2GB size
Clone Of:
Environment:
Last Closed: 2009-12-03 09:18:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to fix log size (556 bytes, patch)
2009-10-07 19:30 UTC, Jon Thomas
no flags Details | Diff
small change to above (565 bytes, patch)
2009-10-07 21:03 UTC, Jon Thomas
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:1633 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging and Grid Version 1.2 2009-12-03 09:15:33 UTC

Description Jon Thomas 2009-10-07 18:42:57 UTC
Setting MAX_*_LOG  to 2147483648 or greater causes problems with logs. The problem may be due to int usage condor_util_lib/dprintf.c

int MaxLog[D_NUMLEVELS+1] = { 0 };

upstream ticket:

http://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=823

Comment 1 Jon Thomas 2009-10-07 19:30:03 UTC
Created attachment 364029 [details]
patch to fix log size

Since 2GB true logfile is hard to generate, I tested rotation by using a 3.8 GB file that was just a cat of some isos and set max log to some number of bytes above 3.8 GB. It successfully adds log entries to the tail of the file and rotates the file when it reached the max log value.

Comment 2 Jon Thomas 2009-10-07 21:03:41 UTC
Created attachment 364039 [details]
small change to above

Comment 3 Timothy St. Clair 2009-10-08 18:25:28 UTC
was pushed upstream 
fix is in 7.4.0-0.6

Comment 5 Irina Boverman 2009-10-28 18:31:15 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
Log files are no longer limited to 2GB size (527801)

Comment 6 Frantisek Reznicek 2009-11-03 12:57:18 UTC
The issue has been fixed verified on RHEL 4.8 / 5.4 i386 / x86_64 on packages:
[root@mrg-qe-01 qpid_ptest_cluster_tsxtest]# rpm -qa | grep condor
condor-remote-configuration-server-1.0-21.el5
condor-7.4.1-0.2.el5
condor-qmf-plugins-7.4.1-0.2.el5
condor-remote-configuration-1.0-21.el5

->VERIFIED

Comment 7 Lana Brindley 2009-11-04 02:32:46 UTC
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1 +1,3 @@
+Grid Bug Fix
+
 Log files are no longer limited to 2GB size (527801)

Comment 8 Lana Brindley 2009-11-04 02:43:17 UTC
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1,3 +1,3 @@
-Grid Bug Fix
+Grid Enhancement
 
-Log files are no longer limited to 2GB size (527801)+Log files are no longer limited to 2GB size

Comment 10 errata-xmlrpc 2009-12-03 09:18:45 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1633.html


Note You need to log in before you can comment on or make changes to this bug.