<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>intuitive engineering &#187; news</title>
	<atom:link href="http://dougmunsinger.com/category/news/feed" rel="self" type="application/rss+xml" />
	<link>http://dougmunsinger.com</link>
	<description>doug munsinger</description>
	<lastBuildDate>Fri, 13 Jan 2012 17:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ashley Lyn, you are loved and you are missed&#8230;</title>
		<link>http://dougmunsinger.com/2011/01/ashley-lyn-you-are-loved-and-you-are-missed.html</link>
		<comments>http://dougmunsinger.com/2011/01/ashley-lyn-you-are-loved-and-you-are-missed.html#comments</comments>
		<pubDate>Wed, 26 Jan 2011 21:37:27 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[daughter]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Ashley]]></category>
		<category><![CDATA[cancer]]></category>
		<category><![CDATA[love]]></category>

		<guid isPermaLink="false">http://dougmunsinger.com/?p=813</guid>
		<description><![CDATA[Leaf at St. Joseph&#8217;s Hospital by Ashley Lyn Munsinger When Ashley was born, on a bright day in July, her nickname was immediately &#8220;Bug,&#8221; as in &#8220;cute as a bug.&#8221; I went in to watch her sleep in her crib almost every night after we brought her home. I watched her very small chest rise [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://damgoodespresso.com/wp-content/uploads/2011/01/leaf_st_jos.jpg" alt="leaf at st josephs by ashley lyn" /><br />
<em>Leaf at St. Joseph&#8217;s Hospital by Ashley Lyn Munsinger</em></p>
<p>When Ashley was born, on a bright day in July,<br />
her nickname was immediately &#8220;Bug,&#8221;<br />
as in &#8220;cute as a bug.&#8221;</p>
<p>I went in to watch her sleep in her crib almost every night after we brought her home.<br />
I watched her very small chest rise and fall.<br />
That was a miracle.</p>
<p>Having this child meant being completely vulnerable to the whims of the universe.</p>
<p>I cast hope out into the future.<br />
I get to watch over her and love her, forever.</p>
<p>When she was about three Ashley got quieter and quieter over several days.<br />
Her doctor said she had pneumonia<br />
and was hours from needing admittance to a hospital.</p>
<p>She got better.<br />
But she scared me.</p>
<p>She rode her bike without training wheels in Lake View Terrace, CA.<br />
She helped me build a coffee table in Boulder CO.<br />
She sledded down the hill with our dog Samantha at the house in Milford MA.</p>
<p>She was golden blonde,<br />
sunshine<br />
and warmth.</p>
<p>She faded the winter she spent in Massachusetts,<br />
so I sent her back to California.</p>
<p>Ashley traveled through Europe when she was fifteen.<br />
She determined that Corfu was her favorite place on the planet.<br />
She talked about that trip for years&#8230;</p>
<p>&#8220;When I was in France&#8230;&#8221;</p>
<p>Ashley studied International Business in New York City<br />
She found she hated it.<br />
She discovered space and color and form and balance and function.<br />
She studied Interior Design, and she found she loved it.</p>
<p>She got quiet once again, this time over several months.<br />
She was admitted to the hospital and we got word that she had leukemia.</p>
<p>By the time I got across the country from Boston to Los Angeles,<br />
Ashley was on a ventilator and could no longer speak or communicate directly.</p>
<p>All of us,<br />
all of you,<br />
family and friends,<br />
came together<br />
and somehow we got her through the worst two months ever.</p>
<p>At the lowest point in that February I was holding Ash&#8217;s hand,<br />
feeling the warmth of her still presence,<br />
accepting each moment as a gift.</p>
<p>That diagnosis<br />
and then that reality,<br />
cancer patient,<br />
Ash just accepted.</p>
<p>She looked ahead with true courage at each point in her journey<br />
and asked,<br />
&#8220;What next?&#8221;</p>
<p>Ashley knew she was dying that last week.<br />
She found<br />
the rare gift<br />
in that<br />
rather than the despair of it,<br />
that ending.</p>
<p>I tried to find everything I needed to say to her, as her dad, as someone responsible for her and to her.<br />
I came close enough.</p>
<p>She managed a death<br />
at peace<br />
and without despair or anxiety.<br />
Her passing on was with eyes wide open.<br />
She said &#8220;It&#8217;s over&#8230;&#8221;<br />
and she meant this life, this struggle.</p>
<p>And then she asked<br />
&#8220;What&#8217;s next?&#8221;<br />
and she went on.</p>
<p>An expansion of being, rather than in any way diminished.</p>
<p>This breath holds the spirit to the body.</p>
<p>And so it was.<br />
Ash let go<br />
and the breath stopped.</p>
<p><img title="Ashley Lyn at her birthday, age 24" src="http://damgoodespresso.com/wp-content/uploads/2011/01/ash_in_july_at_24.jpg" alt="ash at her birthday" /><br />
<em>July 2nd 1986 &#8211; 3rd January 2011</em></p>
<p>I will always miss her presence here.</p>
<p><img title="Koi Pond at St. Josephs by Ashley Lyn Munsinger" src="http://damgoodespresso.com/wp-content/uploads/2011/01/koi_pond_st_jo.jpg" alt="koi pond by Ashley Lyn" /><br />
<em>Koi Pond at St. Joseph&#8217;s Hospital by Ashley Lyn Munsinger</em></p>
<p><em><br />
</em></p>
<div class="addtothis"><p>
				<table cellspacing="0" cellpadding="0" border="0" style="width: 180px; height: 30px; text-align: left; margin-left: 0px; ">
				<tbody>
				<tr>
				<td style="text-align: center;">
				<a href="http://www.stumbleupon.com/submit?url=http://dougmunsinger.com/2011/01/ashley-lyn-you-are-loved-and-you-are-missed.html&title=Ashley Lyn, you are loved and you are missed&#8230;" rel="nofollow">
                                <img src="http://dougmunsinger.com/wp-content/plugins/addtothis/stumble.png" title="Add to Stumble Upon" alt="Stumble It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://del.icio.us/post?url=http://dougmunsinger.com/2011/01/ashley-lyn-you-are-loved-and-you-are-missed.html&title=Ashley Lyn, you are loved and you are missed&#8230;" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/delicious.png" title="Add to Del.icio.us" alt="Add to Del.cio.us" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://technorati.com/faves?add=http://dougmunsinger.com/2011/01/ashley-lyn-you-are-loved-and-you-are-missed.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/technorati.png" title="Add to Technorati" alt="Add to Technorati Favorites" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://digg.com/submit?phase=2&url=http://dougmunsinger.com/2011/01/ashley-lyn-you-are-loved-and-you-are-missed.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/digg.png" title="Add to Digg" alt="Digg It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://dougmunsinger.com/feed/rss" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/feeds.png" title="Add Feed to Bookmarks" alt="RSS Feed" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				</tr>
				</tbody>
				</table>

                
		
				</p></div>]]></content:encoded>
			<wfw:commentRss>http://dougmunsinger.com/2011/01/ashley-lyn-you-are-loved-and-you-are-missed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iphone alarm bug cost me 9 hours of time with my daughter before she died</title>
		<link>http://dougmunsinger.com/2011/01/iphone-alarm-bug-cost-me-9-hours-of-time-with-my-daughter-before-she-died.html</link>
		<comments>http://dougmunsinger.com/2011/01/iphone-alarm-bug-cost-me-9-hours-of-time-with-my-daughter-before-she-died.html#comments</comments>
		<pubDate>Thu, 13 Jan 2011 19:39:21 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[move]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://dougmunsinger.com/?p=805</guid>
		<description><![CDATA[This is from an email I wrote to steve@apple.com: &#160; &#160; &#8230;she died January 3rd.&#160; &#160; My iphone HAD been a reliable alarm. &#160;I missed the daylight savings update debacle, at least for anything vital.&#160; I set a 3:30 AM and a 4 AM alarm for getting up to catch a 6:30 flight from Boston [...]]]></description>
			<content:encoded><![CDATA[<p>This is from an email I wrote to steve@apple.com:</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<blockquote>
<p>&#8230;she died January 3rd.&nbsp;</p>
<p>&nbsp;</p>
<p>My iphone HAD been a reliable alarm. &nbsp;I missed the daylight savings update debacle, at least for anything vital.&nbsp;</p>
<p>I set a 3:30 AM and a 4 AM alarm for getting up to catch a 6:30 flight from Boston to Los Angeles on Sunday 2 January, which would have had me in LA at 10:30.&nbsp;</p>
<p>I woke at 5:19 AM, looked at my iphone (which showed both alarms set) in horror, raced to the airport and made it to the gate at 6:35. &nbsp;The plane was gone.&nbsp;</p>
<p>&nbsp;</p>
<p>The woman behind the counter at United at first said there were no more seats available on any plane to get to L.A. on January 2nd. &nbsp;</p>
<p>&nbsp;</p>
<p>After I explained that my daughter was terminal from Leukemia she found me a flight to Washington DC and then to LA.&nbsp;</p>
<p>I got to L.A. at 7:30 PM and spent from 8 &nbsp;to 11:30 with my daughter in the cancer ward on the fourth floor at Cedars-Sinai.&nbsp;</p>
<p>She died at 11:02 AM on January &nbsp;3rd. &nbsp; She was 24 and had battled leukemia for one week short of a year. &nbsp; We had been told by doctors that she had perhaps another couple of weeks, but it turned out that wasn&#39;t so.&nbsp;</p>
<p>&nbsp;</p>
<p>If I had listened to the woman behind the counter I would not have been there at my daughter&#39;s side. &nbsp;If your alarm had actually been fixed and functioned January 2nd, I would have had an additional 9 to 10 hours with my daughter on the last two days of her life.&nbsp;</p>
<p>&nbsp;</p>
<p>There&#39;s no way I can begin to count what the iphone bug managed to cost me. &nbsp;</p>
<p>But I thought you should know that it was not trivial, not a simple bug that has no impact. &nbsp;</p>
<div>&#8211;doug</div>
</blockquote>
<div class="addtothis"><p>
				<table cellspacing="0" cellpadding="0" border="0" style="width: 180px; height: 30px; text-align: left; margin-left: 0px; ">
				<tbody>
				<tr>
				<td style="text-align: center;">
				<a href="http://www.stumbleupon.com/submit?url=http://dougmunsinger.com/2011/01/iphone-alarm-bug-cost-me-9-hours-of-time-with-my-daughter-before-she-died.html&title=iphone alarm bug cost me 9 hours of time with my daughter before she died" rel="nofollow">
                                <img src="http://dougmunsinger.com/wp-content/plugins/addtothis/stumble.png" title="Add to Stumble Upon" alt="Stumble It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://del.icio.us/post?url=http://dougmunsinger.com/2011/01/iphone-alarm-bug-cost-me-9-hours-of-time-with-my-daughter-before-she-died.html&title=iphone alarm bug cost me 9 hours of time with my daughter before she died" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/delicious.png" title="Add to Del.icio.us" alt="Add to Del.cio.us" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://technorati.com/faves?add=http://dougmunsinger.com/2011/01/iphone-alarm-bug-cost-me-9-hours-of-time-with-my-daughter-before-she-died.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/technorati.png" title="Add to Technorati" alt="Add to Technorati Favorites" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://digg.com/submit?phase=2&url=http://dougmunsinger.com/2011/01/iphone-alarm-bug-cost-me-9-hours-of-time-with-my-daughter-before-she-died.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/digg.png" title="Add to Digg" alt="Digg It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://dougmunsinger.com/feed/rss" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/feeds.png" title="Add Feed to Bookmarks" alt="RSS Feed" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				</tr>
				</tbody>
				</table>

                
		
				</p></div>]]></content:encoded>
			<wfw:commentRss>http://dougmunsinger.com/2011/01/iphone-alarm-bug-cost-me-9-hours-of-time-with-my-daughter-before-she-died.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>compacting logs</title>
		<link>http://dougmunsinger.com/2010/06/compacting-logs.html</link>
		<comments>http://dougmunsinger.com/2010/06/compacting-logs.html#comments</comments>
		<pubDate>Mon, 07 Jun 2010 16:44:28 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[move3]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://dougmunsinger.com/?p=796</guid>
		<description><![CDATA[I love good tools. &#160; &#160;I recently wrote a log zipping script specific to the environment I currently work in. &#160;We don&#39;t remove logs from the servers (yet &#8211; that will change, but has not so far). &#160;The partitions on which the logs live are quite large. &#160;The servers&#39; lifespan is short enough before rebuild [...]]]></description>
			<content:encoded><![CDATA[<p>I love good tools.</p>
<p>&nbsp;</p>
<p>&nbsp;I recently wrote a log zipping script specific to the environment I currently work in. &nbsp;We don&#39;t remove logs from the servers (yet &#8211; that will change, but has not so far). &nbsp;The partitions on which the logs live are quite large. &nbsp;The servers&#39; lifespan is short enough before rebuild or replace to make leaving logs in place possible. In many cases no compressing of logs is needed. &nbsp;On some servers the traffic and the application do create files that must be compressed to keep free space on the partition acceptable. &nbsp;</p>
<p>&nbsp;</p>
<p>We had an ad hoc script to do this in detail. &nbsp;The complexity in it was in trying to work around not touching live logs that a process was writing to, tweaking and tuning the regular expressions to miss those active files &nbsp;and still catch the ones wanted. &nbsp; Lots of hand work.&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre><code>

#! /bin/bash

###
### version: 20100414.01
### author:  dsm
###
### Note - &quot;rm -f $i &gt;&gt; $LOG 2&gt;&amp;1&quot; for deleting testing
###        log files is commented out in 2 places
###        to prevent mistake - uncomment if you really
###        want to delete files.  Until
###        uncommented, files that would have been deleted
###        will by logged but not actually
###        deleted from the filesystem...
###

### VARIABLES

# file to alter retention for individual servers
# create the file via something like
#   export MYHOST=`hostname -s`
#   echo &quot;3&quot; &gt; /etc/$MYHOST.AGE.CTCT_gzip_and_cleanup_logs
# This would change the AGE variable to &quot;3&quot;
# this resolves having different files to
# propagate for individual servers or losing the settings
# when a new version is copied out...

MYSELF=`hostname -s`
MYSELF_AGE_FILE=&quot;/etc/gzip/$MYSELF.AGE.gzip_and_cleanup_logs&quot;

DATE=`date +%y%m%d%H%M%S`
LOG=&quot;/var/logs/gzip_and_cleanup.${DATE}&quot;
date &gt; $LOG # initialize log
if [[ -f $MYSELF_AGE_FILE ]]; then
    AGE=`cat $MYSELF_AGE_FILE`
else
    AGE=7 # files must be older than $AGE days to be gzipped
fi
# debug
#echo &quot;age set to: $AGE&quot;

LSOF=&quot;/usr/sbin/lsof&quot;  #location of lsof binary...
if [[ -f $LSOF ]]; then
    echo &quot;found $LSOF, continuing...&quot; &gt;&gt; $LOG
else
    echo &quot;FAILED TO FIND LSOF AT:  $LSOF - EXITING&quot; &gt;&gt; $LOG
    echo &quot;this will have to be corrected before this script will run&quot; &gt;&gt; $LOG
    exit
fi

GZIP=&quot;/usr/bin/gzip&quot;
if [[ -f $GZIP ]]; then
    echo &quot;found $GZIP, continuing...&quot; &gt;&gt; $LOG
else
    echo &quot;FAILED TO FIND gzip AT:  $GZIP - EXITING&quot; &gt;&gt; $LOG
    echo &quot;this will have to be corrected before this script will run&quot; &gt;&gt; $LOG
    exit
fi

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
TESTING=&quot;false&quot; # this enables the delele function
              # NOT TO BE ENABLED ON PRODUCTION MACHINES!
KEEP=30 # days to keep, older will be deleted if TESTING set to &quot;true&quot;
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

### MAIN

#
# If TESTING:  Delete logfiles older than $KEEP
#
if [[ $TESTING == &quot;true&quot; ]]; then
    export LOGDIR=/var/logs
    cd ${LOGDIR}
    date &gt;&gt; $LOG
    echo &quot;&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot;&gt;&gt; $LOG
    echo &quot;start $LOGDIR DELETE:  TESTING is $TESTING&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot; &gt;&gt; $LOG
    for i in `ls --color=no | grep -i log | egrep -v .gz$`
    do
        if [[ `find . -name ${i} -mtime +${KEEP}` ]]; then
    	    if [[ `$LSOF $i` ]]; then
	    	echo &quot;found $i older than $KEEP - but found to be opened by a process - NOT deleting&quot; &gt;&gt; $LOG
	    else
                echo &quot;found $i older than $KEEP:  deleting&quot; &gt;&gt; $LOG
                # rm -f $i &gt;&gt; $LOG 2&gt;&amp;1
	    fi
        else
            echo &quot;$i found to be newer than $KEEP:  keeping this file&quot; &gt;&gt; $LOG
        fi
    done
    export LOGDIR=/var/logs/http
    cd ${LOGDIR}
    echo &quot;&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot;&gt;&gt; $LOG
    echo &quot;start $LOGDIR DELETE:  TESTING is $TESTING&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot; &gt;&gt; $LOG
    for i in `ls --color=no | grep -i log | egrep -v .gz$`
    do
        if [[ `find . -name ${i} -mtime +${KEEP}` ]]; then
 	    if [[ `$LSOF $i` ]]; then
                echo &quot;found $i older than $KEEP - but found to be opened by a process - NOT deleting&quot; &gt;&gt; $LOG
            else
                echo &quot;found $i older than $KEEP:  deleting&quot; &gt;&gt; $LOG
                # rm -f $i &gt;&gt; $LOG 2&gt;&amp;1
	    fi
        else
            echo &quot;$i found to be newer than $KEEP:  keeping this file&quot; &gt;&gt; $LOG
        fi
    done
else
    echo &quot;TESTING set to false:  $TESTING:  NOT deleting any log files...&quot; &gt;&gt; $LOG
fi

#
# Begin cleanup with application server logs
#

export LOGDIR=/var/logs
cd ${LOGDIR} &gt;&gt; $LOG 2&gt;&amp;1
date &gt;&gt; $LOG
echo &quot;&quot; &gt;&gt; $LOG
echo &quot;-----------------------------------&quot;&gt;&gt; $LOG
echo &quot;start $LOGDIR cleanup&quot; &gt;&gt; $LOG
echo &quot;-----------------------------------&quot; &gt;&gt; $LOG
echo &quot;&quot; &gt;&gt; $LOG
for i in `ls --color=no | grep -i log | egrep -v .gz$`
do
    if [[ `$LSOF ${i}` ]]; then
        echo &quot;&quot; &gt;&gt; $LOG
	echo &quot;found $i OPEN - not handling&quot; &gt;&gt; $LOG
	echo &quot;&quot; &gt;&gt; $LOG
    else
        if [[ `find . -name ${i} -mtime +${AGE}` ]]; then
	    if [[ -f ${i}.gz ]]; then
	        echo &quot;found gzipped file of the same name:  ${i}.gz - not gzipping ${i}...&quot; &gt;&gt; $LOG
	    else
	        echo &quot;gzipping $i as it is older than $AGE...&quot; &gt;&gt; $LOG
	        $GZIP $i &gt;&gt; $LOG 2&gt;&amp;1
	    fi
	else
	    echo &quot;$i is not open but is newer than $AGE, so NOT being gzipped&quot; &gt;&gt; $LOG
        fi
    fi
done
echo &quot;completed cleanup of application logs...&quot; &gt;&gt; $LOG

#
# Continue cleanup with web server logs
#

export LOGDIR=/var/logs/http
if [[ -d $LOGDIR ]]; then # these may not exist on some apps...
    cd ${LOGDIR} &gt;&gt; $LOG 2&gt;&amp;1
    echo &quot;&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot;&gt;&gt; $LOG
    echo &quot;start $LOGDIR cleanup&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot; &gt;&gt; $LOG
    echo &quot;&quot; &gt;&gt; $LOG
    for i in `ls --color=no | grep -i log | egrep -v .gz$ | egrep -v error_log$ | egrep -v access_log$`
    do
        if [[ `$LSOF ${i}` ]]; then
	    echo &quot;&quot; &gt;&gt; $LOG
            echo &quot;found $i OPEN - not handling&quot; &gt;&gt; $LOG
	    echo &quot;&quot; &gt;&gt; $LOG
        else
	    if [[ `find . -name ${i} -mtime +${AGE}` ]]; then
		if [[ -f ${i}.gz ]]; then
	            echo &quot;found gzipped file of the same name:  ${i}.gz - not gzipping ${i}...&quot; &gt;&gt; $LOG
	        else
                    echo &quot;gzipping $i as it is older than $AGE...&quot; &gt;&gt; $LOG
                    $GZIP $i &gt;&gt; $LOG 2&gt;&amp;1
		fi
	    else
                echo &quot;$i is not open but is newer than $AGE, so NOT being gzipped&quot; &gt;&gt; $LOG
            fi
        fi
    done
    echo &quot;completed cleanup of apache logs...&quot; &gt;&gt; $LOG
else
    echo &quot;-----------------------------------&quot;&gt;&gt; $LOG
    echo &quot;start $LOGDIR cleanup&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot; &gt;&gt; $LOG
    echo &quot;&quot; &gt;&gt; $LOG
    echo &quot;??? failed to find $LOGDIR - PROBLEM???&quot; &gt;&gt; $LOG
    echo &quot;&quot; &gt;&gt; $LOG
fi

#
# Cleanup logs once processed...
#

# these logs are post-processing - no need to check for lsof and no need to retain unzipped...

export LOGDIR=/var/logs/app
if [[ -d $LOGDIR ]]; then
    cd ${LOGDIR} &gt;&gt; $LOG 2&gt;&amp;1
    echo &quot;&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot;&gt;&gt; $LOG
    echo &quot;start app $LOGDIR cleanup&quot; &gt;&gt; $LOG
    echo &quot;-----------------------------------&quot; &gt;&gt; $LOG
    echo &quot;&quot; &gt;&gt; $LOG
    for i in `ls --color=no | grep open0`
    do
	echo &quot;looking through $LOGDIR/${i}/processed...&quot; &gt;&gt; $LOG
        echo &quot;&quot; &gt;&gt; $LOG
        cd $LOGDIR/${i}/processed
        for j in `ls --color=no | egrep -v .gz$`
	do
	    if [[ -f ${j}.gz ]]; then
                echo &quot;found gzipped file of the same name:  ${j}.gz - not gzipping ${j}...&quot; &gt;&gt; $LOG
            else
                echo &quot;gzipping $j app log...&quot; &gt;&gt; $LOG
                    $GZIP $j &gt;&gt; $LOG 2&gt;&amp;1
            fi
	done
        echo &quot;COMPLETED $LOGDIR/${i}/processed...&quot; &gt;&gt; $LOG
	echo &quot;&quot; &gt;&gt; $LOG
    done
    echo &quot;&quot; &gt;&gt; $LOG
    echo &quot;Processing ${LOGDIR}/processed app logs...&quot; &gt;&gt; $LOG
    echo &quot;&quot; &gt;&gt; $LOG
    cd ${LOGDIR}/processed
    for k in `ls --color=no | egrep -v .gz$`
    do
        if [[ -f ${k}.gz ]]; then
            echo &quot;found gzipped file of the same name:  ${k}.gz - not gzipping ${k}...&quot; &gt;&gt; $LOG
        else
            echo &quot;gzipping $k app log...&quot; &gt;&gt; $LOG
            $GZIP $k &gt;&gt; $LOG 2&gt;&amp;1
        fi
    done
    echo &quot;completed app logs cleanup...&quot; &gt;&gt; $LOG
else
    echo &quot;&quot; &gt;&gt; $LOG
    echo &quot;failed to find $LOGDIR - skipping cleanup of application logs...&quot; &gt;&gt; $LOG
    echo &quot;&quot; &gt;&gt; $LOG
fi 

#### Changelog ####
dsm - edited for broad issue

 </code></pre>
<div class="addtothis"><p>
				<table cellspacing="0" cellpadding="0" border="0" style="width: 180px; height: 30px; text-align: left; margin-left: 0px; ">
				<tbody>
				<tr>
				<td style="text-align: center;">
				<a href="http://www.stumbleupon.com/submit?url=http://dougmunsinger.com/2010/06/compacting-logs.html&title=compacting logs" rel="nofollow">
                                <img src="http://dougmunsinger.com/wp-content/plugins/addtothis/stumble.png" title="Add to Stumble Upon" alt="Stumble It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://del.icio.us/post?url=http://dougmunsinger.com/2010/06/compacting-logs.html&title=compacting logs" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/delicious.png" title="Add to Del.icio.us" alt="Add to Del.cio.us" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://technorati.com/faves?add=http://dougmunsinger.com/2010/06/compacting-logs.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/technorati.png" title="Add to Technorati" alt="Add to Technorati Favorites" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://digg.com/submit?phase=2&url=http://dougmunsinger.com/2010/06/compacting-logs.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/digg.png" title="Add to Digg" alt="Digg It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://dougmunsinger.com/feed/rss" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/feeds.png" title="Add Feed to Bookmarks" alt="RSS Feed" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				</tr>
				</tbody>
				</table>

                
		
				</p></div>]]></content:encoded>
			<wfw:commentRss>http://dougmunsinger.com/2010/06/compacting-logs.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I miss my brother&#8230;</title>
		<link>http://dougmunsinger.com/2010/04/i-miss-my-brother.html</link>
		<comments>http://dougmunsinger.com/2010/04/i-miss-my-brother.html#comments</comments>
		<pubDate>Mon, 26 Apr 2010 19:28:47 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[move3]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Dennis]]></category>

		<guid isPermaLink="false">http://dougmunsinger.com/?p=801</guid>
		<description><![CDATA[My brother Dennis, my youngest brother, the baby of the family for so long, died Saturday 24th April 2010, very suddenly.&#160; He had a huge loving heart, and leaves an overwhelming hole behind him.&#160; He was there for me without any question or reservation and I hope he begins to know how much he is [...]]]></description>
			<content:encoded><![CDATA[<p>My brother Dennis, my youngest brother, the baby of the family for so long, died Saturday 24th April 2010, very suddenly.&nbsp; </p>
<p>
	He had a huge loving heart, and leaves an overwhelming hole behind him.&nbsp; He was there for me without any question or reservation and I hope he begins to know how much he is loved and how much he is missed.&nbsp; How proud I am of him.&nbsp; He was a very good man. </p>
<div class="addtothis"><p>
				<table cellspacing="0" cellpadding="0" border="0" style="width: 180px; height: 30px; text-align: left; margin-left: 0px; ">
				<tbody>
				<tr>
				<td style="text-align: center;">
				<a href="http://www.stumbleupon.com/submit?url=http://dougmunsinger.com/2010/04/i-miss-my-brother.html&title=I miss my brother&#8230;" rel="nofollow">
                                <img src="http://dougmunsinger.com/wp-content/plugins/addtothis/stumble.png" title="Add to Stumble Upon" alt="Stumble It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://del.icio.us/post?url=http://dougmunsinger.com/2010/04/i-miss-my-brother.html&title=I miss my brother&#8230;" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/delicious.png" title="Add to Del.icio.us" alt="Add to Del.cio.us" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://technorati.com/faves?add=http://dougmunsinger.com/2010/04/i-miss-my-brother.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/technorati.png" title="Add to Technorati" alt="Add to Technorati Favorites" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://digg.com/submit?phase=2&url=http://dougmunsinger.com/2010/04/i-miss-my-brother.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/digg.png" title="Add to Digg" alt="Digg It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://dougmunsinger.com/feed/rss" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/feeds.png" title="Add Feed to Bookmarks" alt="RSS Feed" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				</tr>
				</tbody>
				</table>

                
		
				</p></div>]]></content:encoded>
			<wfw:commentRss>http://dougmunsinger.com/2010/04/i-miss-my-brother.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>home to Boston, daughter in remission</title>
		<link>http://dougmunsinger.com/2010/02/home-to-boston-daughter-in-remission.html</link>
		<comments>http://dougmunsinger.com/2010/02/home-to-boston-daughter-in-remission.html#comments</comments>
		<pubDate>Wed, 24 Feb 2010 19:42:54 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[daughter]]></category>
		<category><![CDATA[move3]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://dougmunsinger.com/?p=792</guid>
		<description><![CDATA[My daughter is in remission from AML type M4.&#160;&#160; She is coming off a ventilator she&#39;s been on for 38 days now, in an ICU in California.&#160; I&#39;m leaving tomorrow after six weeks out with her.&#160; That&#39;s good &#8211; I miss being home, I miss my family in MA.&#160; I am so glad my daughter [...]]]></description>
			<content:encoded><![CDATA[<p>My daughter is in remission from AML type M4.&nbsp;&nbsp; She is coming off a ventilator she&#39;s been on for 38 days now, in an ICU in California.&nbsp;</p>
<p>
	I&#39;m leaving tomorrow after six weeks out with her.&nbsp; That&#39;s good &#8211; I miss being home, I miss my family in MA.&nbsp; I am so glad my daughter is better enough that I can see leaving.</p>
<p>But leaving isn&#39;t easy, either.&nbsp;</p>
<p>&#8211;doug</p>
<div class="addtothis"><p>
				<table cellspacing="0" cellpadding="0" border="0" style="width: 180px; height: 30px; text-align: left; margin-left: 0px; ">
				<tbody>
				<tr>
				<td style="text-align: center;">
				<a href="http://www.stumbleupon.com/submit?url=http://dougmunsinger.com/2010/02/home-to-boston-daughter-in-remission.html&title=home to Boston, daughter in remission" rel="nofollow">
                                <img src="http://dougmunsinger.com/wp-content/plugins/addtothis/stumble.png" title="Add to Stumble Upon" alt="Stumble It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://del.icio.us/post?url=http://dougmunsinger.com/2010/02/home-to-boston-daughter-in-remission.html&title=home to Boston, daughter in remission" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/delicious.png" title="Add to Del.icio.us" alt="Add to Del.cio.us" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://technorati.com/faves?add=http://dougmunsinger.com/2010/02/home-to-boston-daughter-in-remission.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/technorati.png" title="Add to Technorati" alt="Add to Technorati Favorites" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://digg.com/submit?phase=2&url=http://dougmunsinger.com/2010/02/home-to-boston-daughter-in-remission.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/digg.png" title="Add to Digg" alt="Digg It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://dougmunsinger.com/feed/rss" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/feeds.png" title="Add Feed to Bookmarks" alt="RSS Feed" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				</tr>
				</tbody>
				</table>

                
		
				</p></div>]]></content:encoded>
			<wfw:commentRss>http://dougmunsinger.com/2010/02/home-to-boston-daughter-in-remission.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>visually healthy bone marrow&#8230;</title>
		<link>http://dougmunsinger.com/2010/02/visually-healthy-bone-marrow.html</link>
		<comments>http://dougmunsinger.com/2010/02/visually-healthy-bone-marrow.html#comments</comments>
		<pubDate>Fri, 19 Feb 2010 00:12:04 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[move3]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[daughter]]></category>

		<guid isPermaLink="false">http://dougmunsinger.com/?p=788</guid>
		<description><![CDATA[Not something you hope to have to hope for&#8230; &#160; My daughter has visually more healthy bone marrow than she had 36 days ago when she came into the hospital in crisis.&#160;&#160; She has at least managed to knock the cancer back and rebuild a bone marrow that is not diseased.&#160; More detailed tests will [...]]]></description>
			<content:encoded><![CDATA[<p>Not something you hope to have to hope for&#8230;</p>
<p>&nbsp;</p>
<p>My daughter has visually more healthy bone marrow than she had 36 days ago when she came into the hospital in crisis.&nbsp;&nbsp; She has at least managed to knock the cancer back and rebuild a bone marrow that is not diseased.&nbsp; More detailed tests will look for any trace at all of cancerous marrow.&nbsp; I&#39;m hoping there will be none to find at all.&nbsp; That would be remission, the first step toward a life outside of a hospital room.</p>
<p>&nbsp;</p>
<p>&#8211;doug</p>
<div class="addtothis"><p>
				<table cellspacing="0" cellpadding="0" border="0" style="width: 180px; height: 30px; text-align: left; margin-left: 0px; ">
				<tbody>
				<tr>
				<td style="text-align: center;">
				<a href="http://www.stumbleupon.com/submit?url=http://dougmunsinger.com/2010/02/visually-healthy-bone-marrow.html&title=visually healthy bone marrow&#8230;" rel="nofollow">
                                <img src="http://dougmunsinger.com/wp-content/plugins/addtothis/stumble.png" title="Add to Stumble Upon" alt="Stumble It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://del.icio.us/post?url=http://dougmunsinger.com/2010/02/visually-healthy-bone-marrow.html&title=visually healthy bone marrow&#8230;" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/delicious.png" title="Add to Del.icio.us" alt="Add to Del.cio.us" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://technorati.com/faves?add=http://dougmunsinger.com/2010/02/visually-healthy-bone-marrow.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/technorati.png" title="Add to Technorati" alt="Add to Technorati Favorites" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://digg.com/submit?phase=2&url=http://dougmunsinger.com/2010/02/visually-healthy-bone-marrow.html" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/digg.png" title="Add to Digg" alt="Digg It!" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				<td style="text-align: center;">
				<a href="http://dougmunsinger.com/feed/rss" rel="nofollow">
				<img src="http://dougmunsinger.com/wp-content/plugins/addtothis/feeds.png" title="Add Feed to Bookmarks" alt="RSS Feed" style="border: 0px solid ; width: 28px; height: 28px;"/>
				</a>
				</td>
				</tr>
				</tbody>
				</table>

                
		
				</p></div>]]></content:encoded>
			<wfw:commentRss>http://dougmunsinger.com/2010/02/visually-healthy-bone-marrow.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

