Maximum number of in-memory log entries exceeded; cannot create another until some are flushed to the log database

Domino version 9.0.1FP5 HF71
Windows version 2008 R2 Ent SP1
Memory 16GB
CPU 4 x 2.30GHz
Virtual

Memory usage is very large on the server and I tried to use “drop all” from Domino console. I then receive the message

“Maximum number of in-memory log entries exceeded; cannot create another until some are flushed to the log database”

After a couple of “dbcache flush” commands I reduce the memory usage with about 10-15% but it is still high and the message keeps appearing after I try to use “drop all”.

I do not want to restart the server since it is a mailserver.

Subject: What’s the % disk usage on the log.nsf?

Lower values of %used on the log.nsf means, it’ll take longer to flush log entries to the log.nsf. And yes, it requires a server restart. But you can prep a new log.nsf (copy the old log.nsf then do a quick renaming while the server’s down), so your server is not down while you’re messing with it.

What’s your server_session_timeout value? Don’t leave it at the default.

If your users are polling too quickly for new mail this’ll use up memory as well. Users should use a practical value for this check: it’s mail, not instant messaging.

Subject: Try…

Try increasing the size part of the notes.ini setting LOG.

e.g. from LOG=log.nsf, 1, 0, 7,30000 to LOG=log.nsf, 1, 0, 7,50000

Will need a restart though.

Subject: Some changes

Thank you for your replies.

I’ve changed the following

Log=log.nsf, 1, 0, 7, 50000
Server_Session_Timeout=30

We have a policy already in place to let users check their mails every 10 minutes.

Also I brought down the server and moved log.nsf (28% usage) to a backup location. Server creates a new one automatically.

Will let you know if this helped or not.

Subject: Still same issue

Sorry no luck! Still the same problem. Log at 95.5%.

Subject: Event logging

It could be that your server is logging too much or that the event pool is not large enough.

Event Pool: http://www-01.ibm.com/support/docview.wss?uid=swg21097225 http://www-01.ibm.com/support/docview.wss?uid=swg21097225

Have you tried to reduce the volume of logging, do you have any debug running?

Stop logging sessions: Log_Sessions=0 (notes.ini)

Reduce router noise: Router/SMTP → Advanced… → Logging Lever: Minimal (In the config document)

As it’s a virtual box, check the average disk queue length on the Domino data drive the disk could be below par for Domino.

Edit: You can also try LOG_DISABLE_SESSION_INFO = 1 (https://www-10.lotus.com/ldd/dominowiki.nsf/dx/log_disable_session_info-disables-the-logging-of-various-session-events https://www-10.lotus.com/ldd/dominowiki.nsf/dx/log_disable_session_info-disables-the-logging-of-various-session-events)