Buffer manager internal error
Posted in 2008
A user on IDS 7.31.UC7 (AIX 5.3, 16GB RAM) saw "Assert Failed: Buffer manager internal error" (rsbuff.c line 135, action "Internally corrected") in the online log at startup/quiescent mode, and suspected his SHMVIRTSIZE/SHMADD settings. Replies asked for OS/memory details; Marco Greco said this is a known issue in 7.31.UC7 (a release also on quality hold for a recovery bug) and advised upgrading. Kevin Cherkauer explained the line number is just a generic error routine and asked for the af.* stack file to pinpoint the caller. The poster promised to post it, but no stack file or final resolution appears in the thread.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Storage & Space Management, Error Codes & Troubleshooting, Server Administration, Transactions, Locking & Isolation, Logging & Checkpoints, Platform-Specific Issues
Dear Expert,
I need your expertise help, i got error as i put below.
What i need to know is, how to calculate SHMADD? seems the problem is
because i put wrong number for SHMADD and SHMVIRTSIZE
THANKS SO MUCH for your kind help.....
abdoel
here is my onconfig:
NETTYPE ipcshm,2,512,CPU # Configure poll thread(s) fornettype
NETTYPE soctcp,2,512,NET # Configure poll thread(s) fornettype
DEADLOCK_TIMEOUT 60 # Max time to wait of lock indistributed env.
RESIDENT 0 # Forced residency flag (Yes = 1, No =
0)
MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 4 # 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 4 # Affinity number of processors
# Shared Memory Parameters
LOCKS 40000 # Maximum number of locks
BUFFERS 65000 # Maximum number of shared buffers
NUMAIOVPS 0 # Number of IO vps
PHYSBUFF 512 # Physical log buffer size (Kbytes)
LOGBUFF 512 # Logical log buffer size (Kbytes)LOGSMAX 10 # Maximum number of logical log files
CLEANERS 6 # Number of buffer cleaner processes
SHMBASE 0x30000000 # Shared memory base address
SHMVIRTSIZE 102400 # initial virtual shared memorysegment size
SHMADD 131072 # Size of new shared memory segments
(Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes).
0=>unlimited
CKPTINTVL 360 # Check point interval (in sec)
LRUS 8 # Number of LRU queues
LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaninglimit
LRU_MIN_DIRTY 50 # 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)
9:27:19 Event alarms enabled. ALARMPROG = '/usr/informix/etc/
log_full.sh'
09:27:24 DR: DRAUTO is 0 (Off)
09:27:24 AIX MP latch code enabled
09:27:25 Requested shared memory segment size rounded from 5340KB to5344KB
09:27:25 Requested shared memory segment size rounded from 5340KB to5344KB
09:27:25 Dynamically allocated new message shared memory segment
(size 5344KB)
09:27:25 Informix Dynamic Server Version 7.31.UC7 Software SerialNumber AAD#J183101
09:27:25
09:27:25
09:27:26 (8) connection rejected - no calls allowed for sqlexec
09:27:26 listener-thread: err = -27002: oserr = 0: errstr = : Noconnections are allowed in Dynamic Server quiescent mode.
09:27:26
09:27:27 (14) connection rejected - no calls allowed for sqlexec
09:27:27 listener-thread: err = -27002: oserr = 0: errstr = : Noconnections are allowed in Dynamic Server quiescent mode.
09:27:28 (15) connection rejected - no calls allowed for sqlexec
09:27:28 listener-thread: err = -27002: oserr = 0: errstr = : Noconnections are allowed in Dynamic Server quiescent mode.
09:27:29 Informix Dynamic Server Initialized -- Shared MemoryInitialized.
09:27:29 Physical Recovery Started.
09:27:29 Physical Recovery Complete: 0 Pages Restored.
09:27:29 Logical Recovery Started.
09:27:33 Logical Recovery Complete. 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
09:27:34
09:27:35 Dataskip is now OFF for all dbspaces
09:27:35 Quiescent Mode
09:27:35 Assert Failed: Buffer manager internal error
09:27:35 Informix Dynamic Server Version 7.31.UC7
09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
Thread(7, main_loop(), 50054014, 1)
File: rsbuff.c Line: 135
09:27:35 Results:
09:27:35 Action: Internally corrected
09:27:35 See Also: /raj/af.3eff487
09:27:35 Assert Failed: Buffer manager internal error
09:27:35 Informix Dynamic Server Version 7.31.UC7
09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
Thread(7, main_loop(), 50054014, 1)
File: rsbuff.c Line: 135
Operating system? Amount of physical memory?
<abdoell@yahoo.com> wrote in message
news:7975e1ea-3985-463a-86cd-7b4950f7b8c8@p10g2000prf.googlegroups.com...
> Dear Expert,
> I need your expertise help, i got error as i put below.
> What i need to know is, how to calculate SHMADD? seems the problem is
> because i put wrong number for SHMADD and SHMVIRTSIZE
>
> THANKS SO MUCH for your kind help.....
> abdoel
>
> here is my onconfig:
> NETTYPE ipcshm,2,512,CPU # Configure poll thread(s) for> nettype
> NETTYPE soctcp,2,512,NET # Configure poll thread(s) for> nettype
> DEADLOCK_TIMEOUT 60 # Max time to wait of lock in> distributed env.
> RESIDENT 0 # Forced residency flag (Yes = 1, No =
> 0)
>
> MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi-> processor
> NUMCPUVPS 4 # Number of user (cpu) vps
> SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps> to one
>
> NOAGE 0 # Process aging
> AFF_SPROC 0 # Affinity start processor
> AFF_NPROCS 4 # Affinity number of processors>
> # Shared Memory Parameters
>
> LOCKS 40000 # Maximum number of locks
> BUFFERS 65000 # Maximum number of shared buffers
> NUMAIOVPS 0 # Number of IO vps
> PHYSBUFF 512 # Physical log buffer size (Kbytes)
> LOGBUFF 512 # Logical log buffer size (Kbytes)> LOGSMAX 10 # Maximum number of logical log files
> CLEANERS 6 # Number of buffer cleaner processes
> SHMBASE 0x30000000 # Shared memory base address
> SHMVIRTSIZE 102400 # initial virtual shared memory> segment size
> SHMADD 131072 # Size of new shared memory segments
> (Kbytes)
> SHMTOTAL 0 # Total shared memory (Kbytes).
> 0=>unlimited
> CKPTINTVL 360 # Check point interval (in sec)
> LRUS 8 # Number of LRU queues
> LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning> limit
> LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
> LTXHWM 50 # Long transaction high water mark> percentage
> LTXEHWM 60 # Long transaction high water mark
> (exclusive)
> TXTIMEOUT 0x12c # Transaction timeout (in sec)
> STACKSIZE 32 # Stack size (Kbytes)>
>
>
>
> 9:27:19 Event alarms enabled. ALARMPROG = '/usr/informix/etc/
> log_full.sh'
> 09:27:24 DR: DRAUTO is 0 (Off)
> 09:27:24 AIX MP latch code enabled
> 09:27:25 Requested shared memory segment size rounded from 5340KB to> 5344KB
> 09:27:25 Requested shared memory segment size rounded from 5340KB to> 5344KB
> 09:27:25 Dynamically allocated new message shared memory segment
> (size 5344KB)
>
> 09:27:25 Informix Dynamic Server Version 7.31.UC7 Software Serial> Number AAD#J183101
> 09:27:25
> 09:27:25
> 09:27:26 (8) connection rejected - no calls allowed for sqlexec
> 09:27:26 listener-thread: err = -27002: oserr = 0: errstr = : No> connections are allowed in Dynamic Server quiescent mode.
>
> 09:27:26
> 09:27:27 (14) connection rejected - no calls allowed for sqlexec
> 09:27:27 listener-thread: err = -27002: oserr = 0: errstr = : No> connections are allowed in Dynamic Server quiescent mode.
>
> 09:27:28 (15) connection rejected - no calls allowed for sqlexec
> 09:27:28 listener-thread: err = -27002: oserr = 0: errstr = : No> connections are allowed in Dynamic Server quiescent mode.
>
> 09:27:29 Informix Dynamic Server Initialized -- Shared Memory> Initialized.
> 09:27:29 Physical Recovery Started.
> 09:27:29 Physical Recovery Complete: 0 Pages Restored.
> 09:27:29 Logical Recovery Started.
> 09:27:33 Logical Recovery Complete.> 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
>
> 09:27:34
> 09:27:35 Dataskip is now OFF for all dbspaces
> 09:27:35 Quiescent Mode
> 09:27:35 Assert Failed: Buffer manager internal error
> 09:27:35 Informix Dynamic Server Version 7.31.UC7
> 09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
> Thread(7, main_loop(), 50054014, 1)
> File: rsbuff.c Line: 135
> 09:27:35 Results:
> 09:27:35 Action: Internally corrected
> 09:27:35 See Also: /raj/af.3eff487
> 09:27:35 Assert Failed: Buffer manager internal error
> 09:27:35 Informix Dynamic Server Version 7.31.UC7
> 09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
> Thread(7, main_loop(), 50054014, 1)
> File: rsbuff.c Line: 135
abdoell@yahoo.com wrote:
> Dear Expert,
> I need your expertise help, i got error as i put below.
> What i need to know is, how to calculate SHMADD? seems the problem is
> because i put wrong number for SHMADD and SHMVIRTSIZE
>
> THANKS SO MUCH for your kind help.....
> abdoel
>
> here is my onconfig:
> NETTYPE ipcshm,2,512,CPU # Configure poll thread(s) for> nettype
> NETTYPE soctcp,2,512,NET # Configure poll thread(s) for> nettype
> DEADLOCK_TIMEOUT 60 # Max time to wait of lock in> distributed env.
> RESIDENT 0 # Forced residency flag (Yes = 1, No =
> 0)
>
> MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi-> processor
> NUMCPUVPS 4 # Number of user (cpu) vps
> SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps> to one
>
> NOAGE 0 # Process aging
> AFF_SPROC 0 # Affinity start processor
> AFF_NPROCS 4 # Affinity number of processors>
> # Shared Memory Parameters
>
> LOCKS 40000 # Maximum number of locks
> BUFFERS 65000 # Maximum number of shared buffers
> NUMAIOVPS 0 # Number of IO vps
> PHYSBUFF 512 # Physical log buffer size (Kbytes)
> LOGBUFF 512 # Logical log buffer size (Kbytes)> LOGSMAX 10 # Maximum number of logical log files
> CLEANERS 6 # Number of buffer cleaner processes
> SHMBASE 0x30000000 # Shared memory base address
> SHMVIRTSIZE 102400 # initial virtual shared memory> segment size
> SHMADD 131072 # Size of new shared memory segments
> (Kbytes)
> SHMTOTAL 0 # Total shared memory (Kbytes).
> 0=>unlimited
> CKPTINTVL 360 # Check point interval (in sec)
> LRUS 8 # Number of LRU queues
> LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning> limit
> LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
> LTXHWM 50 # Long transaction high water mark> percentage
> LTXEHWM 60 # Long transaction high water mark
> (exclusive)
> TXTIMEOUT 0x12c # Transaction timeout (in sec)
> STACKSIZE 32 # Stack size (Kbytes)>
>
>
>
> 9:27:19 Event alarms enabled. ALARMPROG = '/usr/informix/etc/
> log_full.sh'
> 09:27:24 DR: DRAUTO is 0 (Off)
> 09:27:24 AIX MP latch code enabled
> 09:27:25 Requested shared memory segment size rounded from 5340KB to> 5344KB
> 09:27:25 Requested shared memory segment size rounded from 5340KB to> 5344KB
> 09:27:25 Dynamically allocated new message shared memory segment
> (size 5344KB)
>
> 09:27:25 Informix Dynamic Server Version 7.31.UC7 Software Serial> Number AAD#J183101
> 09:27:25
> 09:27:25
> 09:27:26 (8) connection rejected - no calls allowed for sqlexec
> 09:27:26 listener-thread: err = -27002: oserr = 0: errstr = : No> connections are allowed in Dynamic Server quiescent mode.
>
> 09:27:26
> 09:27:27 (14) connection rejected - no calls allowed for sqlexec
> 09:27:27 listener-thread: err = -27002: oserr = 0: errstr = : No> connections are allowed in Dynamic Server quiescent mode.
>
> 09:27:28 (15) connection rejected - no calls allowed for sqlexec
> 09:27:28 listener-thread: err = -27002: oserr = 0: errstr = : No> connections are allowed in Dynamic Server quiescent mode.
>
> 09:27:29 Informix Dynamic Server Initialized -- Shared Memory> Initialized.
> 09:27:29 Physical Recovery Started.
> 09:27:29 Physical Recovery Complete: 0 Pages Restored.
> 09:27:29 Logical Recovery Started.
> 09:27:33 Logical Recovery Complete.> 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
>
> 09:27:34
> 09:27:35 Dataskip is now OFF for all dbspaces
> 09:27:35 Quiescent Mode
> 09:27:35 Assert Failed: Buffer manager internal error
> 09:27:35 Informix Dynamic Server Version 7.31.UC7
> 09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
> Thread(7, main_loop(), 50054014, 1)
> File: rsbuff.c Line: 135
> 09:27:35 Results:
> 09:27:35 Action: Internally corrected
> 09:27:35 See Also: /raj/af.3eff487
> 09:27:35 Assert Failed: Buffer manager internal error
> 09:27:35 Informix Dynamic Server Version 7.31.UC7
> 09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
> Thread(7, main_loop(), 50054014, 1)
> File: rsbuff.c Line: 135
> _______________________________________________> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
That's a known issue in 7.31.UC7, which, to top it off, is on quality hold for
a rather nasty recovery issue. If I were you, I'd move away from that version
as fast as I possibly could.
--
Ciao,
Marco
______________________________________________________________________________
Marco Greco /UK /IBM Standard disclaimers apply!
Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
4glworks http://www.4glworks.com
Informix on Linux http://www.4glworks.com/ifmxlinux.htm
hi Neil,
Thanks for your response, OS is AIX 5.3.0.0 and physical memory is
16GB
onstat -g seg output is:
Informix Dynamic Server Version 7.31.UC7 -- On-Line -- Up 01:49:07
-- 1061616 Kbytes
Segment Summary:
id key addr size ovhd class blkused
blkfree
49283092 1381713921 30000000 542703616 9148 R 66241
7
13631501 1381713922 60000000 544391168 8912 V 20194
46260
8388619 1381713923 90000000 1130496 624 M 135
3
7340057 1381713924 a0000000 1130496 624 M 131
7
48234508 1381713925 b0000000 1130496 624 M 131
7
5242899 1381713926 c0000000 1130496 624 M 131
7
Total: - - 1091616768 - - 86963
46291
(* segment locked in memory)
vmstat output:
System configuration: lcpu=8 mem=15744MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
1 1 1973985 498159 0 0 0 0 0 0 885 72245 22431 13 26
60 1
3 0 1974884 497261 0 0 0 0 0 0 203 62700 12677 17 15
68 0
0 0 1974461 497677 0 0 0 0 0 0 177 31847 5385 14 6 80
0
Thanks so much for your help, appreciated.
rgds
abdoel
Neil Truby menulis:
> Operating system? Amount of physical memory?
>
> <abdoell@yahoo.com> wrote in message
> news:7975e1ea-3985-463a-86cd-7b4950f7b8c8@p10g2000prf.googlegroups.com...
> > Dear Expert,
> > I need your expertise help, i got error as i put below.
> > What i need to know is, how to calculate SHMADD? seems the problem is
> > because i put wrong number for SHMADD and SHMVIRTSIZE
> >
> > THANKS SO MUCH for your kind help.....
> > abdoel
> >
> > here is my onconfig:
> > NETTYPE ipcshm,2,512,CPU # Configure poll thread(s) for> > nettype
> > NETTYPE soctcp,2,512,NET # Configure poll thread(s) for> > nettype
> > DEADLOCK_TIMEOUT 60 # Max time to wait of lock in> > distributed env.
> > RESIDENT 0 # Forced residency flag (Yes = 1, No =
> > 0)
> >
> > MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi-> > processor
> > NUMCPUVPS 4 # Number of user (cpu) vps
> > SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps> > to one
> >
> > NOAGE 0 # Process aging
> > AFF_SPROC 0 # Affinity start processor
> > AFF_NPROCS 4 # Affinity number of processors> >
> > # Shared Memory Parameters
> >
> > LOCKS 40000 # Maximum number of locks
> > BUFFERS 65000 # Maximum number of shared buffers
> > NUMAIOVPS 0 # Number of IO vps
> > PHYSBUFF 512 # Physical log buffer size (Kbytes)
> > LOGBUFF 512 # Logical log buffer size (Kbytes)> > LOGSMAX 10 # Maximum number of logical log files
> > CLEANERS 6 # Number of buffer cleaner processes
> > SHMBASE 0x30000000 # Shared memory base address
> > SHMVIRTSIZE 102400 # initial virtual shared memory> > segment size
> > SHMADD 131072 # Size of new shared memory segments
> > (Kbytes)
> > SHMTOTAL 0 # Total shared memory (Kbytes).
> > 0=>unlimited
> > CKPTINTVL 360 # Check point interval (in sec)
> > LRUS 8 # Number of LRU queues
> > LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning> > limit
> > LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
> > LTXHWM 50 # Long transaction high water mark> > percentage
> > LTXEHWM 60 # Long transaction high water mark
> > (exclusive)
> > TXTIMEOUT 0x12c # Transaction timeout (in sec)
> > STACKSIZE 32 # Stack size (Kbytes)> >
> >
> >
> >
> > 9:27:19 Event alarms enabled. ALARMPROG = '/usr/informix/etc/
> > log_full.sh'
> > 09:27:24 DR: DRAUTO is 0 (Off)
> > 09:27:24 AIX MP latch code enabled
> > 09:27:25 Requested shared memory segment size rounded from 5340KB to> > 5344KB
> > 09:27:25 Requested shared memory segment size rounded from 5340KB to> > 5344KB
> > 09:27:25 Dynamically allocated new message shared memory segment
> > (size 5344KB)
> >
> > 09:27:25 Informix Dynamic Server Version 7.31.UC7 Software Serial> > Number AAD#J183101
> > 09:27:25
> > 09:27:25
> > 09:27:26 (8) connection rejected - no calls allowed for sqlexec
> > 09:27:26 listener-thread: err = -27002: oserr = 0: errstr = : No> > connections are allowed in Dynamic Server quiescent mode.
> >
> > 09:27:26
> > 09:27:27 (14) connection rejected - no calls allowed for sqlexec
> > 09:27:27 listener-thread: err = -27002: oserr = 0: errstr = : No> > connections are allowed in Dynamic Server quiescent mode.
> >
> > 09:27:28 (15) connection rejected - no calls allowed for sqlexec
> > 09:27:28 listener-thread: err = -27002: oserr = 0: errstr = : No> > connections are allowed in Dynamic Server quiescent mode.
> >
> > 09:27:29 Informix Dynamic Server Initialized -- Shared Memory> > Initialized.
> > 09:27:29 Physical Recovery Started.
> > 09:27:29 Physical Recovery Complete: 0 Pages Restored.
> > 09:27:29 Logical Recovery Started.
> > 09:27:33 Logical Recovery Complete.> > 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
> >
> > 09:27:34
> > 09:27:35 Dataskip is now OFF for all dbspaces
> > 09:27:35 Quiescent Mode
> > 09:27:35 Assert Failed: Buffer manager internal error
> > 09:27:35 Informix Dynamic Server Version 7.31.UC7
> > 09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
> > Thread(7, main_loop(), 50054014, 1)
> > File: rsbuff.c Line: 135
> > 09:27:35 Results:
> > 09:27:35 Action: Internally corrected
> > 09:27:35 See Also: /raj/af.3eff487
> > 09:27:35 Assert Failed: Buffer manager internal error
> > 09:27:35 Informix Dynamic Server Version 7.31.UC7
> > 09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
> > Thread(7, main_loop(), 50054014, 1)
> > File: rsbuff.c Line: 135
If you post the stack dumped in file
/raj/af.3eff487
this might make it possible to give more detail on specifically what went
wrong. In theory, problems that say they were "Internally corrected" should
not affect correctness of operation. Unfortunately the information "File:
rsbuff.c Line: 135" alone is not enough to determine exactly what caused
this message, because that line is in a generic error routine. The stack
dump should show what function actually called the error routine. That will
help narrow it down, although some functions may have multiple different
calls to the error routine for different errors, in which case it might not
be possible to tell which one was actually hit.
--
Kevin Cherkauer
Software Engineer
IBM Informix Dynamic Server -- Database Kernel
<abdoell@yahoo.com> wrote in message
news:85721348-f4c2-4a17-8831-8122f387c44f@i20g2000prf.googlegroups.com...
> hi Neil,
> Thanks for your response, OS is AIX 5.3.0.0 and physical memory is
> 16GB
> onstat -g seg output is:
> Informix Dynamic Server Version 7.31.UC7 -- On-Line -- Up 01:49:07
> -- 1061616 Kbytes>
> Segment Summary:
> id key addr size ovhd class blkused
> blkfree
> 49283092 1381713921 30000000 542703616 9148 R 66241
> 7
> 13631501 1381713922 60000000 544391168 8912 V 20194
> 46260
> 8388619 1381713923 90000000 1130496 624 M 135
> 3
> 7340057 1381713924 a0000000 1130496 624 M 131
> 7
> 48234508 1381713925 b0000000 1130496 624 M 131
> 7
> 5242899 1381713926 c0000000 1130496 624 M 131
> 7
> Total: - - 1091616768 - - 86963
> 46291
>
> (* segment locked in memory)
>
> vmstat output:
> System configuration: lcpu=8 mem=15744MB
>
> kthr memory page faults cpu
> ----- ----------- ------------------------ ------------ -----------
> r b avm fre re pi po fr sr cy in sy cs us sy id wa
> 1 1 1973985 498159 0 0 0 0 0 0 885 72245 22431 13 26
> 60 1
> 3 0 1974884 497261 0 0 0 0 0 0 203 62700 12677 17 15
> 68 0
> 0 0 1974461 497677 0 0 0 0 0 0 177 31847 5385 14 6 80
> 0
>
> Thanks so much for your help, appreciated.
> rgds
> abdoel
> Neil Truby menulis:
>> Operating system? Amount of physical memory?
>>
>> <abdoell@yahoo.com> wrote in message
>> news:7975e1ea-3985-463a-86cd-7b4950f7b8c8@p10g2000prf.googlegroups.com...
>> > Dear Expert,
>> > I need your expertise help, i got error as i put below.
>> > What i need to know is, how to calculate SHMADD? seems the problem is
>> > because i put wrong number for SHMADD and SHMVIRTSIZE
>> >
>> > THANKS SO MUCH for your kind help.....
>> > abdoel
>> >
>> > here is my onconfig:
>> > NETTYPE ipcshm,2,512,CPU # Configure poll thread(s) for>> > nettype
>> > NETTYPE soctcp,2,512,NET # Configure poll thread(s) for>> > nettype
>> > DEADLOCK_TIMEOUT 60 # Max time to wait of lock in>> > distributed env.
>> > RESIDENT 0 # Forced residency flag (Yes = 1, No =
>> > 0)
>> >
>> > MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi->> > processor
>> > NUMCPUVPS 4 # Number of user (cpu) vps
>> > SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps>> > to one
>> >
>> > NOAGE 0 # Process aging
>> > AFF_SPROC 0 # Affinity start processor
>> > AFF_NPROCS 4 # Affinity number of processors>> >
>> > # Shared Memory Parameters
>> >
>> > LOCKS 40000 # Maximum number of locks
>> > BUFFERS 65000 # Maximum number of shared buffers
>> > NUMAIOVPS 0 # Number of IO vps
>> > PHYSBUFF 512 # Physical log buffer size (Kbytes)
>> > LOGBUFF 512 # Logical log buffer size (Kbytes)>> > LOGSMAX 10 # Maximum number of logical log files
>> > CLEANERS 6 # Number of buffer cleaner processes
>> > SHMBASE 0x30000000 # Shared memory base address
>> > SHMVIRTSIZE 102400 # initial virtual shared memory>> > segment size
>> > SHMADD 131072 # Size of new shared memory segments
>> > (Kbytes)
>> > SHMTOTAL 0 # Total shared memory (Kbytes).
>> > 0=>unlimited
>> > CKPTINTVL 360 # Check point interval (in sec)
>> > LRUS 8 # Number of LRU queues
>> > LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning>> > limit
>> > LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
>> > LTXHWM 50 # Long transaction high water mark>> > percentage
>> > LTXEHWM 60 # Long transaction high water mark
>> > (exclusive)
>> > TXTIMEOUT 0x12c # Transaction timeout (in sec)
>> > STACKSIZE 32 # Stack size (Kbytes)>> >
>> >
>> >
>> >
>> > 9:27:19 Event alarms enabled. ALARMPROG = '/usr/informix/etc/
>> > log_full.sh'
>> > 09:27:24 DR: DRAUTO is 0 (Off)
>> > 09:27:24 AIX MP latch code enabled
>> > 09:27:25 Requested shared memory segment size rounded from 5340KB to>> > 5344KB
>> > 09:27:25 Requested shared memory segment size rounded from 5340KB to>> > 5344KB
>> > 09:27:25 Dynamically allocated new message shared memory segment
>> > (size 5344KB)
>> >
>> > 09:27:25 Informix Dynamic Server Version 7.31.UC7 Software Serial>> > Number AAD#J183101
>> > 09:27:25
>> > 09:27:25
>> > 09:27:26 (8) connection rejected - no calls allowed for sqlexec
>> > 09:27:26 listener-thread: err = -27002: oserr = 0: errstr = : No>> > connections are allowed in Dynamic Server quiescent mode.
>> >
>> > 09:27:26
>> > 09:27:27 (14) connection rejected - no calls allowed for sqlexec
>> > 09:27:27 listener-thread: err = -27002: oserr = 0: errstr = : No>> > connections are allowed in Dynamic Server quiescent mode.
>> >
>> > 09:27:28 (15) connection rejected - no calls allowed for sqlexec
>> > 09:27:28 listener-thread: err = -27002: oserr = 0: errstr = : No>> > connections are allowed in Dynamic Server quiescent mode.
>> >
>> > 09:27:29 Informix Dynamic Server Initialized -- Shared Memory>> > Initialized.
>> > 09:27:29 Physical Recovery Started.
>> > 09:27:29 Physical Recovery Complete: 0 Pages Restored.
>> > 09:27:29 Logical Recovery Started.
>> > 09:27:33 Logical Recovery Complete.>> > 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
>> >
>> > 09:27:34
>> > 09:27:35 Dataskip is now OFF for all dbspaces
>> > 09:27:35 Quiescent Mode
>> > 09:27:35 Assert Failed: Buffer manager internal error
>> > 09:27:35 Informix Dynamic Server Version 7.31.UC7
>> > 09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
>> > Thread(7, main_loop(), 50054014, 1)
>> > File: rsbuff.c Line: 135
>> > 09:27:35 Results:
>> > 09:27:35 Action: Internally corrected
>> > 09:27:35 See Also: /raj/af.3eff487
>> > 09:
Hi Kevin,
thanks for your help., i'll post AF file soon.
really appreciated.
Rgds
Abdoel
Kevin Cherkauer menulis:
> If you post the stack dumped in file
>
> /raj/af.3eff487
>
> this might make it possible to give more detail on specifically what went
> wrong. In theory, problems that say they were "Internally corrected" should
> not affect correctness of operation. Unfortunately the information "File:
> rsbuff.c Line: 135" alone is not enough to determine exactly what caused
> this message, because that line is in a generic error routine. The stack
> dump should show what function actually called the error routine. That will
> help narrow it down, although some functions may have multiple different
> calls to the error routine for different errors, in which case it might not
> be possible to tell which one was actually hit.
>
> --
> Kevin Cherkauer
> Software Engineer
> IBM Informix Dynamic Server -- Database Kernel
>
>
> <abdoell@yahoo.com> wrote in message
> news:85721348-f4c2-4a17-8831-8122f387c44f@i20g2000prf.googlegroups.com...
> > hi Neil,
> > Thanks for your response, OS is AIX 5.3.0.0 and physical memory is
> > 16GB
> > onstat -g seg output is:
> > Informix Dynamic Server Version 7.31.UC7 -- On-Line -- Up 01:49:07
> > -- 1061616 Kbytes> >
> > Segment Summary:
> > id key addr size ovhd class blkused
> > blkfree
> > 49283092 1381713921 30000000 542703616 9148 R 66241
> > 7
> > 13631501 1381713922 60000000 544391168 8912 V 20194
> > 46260
> > 8388619 1381713923 90000000 1130496 624 M 135
> > 3
> > 7340057 1381713924 a0000000 1130496 624 M 131
> > 7
> > 48234508 1381713925 b0000000 1130496 624 M 131
> > 7
> > 5242899 1381713926 c0000000 1130496 624 M 131
> > 7
> > Total: - - 1091616768 - - 86963
> > 46291
> >
> > (* segment locked in memory)
> >
> > vmstat output:
> > System configuration: lcpu=8 mem=15744MB
> >
> > kthr memory page faults cpu
> > ----- ----------- ------------------------ ------------ -----------
> > r b avm fre re pi po fr sr cy in sy cs us sy id wa
> > 1 1 1973985 498159 0 0 0 0 0 0 885 72245 22431 13 26
> > 60 1
> > 3 0 1974884 497261 0 0 0 0 0 0 203 62700 12677 17 15
> > 68 0
> > 0 0 1974461 497677 0 0 0 0 0 0 177 31847 5385 14 6 80
> > 0
> >
> > Thanks so much for your help, appreciated.
> > rgds
> > abdoel
> > Neil Truby menulis:
> >> Operating system? Amount of physical memory?
> >>
> >> <abdoell@yahoo.com> wrote in message
> >> news:7975e1ea-3985-463a-86cd-7b4950f7b8c8@p10g2000prf.googlegroups.com...
> >> > Dear Expert,
> >> > I need your expertise help, i got error as i put below.
> >> > What i need to know is, how to calculate SHMADD? seems the problem is
> >> > because i put wrong number for SHMADD and SHMVIRTSIZE
> >> >
> >> > THANKS SO MUCH for your kind help.....
> >> > abdoel
> >> >
> >> > here is my onconfig:
> >> > NETTYPE ipcshm,2,512,CPU # Configure poll thread(s) for> >> > nettype
> >> > NETTYPE soctcp,2,512,NET # Configure poll thread(s) for> >> > nettype
> >> > DEADLOCK_TIMEOUT 60 # Max time to wait of lock in> >> > distributed env.
> >> > RESIDENT 0 # Forced residency flag (Yes = 1, No =
> >> > 0)
> >> >
> >> > MULTIPROCESSOR 1 # 0 for single-processor, 1 for multi-> >> > processor
> >> > NUMCPUVPS 4 # Number of user (cpu) vps
> >> > SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps> >> > to one
> >> >
> >> > NOAGE 0 # Process aging
> >> > AFF_SPROC 0 # Affinity start processor
> >> > AFF_NPROCS 4 # Affinity number of processors> >> >
> >> > # Shared Memory Parameters
> >> >
> >> > LOCKS 40000 # Maximum number of locks
> >> > BUFFERS 65000 # Maximum number of shared buffers
> >> > NUMAIOVPS 0 # Number of IO vps
> >> > PHYSBUFF 512 # Physical log buffer size (Kbytes)
> >> > LOGBUFF 512 # Logical log buffer size (Kbytes)> >> > LOGSMAX 10 # Maximum number of logical log files
> >> > CLEANERS 6 # Number of buffer cleaner processes
> >> > SHMBASE 0x30000000 # Shared memory base address
> >> > SHMVIRTSIZE 102400 # initial virtual shared memory> >> > segment size
> >> > SHMADD 131072 # Size of new shared memory segments
> >> > (Kbytes)
> >> > SHMTOTAL 0 # Total shared memory (Kbytes).
> >> > 0=>unlimited
> >> > CKPTINTVL 360 # Check point interval (in sec)
> >> > LRUS 8 # Number of LRU queues
> >> > LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning> >> > limit
> >> > LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
> >> > LTXHWM 50 # Long transaction high water mark> >> > percentage
> >> > LTXEHWM 60 # Long transaction high water mark
> >> > (exclusive)
> >> > TXTIMEOUT 0x12c # Transaction timeout (in sec)
> >> > STACKSIZE 32 # Stack size (Kbytes)> >> >
> >> >
> >> >
> >> >
> >> > 9:27:19 Event alarms enabled. ALARMPROG = '/usr/informix/etc/
> >> > log_full.sh'
> >> > 09:27:24 DR: DRAUTO is 0 (Off)
> >> > 09:27:24 AIX MP latch code enabled
> >> > 09:27:25 Requested shared memory segment size rounded from 5340KB to> >> > 5344KB
> >> > 09:27:25 Requested shared memory segment size rounded from 5340KB to> >> > 5344KB
> >> > 09:27:25 Dynamically allocated new message shared memory segment
> >> > (size 5344KB)
> >> >
> >> > 09:27:25 Informix Dynamic Server Version 7.31.UC7 Software Serial> >> > Number AAD#J183101
> >> > 09:27:25
> >> > 09:27:25
> >> > 09:27:26 (8) connection rejected - no calls allowed for sqlexec
> >> > 09:27:26 listener-thread: err = -27002: oserr = 0: errstr = : No> >> > connections are allowed in Dynamic Server quiescent mode.
> >> >
> >> > 09:27:26
> >> > 09:27:27 (14) connection rejected - no calls allowed for sqlexec
> >> > 09:27:27 listener-thread: err = -27002: oserr = 0: errstr = : No> >> > connections are allowed in Dynamic Server quiescent mode.
> >> >
> >> > 09:27:28 (15) connection rejected - no calls allowed for sqlexec
> >> > 09:27:28 listener-thread: err = -27002: oserr = 0: errstr = : No> >> > connections are allowed in Dynamic Server quiescent mode.
> >> >
> >> > 09:27:29 Informix Dynamic Server Initialized -- Shared Memory> >> > Initialized.
> >> > 09:27:29 Physical Recovery Started.
> >> > 09:27:29 Physical Recovery Complete: 0 Pages Restored.
> >> > 09:27:29 Logical Recovery Started.
> >> > 09:27:33 Logical Recovery Complete.> >> > 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
> >> >
> >> > 09:27:34
> >> > 09:
Hi Kevin,
Here is AF file as you ask.
Thanks so much for your help.
09:27:35 bf_check_stamp() Very old stamp - bp 303934bc pagenum 1:8bf_flags 807 bf_stamp 8 pg_stamp 11 cp_stamp -2073296305 sh_stamp
-2073296295
09:27:35 Very old stampbuffer header
303934bc: 00000000 00000000 00000000 302f34cc ........ ....0/4.
303934cc: 302f34cc 3000c0d4 3000c0d4 00000807 0/4.0... 0.......
303934dc: 00000003 00000000 00000000 00000001 ........ ........
303934ec: 00000008 00000000 00100008 00100008 ........ ........
303934fc: 00000001 30a93000 ....0.0.
page header
30a93000: 00100008 0000000b 00001000 00180fe4 ........ ........
30a93010: 00000000 00000000 ........
09:27:35
09:27:35 Informix Dynamic Server Version 7.31.UC7 Software SerialNumber AAD#J183101
09:27:35 Assert Failed: Buffer manager internal error
09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
Thread(7, main_loop(), 50054014, 1)
File: rsbuff.c Line: 135
09:27:35 Results:
09:27:35 Action: Internally corrected
---------------------------------
Begin System Alarm Program Output
---------------------------------
Assertion Failure Type: Warning
Host Name: jluhur
Database Server Name: bmi_dummy
Time of failure: Mon Sep 22 09:27:35 THAIDT 2008
AF file: /raj/af.3eff487
Shared memory file: None
System Blocking: OFF
-------------------------------
End System Alarm Program Output
-------------------------------
09:27:35 sh /usr/informix/etc/evidence.sh 1 0 /raj/af.3eff487 10x50054014 7 0x5000e4ec 1 0 0 0 0
09:27:35 See Also: /raj/af.3eff487
09:27:35
------------------ End of assertion failure 0 -----------------
09:27:35 bf_check_stamp() Very old stamp - bp 3039354c pagenum 1:9bf_flags 807 bf_stamp 12 pg_stamp 15 cp_stamp -2073296305 sh_stamp
-2073296295
09:27:35 Very old stampbuffer header
3039354c: 00000000 00000000 00000000 302f34e0 ........ ....0/4.
3039355c: 302f34e0 3000c164 3000c164 00000807 0/4.0..d 0..d....
3039356c: 00000005 00000000 00000000 00000001 ........ ........
3039357c: 0000000c 00000000 00100009 00100009 ........ ........
3039358c: 00000001 30a95000 ....0.P.
page header
30a95000: 00100009 0000000f 00001000 00180fe4 ........ ........
30a95010: 00000000 00000000 ........
09:27:35
09:27:35 Informix Dynamic Server Version 7.31.UC7 Software SerialNumber AAD#J183101
09:27:35 Assert Failed: Buffer manager internal error
09:27:35 Who: Session(1, root@jluhur, 0, 1342685204)
Thread(7, main_loop(), 50054014, 1)
File: rsbuff.c Line: 135
09:27:35 Results:
09:27:35 Action: Internally corrected
---------------------------------
Begin System Alarm Program Output
---------------------------------
Assertion Failure Type: Warning
Host Name: jluhur
Database Server Name: bmi_dummy
Time of failure: Mon Sep 22 09:27:36 THAIDT 2008
AF file: /raj/af.3eff487
Shared memory file: None
System Blocking: OFF
-------------------------------
End System Alarm Program Output
-------------------------------
09:27:36 sh /usr/informix/etc/evidence.sh 1 0 /raj/af.3eff487 10x50054014 7 0x5000e4ec 1 0 0 0 0
09:27:36 See Also: /raj/af.3eff487
09:27:36
------------------ End of assertion failure 1 -----------------
09:27:36 bf_check_stamp() Very old stamp - bp 303935dc pagenum 1:0
bf_flags 6 bf_stamp -1 pg_stamp 74 cp_stamp -2073296305 sh_stamp-2073296295
09:27:36 Very old stampbuffer header
303935dc: 00000000 00000000 00000000 302f342c ........ ....0/4,
303935ec: 302f342c 30809d24 30393624 00000006 0/4,0..$ 096$....
303935fc: 00000006 00000000 00000000 00000001 ........ ........
3039360c: ffffffff 00000000 00100000 00100000 ........ ........
3039361c: 00000001 30a97000 ....0.p.
page header
30a97000: 00100000 0000004a 00011000 00840f74 .......J .......t
30a97010: 00000000 00000000 ........
09:27:36
09:27:36 Informix Dynamic Server Version 7.31.UC7 Software SerialNumber AAD#J183101
09:27:36 Assert Failed: Buffer manager internal error
09:27:36 Who: Session(1, root@jluhur, 0, 1342685204)
Thread(7, main_loop(), 50054014, 1)
File: rsbuff.c Line: 135
09:27:36 Results:
09:27:36 Action: Internally corrected
---------------------------------
Begin System Alarm Program Output
---------------------------------
Assertion Failure Type: Warning
Host Name: jluhur
Database Server Name: bmi_dummy
Time of failure: Mon Sep 22 09:27:36 THAIDT 2008
AF file: /raj/af.3eff487
Shared memory file: None
System Blocking: OFF
-------------------------------
End System Alarm Program Output
-------------------------------
09:27:36 sh /usr/informix/etc/evidence.sh 1 0 /raj/af.3eff487 10x50054014 7 0x5000e4ec 1 0 0 0 0
09:27:36 See Also: /raj/af.3eff487
09:27:36
------------------ End of assertion failure 2 -----------------
09:27:36 bf_check_stamp() Very old stamp - bp 3039366c pagenum 1:2
bf_flags 6 bf_stamp -1 pg_stamp -2073296304 cp_stamp -2073296305
sh_stamp -2073296295
09:27:36 Very old stampbuffer header
3039366c: 00000000 00000000 00000000 302f3454 ........ ....0/4T
3039367c: 302f3454 30809934 303936b4 00000006 0/4T0..4 096.....
3039368c: 00000008 00000000 00000000 00000001 ........ ........
3039369c: ffffffff 00000000 00100002 00100002 ........ ........
303936ac: 00000001 30a99000 ....0...
page header
30a99000: 00100002 846c0250 00071000 00e80ef8 .....l.P ........
30a99010: 00000000 00000000 ........
09:27:36
09:27:36 Informix Dynamic Server Version 7.31.UC7 Software SerialNumber AAD#J183101
09:27:36 Assert Failed: Buffer manager internal error
09:27:36 Who: Session(1, root@jluhur, 0, 1342685204)
Thread(7, main_loop(), 50054014, 1)
File: rsbuff.c Line: 135
09:27:36 Results:
09:27:36 Action: Internally corrected
---------------------------------
Begin System Alarm Program Output
---------------------------------
Assertion Failure Type: Warning
Host Name: jluhur
Database Server Name: bmi_dummy
Time of failure: Mon Sep 22 09:27:36 THAIDT 2008
AF file: /raj/af.3eff487
Shared memory file: None
System Blocking: OFF
-------------------------------
End System Alarm Program Output
-------------------------------
09:27:36 sh /usr/informix/etc/evidence.sh 1 0 /raj/af.3eff487 10x50054014 7 0x5000e4ec 1 0 0 0 0
09:27:36 See Also: /raj/af.3eff487
09:27:36
------------------ End of assertion failure 3 -----------------
09:27:36 bf_check_stamp() Very old stamp - bp 303936fc pagenum 1:3
bf_flags 6 bf_stamp -1 pg_stamp -2073298716 cp_stamp -2073296305
sh_stamp -2073296295
09:27:36 Very old stampbuffer header
303936fc: 00000000 00000000 00000000 302f3468 ........ ....0/4h
3039370c: 302f3468 308099c4 30393744 00000006 0/4h0... 097D....
3039371c: 0000000a 00000000 00000000 00000001 ........ ........
3039372c: ffffffff 00000000 00100003 00100003 ........ ........
3039373c: 00000001 30a9
As I said before, this is the very old stamp buffer manager message that has
been introduced in 7.31.UC7, which is in quality hold because of a defect in
physical recovery, whereby multiple copies of before images can be copied back
onto the chunks and leave your instance *SEVERELY CORRUPTED*.
abdoell@yahoo.com wrote:
> Hi Kevin,
> Here is AF file as you ask.
> Thanks so much for your help.
> 09:27:35 bf_check_stamp() Very old stamp - bp 303934bc pagenum 1:8> bf_flags 807 bf_stamp 8 pg_stamp 11 cp_stamp -2073296305 sh_stamp
> -2073296295
> 09:27:35 Very old stamp> buffer header
> 303934bc: 00000000 00000000 00000000 302f34cc ........ ....0/4.
> 303934cc: 302f34cc 3000c0d4 3000c0d4 00000807 0/4.0... 0.......
> 303934dc: 00000003 00000000 00000000 00000001 ........ ........
> 303934ec: 00000008 00000000 00100008 00100008 ........ ........
> 303934fc: 00000001 30a93000 ....0.0.
> page header
> 30a93000: 00100008 0000000b 00001000 00180fe4 ........ ........
> 30a93010: 00000000 00000000 ........
> 09:27:35
As I said before, this is the very old stamp buffer manager message that has
been introduced in 7.31.UC7, which is in quality hold because of another
related defect in physical recovery, whereby multiple copies of before images
can be copied back onto the chunks and leave your instance *SEVERELY CORRUPTED*.
Sir, step away from that engine immediately.
Upgrade to the latest 7.31 is your only option.
--
Ciao,
Marco
______________________________________________________________________________
Marco Greco /UK /IBM Standard disclaimers apply!
Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
4glworks http://www.4glworks.com
Informix on Linux http://www.4glworks.com/ifmxlinux.htm