siteminder log

From: Kelley, Scott (Scott.Kelley@disney.com)
Date: Tue Oct 21 2003 - 11:17:59 EDT


Rick -

  Siteminder is a program that opens it's filehandle in such a way as to makes
the standard cat /dev/null ineffective. My attempts to get SM to log to a
named pipe did not work either. What SM version are you using ?

  There is no efficient way to rotate SM logs. The best you can do is to
bounce the webserver and rotate the log at that time. Personally, given the
size of your SM logs I would NOT turn them on unless you are troubleshooting
an SM problem.

  Good luck.

-sk

----------------------------------------------------------------------

Message: 1
Date: Mon, 20 Oct 2003 14:50:46 -0500
From: Rick.Brashear@ercgroup.com
Subject: File size issues....
To: sunmanagers@sunmanagers.org
Message-ID:
        <2857747EB2E7D311AC1A00508B6F9C7C0B1FCB2F@kans020cercge.erc.ge.com>
Content-Type: text/plain; charset="iso-8859-1"

Hail Sunmanagers!

I have a file issue I do not understand.

O/S: Solaris 8 Generic_108528-19
Pltfrm: E10K domain

We have an actively running web application whose siteminder webagent is
logging to siteminder.log. I was under the impression that you could do
something like:

cp siteminder.log otherlocation.log
cat /dev/null > siteminder.log and free up disk space.

It seems that shortly after I do this the filesystem reports that the log
file is at the size it was when I began and still growing. df reflects this
as well.

I wrote a script that captures a particular case:

+ ls -l siteminder.log
-rwxrwxr-x 1 kintana iplanet 109625128 Oct 20 14:37 siteminder.log
+ wc -l siteminder.log
   49312 siteminder.log
+ wc -c siteminder.log
 109629860 siteminder.log
+ cp -p siteminder.log /var/tmp/kintana
+ cat /dev/null
+ 1> siteminder.log
+ ls -l siteminder.log
-rwxrwxr-x 1 kintana iplanet 0 Oct 20 14:38 siteminder.log
+ wc -l siteminder.log
       0 siteminder.log
+ wc -c siteminder.log
       0 siteminder.log
+ sleep 60
+ ls -l siteminder.log
-rwxrwxr-x 1 kintana iplanet 109635695 Oct 20 14:39 siteminder.log
+ wc -l siteminder.log
      65 siteminder.log
+ wc -c siteminder.log
109647732 siteminder.log

You can see that the line count appears that it may be correct but the
character count shows the file to still be very large. We have often dealt
with this in the past successfully. But now it seems to be ineffective.
Can someone help? We are running out of disk space fast....
g ERC
_______________________________
Rick Brashear
Server Systems
Information Technology Department
Employers Reinsurance Corporation
5200 Metcalf
Overland Park, Kansas 66201
* 913 676-6418
* rick.brashear@ercgroup.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:20 EDT