RE: NT large memory configuration
Posted in 1999
I take it the instance comes up fine with fewer buffers etc.
300000 buffers = 1.2Gb on NT
plus 131Mb SHMVIRTSIZE
plue NT and anything else on it.
What memory does the server have?
Murray Wood
-----Original Message-----
From: Jay Walters [SMTP:jwalters@computer.org]
Sent: Tuesday, June 08, 1999 2:34 AM
To: informix-list@iiug.org
Subject: NT large memory configuration
I'm trying to configure a large amount of memory on Informix 7.3tc8 on
Windows NT Server 4.0 sp3.
When I go about 300000 buffers and some 131MB of shared memory I get the
usual complaints -
13:44:43 shmat: [EINVAL][22]: shared memory base address illegal
13:44:44 using 0xa000000, needs 0x14f0000
13:44:45 mt_shm_init: can't create resident segment
I've attached the currently working onconfig file. I get an error like
the above one when I bump up the # of buffers. I've tried setting
SHMBASE to many different values without success -
This is onconfig is from my development machine so yes I want LTAPEDEV
to be NUL.
#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.std
# Description: Informix Dynamic Server Configuration Parameters
#
#**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace name
ROOTPATH d:\\IFMXDATA\\ol_gamera\\rootdbs_dat.000 # Path for device containing root
dbspace
ROOTOFFSET 0 # Offset of root dbspace into device
(Kbytes)
ROOTSIZE 262144 # Size of root dbspace (Kbytes)# Disk Mirroring Configuration Parameters
MIRROR 1 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH g:\\ifmxdata\\ol_gamera\\rootdbs_mir.000
# Path for device containing mirrored
root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)# Physical Log Configuration
PHYSDBS physlog # Location (dbspace) of physical log
PHYSFILE 81920 # Physical log file size (Kbytes)# Logical Log Configuration
LOGFILES 44 # Number of logical log files
LOGSIZE 8192 # Logical log size (Kbytes)LOG_BACKUP_MODE CONT # Logical log backup mode (MANUAL, CONT)
# Diagnostics
MSGPATH D:\\INFORMIX\\ol_gamera.log # System message log file path
CONSOLE D:\\INFORMIX\\conol_gamera.log # System console message
path
ALARMPROGRAM D:\\INFORMIX\\etc\\log_full.bat # Alarm program path
# System Diagnostic Script.
# SYSALARMPROGRAM - Full path of the system diagnostic script (e.g.
# d:\\informix\\etc\\evidence.bat.) Set this parameter
# if you want a different Diagnostic Script than
# {INFORMIXDIR}\\etc\\evidence.bat, which is default.
# System Archive Tape Device
TAPEDEV NUL # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 10240 # Maximum amount of data to put on tape
(Kbytes)# Log Archive Tape Device
LTAPEDEV NUL # Log tape device path
LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 20480 # Max amount of data to put on log tape
(Kbytes)
# OpticalSTAGEBLOB # Informix Dynamic Server/Optical
staging area
OPTICAL_LIB_PATH # Location of Optical Subsystem driver
DLL
# System Configuration
SERVERNUM 0 # Unique id corresponding to a serverinstance
DBSERVERNAME ol_gamera # Name of default Dynamic Server
DBSERVERALIASES # List of alternate dbservernames
NETTYPE soctcp,1,250,NET # Override sqlhosts nettype parameters
DEADLOCK_TIMEOUT 60 # Max time to wait of lock indistributed env.
RESIDENT 1 # Forced residency flag (Yes = 1, No =
0)
MULTIPROCESSOR 1 # 0 for single-processor, 1 formulti-processor
NUMCPUVPS 2 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vpsto one
NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors# Shared Memory Parameters
LOCKS 300000 # Maximum number of locks
BUFFERS 290000 # Maximum number of shared buffers
NUMAIOVPS 1 # Number of IO vps
PHYSBUFF 32 # Physical log buffer size (Kbytes)
LOGBUFF 32 # Logical log buffer size (Kbytes)LOGSMAX 128 # Maximum number of logical log files
CLEANERS 7 # Number of buffer cleaner processes
SHMBASE 0xa000000 # Shared memory base address
SHMVIRTSIZE 131072 # initial virtual shared memory segmentsize
SHMADD 16384 # Size of new shared memory segments
(Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes).
0=>unlimited
CKPTINTVL 900 # Check point interval (in sec)
LRUS 7 # Number of LRU queues
LRU_MAX_DIRTY 1 # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY 0 # LRU percent dirty end cleaning limit
LTXHWM 50 # Long transaction high water markpercentage
LTXEHWM 60 # Long transaction high water mark
(exclusive)
TXTIMEOUT 0x12c # Transaction timeout (in sec)
STACKSIZE 32 # Stack size (Kbytes)# System Page Size
# BUFFSIZE - Dynamic Server no longer supports this configuration
parameter.
# To determine the page size used by Dynamic Server on your
platform
# see the last line of output from the command, 'onstat -b'.
# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline
restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.
OFF_RECVRY_THREADS 10 # Default number of offline workerthreads
ON_RECVRY_THREADS 1 # Default number of online workerthreads
# Data Replication Variables
# DRAUTO: 0 manual, 1 retain type, 2 reverse type
DRAUTO 0 # DR automatic switchover
DRINTERVAL 30 # DR max time between DR buffer flushes
(in sec)
DRTIMEOUT 30 # DR network timeout (in sec)
DRLOSTFOUND \\tmp # DR lost+found file path# CDR Variables
CDR_LOGBUFFERS 2048 # size of log reading buffer pool
(Kbytes)
CDR_EVALTHREADS 1,2 # evaluator threads
(per-cpu-vp,additional)
CDR_DSLOCKWAIT 5 # DS lockwait timeout (seconds)
CDR_QUEUEMEM 4096 # Maximum amount of memory for any CDR
queue (Kbytes)# Backup/Restore variables
BAR_ACT_LOG D:\\INFORMIX\\bar_ol_gamera.log #Path of log file for
onbar.exe
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 10
BAR_X