IBM 000-8697 Manual de usuario Pagina 382

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 702
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 381
4-10 IBM Informix OnLine Database Server Administrator’s Guide
Setting Consistency-Checking Variables
(Acoredumpisanimageofthedatabaseserverprocessinmemory atthetime
that the inconsistency was detected. Some core dumps include a copy of
shared memory. To determine the size of your OnLine shared memory, refer
to the kilobyte information listed in any tbstat header.)
Administratorswithdiskspaceconstraints might prefertowriteascriptthat
detects the presence of diagnostic output in a specified directory and sends
the output to tape. This approach preserves the diagnostic information and
minimizes the amount of disk space used.
GCORE
The GCORE environment variable is used with UNIX operating systems that
support the gcoreutility.IfGCORE isset, the OnLine databaseserverprocess
calls gcore whenever the server process detects an inconsistency or initiates
an abort sequence. The gcore utility directs the server process to dump core
tothecurrentdirectory(orthedirectoryspecifiedbyDUMPDIR)andcontinue
processing.
The core dump output generated by gcore is saved to the file core.pid.cnt.
The pid value is the OnLine database server process identification number.
The cnt value is incremented each time this process encounters an inconsis-
tency. The cnt value can range from 1 to 4. After 4, separate core dumps are
savedto files, andnomorefilesarecreated.Iftheserver process continues to
detect inconsistencies in this section of code, errors are reported to the
OnLine message log (and perhaps to the application), but no further
diagnostic information is saved.
IfyousetGCORE andyourUNIX systemdoesnotsupport gcore, messages in
theOnLinemessagelogindicatethatanattemptwasmadetodumpcore,but
theexpectedfilewasnotfound.(IfyourUNIXsystemdoesnotsupportgcore,
set DUMPCORE instead.)
Set the GCORE environment variable at the system prompt or in your .login
or .cshrc (C shell) or your .profile (Bourne shell) file as follows:
C shell:
setenv GCORE
Bourne shell:
GCORE =
export GCORE
Vista de pagina 381
1 2 ... 377 378 379 380 381 382 383 384 385 386 387 ... 701 702

Comentarios a estos manuales

Sin comentarios