Bug 527801

Summary: 2GB filesize limit for log files
Product: Red Hat Enterprise MRG Reporter: Jon Thomas <jthomas>
Component: gridAssignee: Jon Thomas <jthomas>
Status: CLOSED ERRATA QA Contact: Frantisek Reznicek <freznice>
Severity: low Docs Contact:
Priority: medium    
Version: 1.1CC: esammons, freznice, iboverma, lbrindle, matt, tao, tstclair
Target Milestone: 1.2   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Grid Enhancement Log files are no longer limited to 2GB size
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-03 09:18:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 527551    
Attachments:
Description Flags
patch to fix log size
none
small change to above none

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