[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Messages to stdout in embedded mode?
Do you have logging turned off in your database configuration? If
logging is turned off then the logging information is output to stdout.
The output you are seeing is what is output at the start of a database
session.
In embedded mode, this is most likely to reoccur when all of the open
connections to the database are closed, and then a new connection is
established. In embedded mode, the database is automatically shut down
when all the open connections are closed. If you want to prevent this,
I would recommend establishing a single unused connection to the
database when your application starts that is closed when your
application finishes.
Toby.
M. A. Sridhar wrote:
> Hi folks, I am running Mckoi 1.0.2 in embedded mode for a servlet-based
> web application I am developing. I periodically see the output below in
> the standard output of the app (which I capture to a log file). It
> occurs several times in the output, and to me it seems as if it is
> restarting something. The app has been running for a long time, so I
> would have thought that the startup message should only show once, at
> the time the system starts. The application seems to be behaving ok, but
> I'm wondering if I'm doing something wrong in my Mckoi usage, that might
> exact a performance penalty later, when the app is heavily loaded.
> Please advise. Thanks. % Storage System: v1 file storage mode. %
> Internal Data Cache size: 4194304 % Internal Data Cache max cell size:
> 8192 % lookup_comparison_list = false % read_only = false %
> transaction_error_on_dirty_select = false % ignore_case_for_identifiers
> = true % Java NIO API is not available. % io_safety_level = 10 % Using
> stardard IO API for heap buffered file access. % [Buffer Manager] Using
> IO API: Java IO % [Buffer Manager] Page Size: 8192 % [Buffer Manager]
> Max pages: 256 % Java regex API not available. % No 'function_factories'
> config property found. % statement_cache = true % Max worker threads set
> to: 4 % Starting Database Server
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos.yahoo.com>
>