IDS 7.31 on DEC Unix
Posted in 2000
Topics: Performance & Tuning, Storage & Space Management, Transactions, Locking & Isolation, Logging & Checkpoints, Networking & sqlhosts Configuration, Java & JDBC Development, Versions, Editions & End-of-Life
About month ago I have performance problems on 2 CPU DEC Alpha and one of
advises was to add more CPUs.
So we change old one Alpha with new one.
New is Alpha 4100 with 4 CPUs and 2G of RAM. KIO is enabled.
Now I have some problems:
*************** 1. problem ***************************
I try to set BUFFERS to 250000 but I get this message.
13:04:23 shmget: [ENOMEM][12]: key 52564801: out of shared memory, check system max shared memory segment size
13:04:23 mt_shm_init: can't create resident segment
I put BUFFERS to 120000 and everythings work.
onstat -g seg output
Informix Dynamic Server Version 7.31.FC5 -- On-Line -- Up 18:06:32 -- 303104Kbytes
Segment Summary:
id key addr size ovhd class blkused bl
kfree
256 1381386241 200000000 276824064 5120 R* 33395 39
7
257 1381386242 210800000 33554432 1016 V 3597 49
9
258 1381386243 212800000 8388608 632 M 69 95
5
Total: - - 318767104 - - 37061 18
51
Kernel parametars (from /sys/conf/SYSTEMNAME)
shmmax 2147483647
shmmin 1
shmmni 150
shmseg 150
semmni 400
semmns 100
semmsl 1600
->->->->-> Q: Why I cann't put BUFFERS=250000
************************** 2. problem *************************************
Event alarms enabled. ALARMPROG = '/usr/informix/log_full.sh'
DR: DRAUTO is 0 (Off)
Requested shared memory segment size rounded from 616KB to 8192KB
Informix Dynamic Server Version 7.31.FC5 Software Serial Number AAC#J866931
Informix Dynamic Server Initialized -- Shared Memory Initialized.
Physical Recovery Started.
Physical Recovery Complete: 0 Pages Restored.
Logical Recovery Started.
Logical Recovery Complete.
0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
Dataskip is now OFF for all dbspaces
On-Line Mode
Affinitied VP 1 to phys proc 1
Affinitied VP 3 to phys proc 2
Affinitied VP 4 to phys proc 3
Checkpoint Completed: duration was 20 seconds.
Checkpoint Completed: duration was 0 seconds.
->->->->-> Q: Why I have message Requested .....
->->->->-> Q: Why I have so long first Ceckpoint
oncheck -pr output
Validating Informix Dynamic Server reserved pages
Validating PAGE_PZERO...
Identity Informix Dynamic Server
Copyright(C) 1986-1998
Informix Software, Inc.
Database system state 11
Database system flags 0x1
Page Size 2048
Date/Time created 06/29/2000 15:58:15
Version number of creator 6
Last modified time stamp 0
Validating PAGE_CONFIG...
ROOTNAME rootdbs
ROOTPATH /usr/informix/data/rootdbs_001.dat
ROOTOFFSET 100
ROOTSIZE 630000
MIRROR 1
MIRRORPATH /usr/informix/data/rootdbs_001.mir
MIRROROFFSET 100
JVPHOME
JVPJAVAHOME
JVPJAVAVM libjava.so
JVPLOGFILE jvp.log
JVPPROPFILE .jvpprops
JVPJAVALIB
JDKVERSION
JVMTHREAD green
JVPCLASSPATH
JVPDEBUG 0
PHYSDBS rootdbs
PHYSFILE 20000
LOGFILES 100
LOGSIZE 10000 MSGPATH /usr/informix/online.log
CONSOLE /usr/informix/console.log
TAPEDEV /usr/informix/data/arctape
TAPEBLK 128
TAPESIZE 20000000
LTAPEDEV /dev/null
LTAPEBLK 128
LTAPESIZE 1000000
DBSERVERNAME disko2
SERVERNUM 0
DEADLOCK_TIMEOUT 60
RESIDENT 1
LOCKS 100000
BUFFERS 120000
PHYSBUFF 64
LOGBUFF 32
LOGSMAX 300
CLEANERS 10
BUFFSIZE 2048
SHMBASE 0x0
CKPTINTVL 300
LRUS 16
LRU_MAX_DIRTY 10
LRU_MIN_DIRTY 5
SPINCNT 0
STAGEBLOB
LTXHWM 50
LTXEHWM 60
TXTIMEOUT 300
DRNODE 1
DRNAME
DRINTERVAL 30
DRTIMEOUT 30
DRAUTO 0
DRLOSTFOUND /usr/informix/etc/dr.lostfound
DUMPSHMEM 0
DUMPGCORE 0
DUMPCORE 0
DUMPCNT 1
DUMPDIR /tmp
NUMCPUVPS 3
NUMAIOVPS 1
SHMVIRTSIZE 32768
NOAGE 1
AFF_SPROC 1
AFF_NPROC 3
RA_PAGES 32
RA_THRESHOLD 16
STACKSIZE 64
OFF_RECVRY_THREADS 10
ON_RECVRY_THREADS 1
SHMADD 16384
SHMTOTAL 0
SINGLE_CPU_VP 0
ALARMPROGRAM /usr/informix/log_full.sh
DS_MAX_QUERIES 6
DS_TOTAL_MEMORY 768
DS_MAX_SCANS 1048576
MAX_PDQPRIORITY 0 DBSPACETEMP temp1dbs,temp2dbs
DATASKIP off
ONDBSPACEDOWN 2
LBU_PRESERVE 1
OPCACHEMAX 0
BAR_ACT_LOG /tmp/bar_act.log
BAR_DEBUG_LOG /tmp/bar_dbug.log
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_DEBUG 0
BAR_BSALIB_PATH
RESTARTABLE_RESTORE 0
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31
BAR_PROGRESS_FREQ 0
BAR_HISTORY 0
CDR_LOGBUFFERS 2048
In article <5mf8msobmsfiusbr7ttlki8psq7tsrdioj@4ax.com>, remove (_at_)
to reply <mips_at_@zg.tel.hr> writes
>About month ago I have performance problems on 2 CPU DEC Alpha and one of
>advises was to add more CPUs.
>So we change old one Alpha with new one.
>New is Alpha 4100 with 4 CPUs and 2G of RAM. KIO is enabled.
> Now I have some problems:
>
Check you have enough shared memory configured.
>*************** 1. problem ***************************
> I try to set BUFFERS to 250000 but I get this message.
>
>13:04:23 shmget: [ENOMEM][12]: key 52564801: out of shared memory, check system> max shared memory segment size
>13:04:23 mt_shm_init: can't create resident segment>
> I put BUFFERS to 120000 and everythings work.
>
>onstat -g seg output
>Informix Dynamic Server Version 7.31.FC5 -- On-Line -- Up 18:06:32 -- 303104>Kbytes
>
>Segment Summary:
>id key addr size ovhd class blkused bl
>kfree
>256 1381386241 200000000 276824064 5120 R* 33395 39
>7
>257 1381386242 210800000 33554432 1016 V 3597 49
>9
>258 1381386243 212800000 8388608 632 M 69 95
>5
>Total: - - 318767104 - - 37061 18
>51
>
>Kernel parametars (from /sys/conf/SYSTEMNAME)
>
>shmmax 2147483647
>shmmin 1
>shmmni 150
>shmseg 150
>semmni 400
>semmns 100
>semmsl 1600
>
>->->->->-> Q: Why I cann't put BUFFERS=250000
>
>************************** 2. problem *************************************
>
> Event alarms enabled. ALARMPROG = '/usr/informix/log_full.sh'
> DR: DRAUTO is 0 (Off)
> Requested shared memory segment size rounded from 616KB to 8192KB
> Informix Dynamic Server Version 7.31.FC5 Software Serial Number AAC#J866931
> Informix Dynamic Server Initialized -- Shared Memory Initialized.
> Physical Recovery Started.
> Physical Recovery Complete: 0 Pages Restored.
> Logical Recovery Started.
> Logical Recovery Complete.
> 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
>
> Dataskip is now OFF for all dbspaces
> On-Line Mode
> Affinitied VP 1 to phys proc 1
> Affinitied VP 3 to phys proc 2
> Affinitied VP 4 to phys proc 3
> Checkpoint Completed: duration was 20 seconds.
> Checkpoint Completed: duration was 0 seconds.
>
>
>->->->->-> Q: Why I have message Requested .....
>->->->->-> Q: Why I have so long first Ceckpoint
>
>oncheck -pr output>
>
>Validating Informix Dynamic Server reserved pages
>
> Validating PAGE_PZERO...
>
> Identity Informix Dynamic Server
> Copyright(C) 1986-1998
> Informix Software, Inc.
> Database system state 11
> Database system flags 0x1
> Page Size 2048
> Date/Time created 06/29/2000 15:58:15
> Version number of creator 6
> Last modified time stamp 0
>
> Validating PAGE_CONFIG...
>
> ROOTNAME rootdbs
> ROOTPATH /usr/informix/data/rootdbs_001.dat
> ROOTOFFSET 100
> ROOTSIZE 630000
> MIRROR 1
> MIRRORPATH /usr/informix/data/rootdbs_001.mir
> MIRROROFFSET 100
> JVPHOME
> JVPJAVAHOME
> JVPJAVAVM libjava.so
> JVPLOGFILE jvp.log
> JVPPROPFILE .jvpprops
> JVPJAVALIB
> JDKVERSION
> JVMTHREAD green
> JVPCLASSPATH
> JVPDEBUG 0
> PHYSDBS rootdbs
> PHYSFILE 20000
> LOGFILES 100
> LOGSIZE 10000> MSGPATH /usr/informix/online.log
> CONSOLE /usr/informix/console.log
> TAPEDEV /usr/informix/data/arctape
> TAPEBLK 128
> TAPESIZE 20000000
> LTAPEDEV /dev/null
> LTAPEBLK 128
> LTAPESIZE 1000000
> DBSERVERNAME disko2
> SERVERNUM 0
> DEADLOCK_TIMEOUT 60
> RESIDENT 1
> LOCKS 100000
> BUFFERS 120000
> PHYSBUFF 64
> LOGBUFF 32
> LOGSMAX 300
> CLEANERS 10
> BUFFSIZE 2048
> SHMBASE 0x0
> CKPTINTVL 300
> LRUS 16
> LRU_MAX_DIRTY 10
> LRU_MIN_DIRTY 5
> SPINCNT 0
> STAGEBLOB
> LTXHWM 50
> LTXEHWM 60
> TXTIMEOUT 300
> DRNODE 1
> DRNAME
> DRINTERVAL 30
> DRTIMEOUT 30
> DRAUTO 0
> DRLOSTFOUND /usr/informix/etc/dr.lostfound
> DUMPSHMEM 0
> DUMPGCORE 0
> DUMPCORE 0
> DUMPCNT 1
> DUMPDIR /tmp
> NUMCPUVPS 3
> NUMAIOVPS 1
> SHMVIRTSIZE 32768
> NOAGE 1
> AFF_SPROC 1
> AFF_NPROC 3
> RA_PAGES 32
> RA_THRESHOLD 16
> STACKSIZE 64
> OFF_RECVRY_THREADS 10
> ON_RECVRY_THREADS 1
> SHMADD 16384
> SHMTOTAL 0
> SINGLE_CPU_VP 0
> ALARMPROGRAM /usr/informix/log_full.sh
> DS_MAX_QUERIES 6
> DS_TOTAL_MEMORY 768
> DS_MAX_SCANS 1048576
> MAX_PDQPRIORITY 0> DBSPACETEMP temp1dbs,temp2dbs
> DATASKIP off
> ONDBSPACEDOWN 2
> LBU_PRESERVE 1
> OPCACHEMAX 0
> BAR_ACT_LOG /tmp/bar_act.log
> BAR_DEBUG_LOG /tmp/bar_dbug.log
> BAR_MAX_BACKUP 0
> BAR_RETRY 1
> BAR_DEBUG 0
> BAR_BSALIB_PATH
> RESTARTABLE_RESTORE 0
> BAR_NB_XPORT_COUNT 10
> BAR_XFER_BUF_SIZE 31
> BAR_PROGRESS_FREQ 0
> BAR_HISTORY 0
> CDR_LOGBUF
Related threads
- Posting from the Informix-list
- Migrating from IDS 9.40.UC6 to 11.50.UC3
- Ip for a network session
- questions onstat -g