Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
DOMINOPOWER Q&A
Why your log.nsf might not be purging properly
By Joe Dolittle

DominoPower Reader Jelani Ngabidj writes:

I'm starting to worry about my log.nsf file. I've never really paid much attention to this thing, but I recently did a scan for big files on my server and discovered log.nsf was more than 11 gigabytes!
We've been running the server for a long time, but I just don't feel good about a log file that size. Shouldn't the server be purging the file on a pretty regular basis?

Jelani is right. Your log.nsf file should never be that large. In fact, your log file should be purged on a very regular basis.

Log file purging is generally managed by the "Log=" parameter in Notes.ini. A few weeks ago, we gave a Site of the Month award to lntoolbox.com's .ini reference and today, I'm making use of it to answer Jelani's question.

According to the .ini reference, the format for the "Log=" parameter is:

Log=logfilename,logoption,0,days,size,days2(optional)

The fourth parameter, "days", is what's important here. Most often, you'll see that set to 7, for 7 days. Sometimes, you'll see it set to 30. But either way, you shouldn't have more than about 30 days in your log.nsf file.

So, the first thing to do is check your Notes.ini and see if somehow that parameter is inflated, for example, if it says something like 365 or even 20000. If so, then your log isn't being purged because Notes has been told not to purge it.

By the way, if it turns out you don't have a "Log=" parameter, that doesn't mean the log file is allowed to grow. The default setting for log file purging is 7 days, so if you have no "Log=" at all, 7 days is the assumed value.

One thing to note is that Notes doesn't purge the entire log at once. According to IBM:

Purging is done at one-third of the purge interval time. (i.e. If the interval is set to 30, then every 10 days, all deletion stubs older than 30 days are purged from the database)

It's also possible that the "Log=" parameter is being ignored in Notes.ini. There was a problem in Domino 6.0, 6.5, and 7.0 where Domino ignored the parameter under certain circumstances. I honestly don't know if the problem still exists in current releases, but I haven't seen any mention of it, so it might have been fixed.

There is a workaround. Find the Replication->Space Savers tab and look for the checkbox "Remove documents not modified in the last N days". Check it. This should help you get around the problem.

Good luck!

Joe is a ZATZ associate editor. Prior to this job, he was customer support manager for the FileFlex database engine.


Other articles you might like
Home > Lotus Technologies > Domino (77 articles)
   More about Domino log files
   Sloppy analysis at the core of another Domino vs. SharePoint report
   A faster way to repair corrupted server files
Home > Tips & Techniques (102 articles)
   More about Domino log files
   A faster way to repair corrupted server files
   Making Domino work with IIS
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login