<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I am not sure about that. My second pull request, against
zm-launcher, takes care of the permission issue. To summarize: The
gc.log (and with rotation gc.log.0.current) is created with the
owner root:root because the JVM will only later drop privileges to
zimbra:zimbra. Some code in zmmailboxdmgr will fix this up but
only for gc.log. It looks like it works with the wrong permissions
as well but I didn't do much testing and thus either the
permission issue is not an issue at all or it might break your
setup in interesting ways.</p>
<p>Fortunately it isn't hard to build a patched zmmailboxdmgr. Just
checkout the zm-launcher repo with my patch applied (until it is
merged you can find it in the branch
bugfix/bz-98011-use-gc-log-file-rotation in
<a class="moz-txt-link-freetext" href="https://github.com/mss/zm-launcher">https://github.com/mss/zm-launcher</a>) and build the zmmailboxdmgr:</p>
<p><tt>git clone <a class="moz-txt-link-freetext" href="https://github.com/mss/zm-launcher.git">https://github.com/mss/zm-launcher.git</a><br>
cd zm-launcher<br>
git checkout </tt><tt>bugfix/bz-98011-use-gc-log-file-rotation<br>
make all </tt><span class="pl-s"><tt>JAVA_BINARY=/opt/zimbra/common/bin/java</tt><span
class="pl-pds"><br>
</span></span></p>
<p>This will create the file build/zmmailboxdmgr which you can then
place on your system.</p>
<p>YMMV and if anything breaks it isn't my fault and you may keep
the pieces.</p>
<p>Cheers,</p>
<p>Malte<br>
<span class="pl-s"><span class="pl-pds"></span></span></p>
<br>
<div class="moz-cite-prefix">On 03.10.2017 00:04, L. Mark Stone
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1083433271.2010576.1506981844058.JavaMail.zimbra@reliablenetworks.com">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div>Thanks Malte; so no permissions changes needed on existing
systems after updating the localconfig variable?</div>
<div><br data-mce-bogus="1">
</div>
<div>All the best,</div>
<div>Mark</div>
<div data-marker="__SIG_PRE__">
<div>___________________________________________________________</div>
<div><strong>A Message From... L. Mark Stone, General Manager</strong></div>
<div><strong></strong><br>
</div>
<div><img src="cid:part1.C12BE236.539E427C@msquadrat.de"
data-mce-src="https://zmail.otelcotel.com/home/mark.stone@reliablenetworks.com/Briefcase/RelNet_Logo_300x60.png"
doc="Briefcase/RelNet_Logo_300x60.png" class=""></div>
<div>
<div><span size="2" style="font-size: small;"
data-mce-style="font-size: small;"><em>"Uptime. All the
time." </em><span size="3" style="font-size: medium;"
data-mce-style="font-size: medium;">® <span
color="#999999" size="2" style="color: #999999;
font-size: small;" data-mce-style="color: #999999;
font-size: small;"><a
href="http://www.reliablenetworks.com"
data-mce-href="http://www.reliablenetworks.com"
moz-do-not-send="true">www.reliablenetworks.com</a></span></span></span></div>
<p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
</p>
<p style="margin: 0px;" data-mce-style="margin: 0px;"><i
style="color: #ff6600; background-color: #ffffff;
font-size: small; text-decoration: underline;"
data-mce-style="color: #ff6600; background-color:
#ffffff; font-size: small; text-decoration: underline;">Fifteen
Years In Business! 2003 - 2017!</i></p>
<p style="margin: 0px;" data-mce-style="margin: 0px;"><span
size="2" style="font-size: small;"
data-mce-style="font-size: small;"><br>
</span><span size="2" style="color: #333333; font-size:
small;" data-mce-style="color: #333333; font-size:
small;"><span size="2" style="font-size: small;"
data-mce-style="font-size: small;">477 Congress
Street, Suite 812</span> | Portland, ME 04101 |
(<a
onclick="window.top.Com_Zimbra_Phone.unsetOnbeforeunload()"
href="callto:+1207%29%20772-5678"
data-mce-href="callto:+1207%29%20772-5678"
moz-do-not-send="true">207) 772-5678</a></span></p>
<div><span size="2" style="font-size: small;"
data-mce-style="font-size: small;"> </span></div>
<div><span size="2" style="font-size: small;"
data-mce-style="font-size: small;"><span size="2"
style="font-size: small;" data-mce-style="font-size:
small;"><span color="#ff6600" style="color: #ff6600;"
data-mce-style="color: #ff6600;">Citrix
XenApp/XenDesktop Hosting</span> | <span
color="#ff6600" style="color: #ff6600;"
data-mce-style="color: #ff6600;">SOC 2 Type II Audit
</span><br>
<span color="#ff6600" style="color: #ff6600;"
data-mce-style="color: #ff6600;"><i>Zimbra</i></span><span
color="#ff6600" style="color: #ff6600;"
data-mce-style="color: #ff6600;"> Groupware</span>
| <span color="#ff6600" style="color: #ff6600;"
data-mce-style="color: #ff6600;">Mission-Critical Cl</span><span
color="#ff6600" style="color: #ff6600;"
data-mce-style="color: #ff6600;">oud Hosting </span><br>
</span></span></div>
<div><br>
</div>
<div><span size="2" style="font-size: small;"
data-mce-style="font-size: small;">This email may
contain information that is privileged and confidential.<br>
If you suspect that you were not intended to receive it,
please delete<br>
it and notify us as soon as possible. Thank you.</span></div>
</div>
</div>
<br>
<hr id="zwchr" data-marker="__DIVIDER__">
<div data-marker="__HEADERS__">
<blockquote style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal; text-decoration:
none; font-family: Helvetica,Arial,sans-serif; font-size:
12pt;" data-mce-style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal; text-decoration:
none; font-family: Helvetica,Arial,sans-serif; font-size:
12pt;"><b>From: </b>"Malte S. Stretz"
<a class="moz-txt-link-rfc2396E" href="mailto:mss@msquadrat.de"><mss@msquadrat.de></a><br>
<b>To: </b>"L. Mark Stone"
<a class="moz-txt-link-rfc2396E" href="mailto:lmark.stone@reliablenetworks.com"><lmark.stone@reliablenetworks.com></a><br>
<b>Cc: </b>"users" <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.zetalliance.org"><users@lists.zetalliance.org></a><br>
<b>Sent: </b>Monday, October 2, 2017 5:41:04 PM<br>
<b>Subject: </b>Re: [Users] Interesting Bug/RFE To Consider
Voting For<br>
</blockquote>
</div>
<div data-marker="__QUOTED_TEXT__">
<blockquote style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal; text-decoration:
none; font-family: Helvetica,Arial,sans-serif; font-size:
12pt;" data-mce-style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal; text-decoration:
none; font-family: Helvetica,Arial,sans-serif; font-size:
12pt;">
<p>Hi Mark,</p>
<p>if the pull requests are applied, they will find their
way into NE at some point.</p>
<p>To change the settings on existing systems, the following
call followed by a restart of the mailbox service should
do the trick:</p>
<p><tt>zmlocalconfig -e
"mailboxd_java_options=$(zmlocalconfig -m nokey
mailboxd_java_options | sed -e
's/-UseGCLogFileRotation/+UseGCLogFileRotation/')"</tt></p>
<p>Cheers,</p>
<p>Malte<br>
</p>
<br>
<div class="moz-cite-prefix">On 02.10.2017 23:31, L. Mark
Stone wrote:<br>
</div>
<blockquote
cite="mid:267604313.2009664.1506979879319.JavaMail.zimbra@reliablenetworks.com">
<div style="font-family: arial, helvetica, sans-serif;
font-size: 12pt; color: #000000;"
data-mce-style="font-family: arial, helvetica,
sans-serif; font-size: 12pt; color: #000000;">
<div>Awesome!</div>
<div><br>
</div>
<div>Hopefully Zimbra will incorporate this into Network
Edition, with a section in the Release Notes
describing how to implement when upgrading existing
systems.</div>
<div><br>
</div>
<div>Thanks so much!</div>
<div><br>
</div>
<div>All the best</div>
<div>Mark</div>
<div>
<div>___________________________________________________________</div>
<div><strong>A Message From... L. Mark Stone, General
Manager</strong></div>
<div><strong></strong><br>
</div>
<div><img
src="cid:part1.C12BE236.539E427C@msquadrat.de"
class=""></div>
<div>
<div><span style="font-size: small;"
data-mce-style="font-size: small;"><em>"Uptime.
All the time." </em><span style="font-size:
medium;" data-mce-style="font-size: medium;">®
<span style="color: #999999; font-size:
small;" data-mce-style="color: #999999;
font-size: small;"><a
href="http://www.reliablenetworks.com"
target="_blank" moz-do-not-send="true">www.reliablenetworks.com</a></span></span></span></div>
<p style="margin: 0px;" data-mce-style="margin:
0px;"><br>
</p>
<p style="margin: 0px;" data-mce-style="margin:
0px;"><i style="color: #ff6600; background-color:
#ffffff; font-size: small; text-decoration:
underline;" data-mce-style="color: #ff6600;
background-color: #ffffff; font-size: small;
text-decoration: underline;">Fifteen Years In
Business! 2003 - 2017!</i></p>
<p style="margin: 0px;" data-mce-style="margin:
0px;"><span style="font-size: small;"
data-mce-style="font-size: small;"><br>
</span><span style="color: #333333; font-size:
small;" data-mce-style="color: #333333;
font-size: small;"><span style="font-size:
small;" data-mce-style="font-size: small;">477
Congress Street, Suite 812</span> |
Portland, ME 04101 | (<a
href="callto:+1207%29%20772-5678"
target="_blank" moz-do-not-send="true">207)
772-5678</a></span></p>
<div><span style="font-size: small;"
data-mce-style="font-size: small;"> </span></div>
<div><span style="font-size: small;"
data-mce-style="font-size: small;"><span
style="font-size: small;"
data-mce-style="font-size: small;"><span
style="color: #ff6600;"
data-mce-style="color: #ff6600;">Citrix
XenApp/XenDesktop Hosting</span> | <span
style="color: #ff6600;"
data-mce-style="color: #ff6600;">SOC 2 Type
II Audit </span><br>
<span style="color: #ff6600;"
data-mce-style="color: #ff6600;"><i>Zimbra</i></span><span
style="color: #ff6600;"
data-mce-style="color: #ff6600;"> Groupware</span>
| <span style="color: #ff6600;"
data-mce-style="color: #ff6600;">Mission-Critical
Cl</span><span style="color: #ff6600;"
data-mce-style="color: #ff6600;">oud
Hosting </span><br>
</span></span></div>
<div><br>
</div>
<div><span style="font-size: small;"
data-mce-style="font-size: small;">This email
may contain information that is privileged and
confidential.<br>
If you suspect that you were not intended to
receive it, please delete<br>
it and notify us as soon as possible. Thank you.</span></div>
</div>
</div>
<br>
<hr id="zwchr">
<div>
<blockquote style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal;
text-decoration: none; font-family:
Helvetica,Arial,sans-serif; font-size: 12pt;"
data-mce-style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal;
text-decoration: none; font-family:
Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From:
</b>"Malte S. Stretz" <a
class="moz-txt-link-rfc2396E"
href="mailto:mss@msquadrat.de" target="_blank"
moz-do-not-send="true"><mss@msquadrat.de></a><br>
<b>To: </b>"L. Mark Stone" <a
class="moz-txt-link-rfc2396E"
href="mailto:lmark.stone@reliablenetworks.com"
target="_blank" moz-do-not-send="true"><lmark.stone@reliablenetworks.com></a><br>
<b>Cc: </b>"users" <a
class="moz-txt-link-rfc2396E"
href="mailto:users@lists.zetalliance.org"
target="_blank" moz-do-not-send="true"><users@lists.zetalliance.org></a><br>
<b>Sent: </b>Monday, October 2, 2017 5:14:43 PM<br>
<b>Subject: </b>Re: [Users] Interesting Bug/RFE To
Consider Voting For<br>
</blockquote>
</div>
<div>
<blockquote style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal;
text-decoration: none; font-family:
Helvetica,Arial,sans-serif; font-size: 12pt;"
data-mce-style="border-left: 2px solid #1010FF;
margin-left: 5px; padding-left: 5px; color: #000;
font-weight: normal; font-style: normal;
text-decoration: none; font-family:
Helvetica,Arial,sans-serif; font-size: 12pt;">
<p>Hi Mark,</p>
<p>thanks for the heads up. Compared to the other
log files, the sizes the gc.log can grow to is
most the time still manageable but it can be
surprising. Fortunately is this one of the smaller
changes which are simple enough to fix. I opened
two related pull requests to make the rotation the
default and fix up the permissions if done so:</p>
<ul>
<li><a class="moz-txt-link-freetext"
href="https://github.com/Zimbra/zm-mailbox/pull/389"
target="_blank" moz-do-not-send="true">https://github.com/Zimbra/zm-mailbox/pull/389</a></li>
<li><a class="moz-txt-link-freetext"
href="https://github.com/Zimbra/zm-launcher/pull/2"
target="_blank" moz-do-not-send="true">https://github.com/Zimbra/zm-launcher/pull/2</a></li>
</ul>
<p>These won't change the settings on existing
systems but will apply on newly installed ones.<br>
</p>
<p>Cheers,</p>
<p>Malte<br>
</p>
<br>
<div class="moz-cite-prefix">On 02.10.2017 20:38, L.
Mark Stone wrote:<br>
</div>
<blockquote
cite="mid:1325600908.1995944.1506969495432.JavaMail.zimbra@reliablenetworks.com">
<div style="font-family: arial, helvetica,
sans-serif; font-size: 12pt; color: #000000;"
data-mce-style="font-family: arial, helvetica,
sans-serif; font-size: 12pt; color: #000000;">
<div><a class="moz-txt-link-freetext"
href="https://bugzilla.zimbra.com/show_bug.cgi?id=98011"
target="_blank" moz-do-not-send="true">https://bugzilla.zimbra.com/show_bug.cgi?id=98011</a></div>
<div><br>
</div>
<div>Malte S. filed this bug/RFE in 2015. We
happened to look at an 8.6 mailbox server
today and noted the gc.log was more than
225MB; the server had been running for only
two months.</div>
<div><br>
</div>
<div>Please consider voting for this bug,
especially if you run a busy server(s) that
is(are) going to be doing a lot of Java
garbage collection activity. If you have
already made the changes, please comment on
the Bugzilla to indicate if Java is able to
manage its own log file rotation.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Mark</div>
<div>
<div>___________________________________________________________</div>
<div><strong>A Message From... L. Mark Stone,
General Manager</strong></div>
<div><strong></strong><br>
</div>
<div><img
src="cid:part1.C12BE236.539E427C@msquadrat.de"
class=""></div>
<div>
<div><span style="font-size: small;"
data-mce-style="font-size: small;"><em>"Uptime.
All the time." </em><span
style="font-size: medium;"
data-mce-style="font-size: medium;">®
<span style="color: #999999;
font-size: small;"
data-mce-style="color: #999999;
font-size: small;"><a
href="http://www.reliablenetworks.com"
target="_blank"
moz-do-not-send="true">www.reliablenetworks.com</a></span></span></span></div>
<p style="margin: 0px;"
data-mce-style="margin: 0px;"><br>
</p>
<p style="margin: 0px;"
data-mce-style="margin: 0px;"><i
style="color: #ff6600; background-color:
#ffffff; font-size: small;
text-decoration: underline;"
data-mce-style="color: #ff6600;
background-color: #ffffff; font-size:
small; text-decoration: underline;">Fifteen
Years In Business! 2003 - 2017!</i></p>
<p style="margin: 0px;"
data-mce-style="margin: 0px;"><span
style="font-size: small;"
data-mce-style="font-size: small;"><br>
</span><span style="color: #333333;
font-size: small;"
data-mce-style="color: #333333;
font-size: small;"><span
style="font-size: small;"
data-mce-style="font-size: small;">477
Congress Street, Suite 812</span> |
Portland, ME 04101 | (<a
href="callto:+1207%29%20772-5678"
target="_blank" moz-do-not-send="true">207)
772-5678</a></span></p>
<div><span style="font-size: small;"
data-mce-style="font-size: small;"> </span></div>
<div><span style="font-size: small;"
data-mce-style="font-size: small;"><span
style="font-size: small;"
data-mce-style="font-size: small;"><span
style="color: #ff6600;"
data-mce-style="color: #ff6600;">Citrix
XenApp/XenDesktop Hosting</span> |
<span style="color: #ff6600;"
data-mce-style="color: #ff6600;">SOC
2 Type II Audit </span><br>
<span style="color: #ff6600;"
data-mce-style="color: #ff6600;"><i>Zimbra</i></span><span
style="color: #ff6600;"
data-mce-style="color: #ff6600;">
Groupware</span> | <span
style="color: #ff6600;"
data-mce-style="color: #ff6600;">Mission-Critical
Cl</span><span style="color:
#ff6600;" data-mce-style="color:
#ff6600;">oud Hosting </span><br>
</span></span></div>
<div><br>
</div>
<div><span style="font-size: small;"
data-mce-style="font-size: small;">This
email may contain information that is
privileged and confidential.<br>
If you suspect that you were not
intended to receive it, please delete<br>
it and notify us as soon as possible.
Thank you.</span></div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>