Application slow and data not saved
Posted in 2009
A user with an 8-year-old IDS 7.30.UC7 instance on Solaris 2.6 (1 GB RAM, one 400 MHz CPU) reported growing slowness and occasional failures to save data as user counts rose, and posted onstat -p plus the onconfig. Respondents diagnosed severe buffer-cache starvation: 78% read cache rate, huge bufwaits, and only 8000 BUFFERS/8 LRUS on a server using ~50 MB. Advice was to raise BUFFERS substantially (16000-100000), set LRUS and CLEANERS to 128, enable RESIDENT and NOAGE, set SINGLE_CPU_VP 1, possibly raise SHMVIRTSIZE, check update statistics/fragmentation, and upgrade the old server. No confirmation of the outcome is recorded.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Storage & Space Management, Server Administration, Security, Permissions & Auditing, Transactions, Locking & Isolation, Logging & Checkpoints, Networking & sqlhosts Configuration, Platform-Specific Issues
Hi,
I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU 400Mhz .
There is 2 application db at this IDS. The problem is application will running
slow and sometime data cannot be saved when more user used this application.
This application already running about 8 years and now it become slow..
this is onstat -p output :
Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days 00:14:22 --
50688 Kbytes
Profile
dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
30945890 4485340 140820758 78.02 63142 251189 609906 89.65
isamtot open start read write rewrite delete commit rollbk
4122988 338018 649682 1248899 81844 10734 911 4852 918
gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
0 0 0 0 0 0 0
ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
0 0 0 39755.92 1429.96 529 1158
bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
7385086 711 3337555672 188 0 57 2095 42989
ixda-RA idx-RA da-RA RA-pgsused lchwaits
145303 1137 29458137 29599384 0
and this is my onconfig file :
Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days 00:15:09 --
50688 Kbytes
Configuration File: /home1/informix/etc/onconfig.spplbp
#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.std
# Description: INFORMIX-OnLine Configuration Parameters
#
#**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace nameROOTPATH /home1/dataspace/rootchunk
# Path for device containing root dbspace
ROOTOFFSET 1024 # Offset of root dbspace into device (Kbytes)
ROOTSIZE 2000000 # Size of root dbspace (Kbytes)
# Disk Mirroring Configuration Parameters
MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)
# Physical Log Configuration
PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 10000 # Physical log file size (Kbytes)
# Logical Log Configuration
LOGFILES 20 # Number of logical log files
LOGSIZE 20000 # Logical log size (Kbytes)
# Diagnostics
MSGPATH /home1/informix/online.log # System message log file path
CONSOLE /dev/console # System console message path
ALARMPROGRAM /home1/informix/etc/no_log.sh # Alarm program path
# System Archive Tape Device
TAPEDEV /dev/rst4 # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 12000000 # Maximum amount of data to put on tape (Kbytes)#TAPESIZE 2097152 # Maximum amount of data to put on tape (Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/rst5 # Log tape device path
LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 12000000 # Max amount of data to put on log tape (Kbytes)
# Optical
STAGEBLOB # INFORMIX-OnLine/Optical staging area
# System Configuration
SERVERNUM 1 # Unique id corresponding to a OnLine instance
DBSERVERNAME online_spplbp # Name of default database server
DBSERVERALIASES # List of alternate dbservernames
NETTYPE tlitcp,1,200,CPU # Override sqlhosts nettype parameters#NETTYPE ipcshm,1,200,CPU # Override sqlhosts nettype parameters
DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed env.
RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 1 # 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 0 # Affinity number of processors
# Shared Memory Parameters
LOCKS 10000 # Maximum number of locks
BUFFERS 8000 # Maximum number of shared buffers
NUMAIOVPS 4 # Number of IO vps
PHYSBUFF 128 # Physical log buffer size (Kbytes)
LOGBUFF 64 # Logical log buffer size (Kbytes)LOGSMAX 40 # Maximum number of logical log files
CLEANERS 4 # Number of buffer cleaner processes
SHMBASE 0xa000000 # Shared memory base address
SHMVIRTSIZE 8000 # initial virtual shared memory segment size
SHMADD 8192 # Size of new shared memory segments (Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL 300 # 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)
# System Page Size
# BUFFSIZE - OnLine no longer supports this configuration parameter.
# To determine the page size used by OnLine 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 worker threads
ON_RECVRY_THREADS 1 # Default number of online worker threads
# 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 /home1/informix/dr.lostfound # DR lost+found file path
# Read Ahead Variables
RA_PAGES # Number of pages to attempt to read ahead
RA_THRESHOLD # Number of pages left before next group
# DBSPACETEMP:
# OnLine equivalent of DBTEMP for SE. This is the list of dbspaces
# that the OnLine SQL Engine will use to create temp tables etc.
# If specified it must be a colon separated list of dbspaces that exist
# when the OnLine system is brought online. If not specified, or if
# all dbspaces specified are invalid, various ad hoc queries will create
# temporary files in /tmp instead.
DBSPACETEMP tempchunk1 # Default temp dbspaces
# DUMP*:
# The following parameters control the type of diagnostics information which
# is preserved when an unanticipated error condition (assertion failure) occurs
# during OnLine operations.
# For DUMPSHMEM, DUMPGCORE and DUMPCORE 1 means Yes, 0 means No.
DUMPDIR /tmp # Preserve diagnostics in this directory
DUMPSHMEM 1 # Dump a copy of shared memory
DUMPGCORE 0 # Dump a core image using 'gcore'
DUMPCORE 0 # Dump a core image (Warning:this aborts OnLine)
DUMPCNT 1 # Number of shared memory or gcore dumps for
# a single user's session
# ADT*
# The following parameters control the type and level of secure auditing
# present in the OnLine system. By default, ADTMODE is 0 and auditing
# is disabled
FILLFACTOR 90 # Fill factor for building indexes
# method for OnLine to use when determining current time
USEOSTIME 0 # 0: use internal time(fast), 1: get time from OS(slow)
# Parallel Database Queries (pdq)
# OFF => 0, LOW => 1, HIGH => 100
MAX_PDQPRIORITY 100 # Maximum
On Tue, Nov 10, 2009 at 18:28, MUMIN MARJUKI <mumin@akapost.com> wrote:
> I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
> 400Mhz .
> There is 2 application db at this IDS. The problem is application will
> running
> slow and sometime data cannot be saved when more user used this
> application.
> This application already running about 8 years and now it become slow..
>
> this is onstat -p output :
>
> Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days 00:14:22
> --
> 50688 Kbytes
>
> Profile
> dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
> 30945890 4485340 140820758 78.02 63142 251189 609906 89.65
>
The server (IDS) needs an upgrade and more memory. The read cache ratio is
a disaster.
The write cache ratio doesn't matter anything like as much; there are 150
reads to every write.
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2008.0513 -- http://dbi.perl.org/
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."
NB: Please do not use this email for correspondence.
I don't necessarily read it every week, even.
Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
- "May you live every day of your life."
--000e0cd20a5cd130980478106d5c
Hi,
you are definitely suffering from too low buffers.
If your system really has 1GB mem, see how much is available and give it
to BUFFERS (8000 is REALLY few, we have systems running with 2GB or
more,
in 32bit you are limited to somewhat round 3GB in total, but your
machine
has not enough memory to grant this amount.)
Monitor onstat -g seg if your shared memory is full, so users would be
rejected.
In this case, increase SHMVIRTSIZE also (each connection eats up shared
memory,
so when you have more users than in the past, you have to modify the
parameter).
You did not mention the number of users working or the number of
sessions.
Currently, your instance is working on 50MB of memory, while 1GB is
available.
Assuming you have other stuff running, (second instance ?, application
on same server ?)
I would try to set BUFFERS to 100000, SHMVIRTSIZE to 50000
(in case you have the necessary memory available) and then restart the
instance.
Monitor onstat -p and the buffer usage, maybe you get better results by
using higher values.
This should have a good effect for overall performance,
and of course in the read cache%.
Another option: do you perform update statistics periodically ?
Do you have sequential sqans on some tables ?
Do you have highly fragmented tables ?
As already said, you are running a very old unsupported instance.
Marcus
-----Original Message-----
From: MUMIN MARJUKI [mailto:mumin@akapost.com]
Sent: Wednesday, November 11, 2009 3:28 AM
To: ids@iiug.org
Subject: Application slow and data not saved [18044]
Hi,
I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
400Mhz .
There is 2 application db at this IDS. The problem is application will
running slow and sometime data cannot be saved when more user used this
application.
This application already running about 8 years and now it become slow..
this is onstat -p output :
Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
00:14:22 --
50688 Kbytes
Profile
dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
30945890 4485340 140820758 78.02 63142 251189 609906 89.65
isamtot open start read write rewrite delete commit rollbk
4122988 338018 649682 1248899 81844 10734 911 4852 918
gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs 0 0 0 0 0 0 0
ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes 0 0 0
39755.92 1429.96 529 1158
bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
7385086 711 3337555672 188 0 57 2095 42989
ixda-RA idx-RA da-RA RA-pgsused lchwaits
145303 1137 29458137 29599384 0
and this is my onconfig file :
Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
00:15:09 --
50688 Kbytes
Configuration File: /home1/informix/etc/onconfig.spplbp
#***********************************************************************
***
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.std
# Description: INFORMIX-OnLine Configuration Parameters #
#***********************************************************************
***
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace nameROOTPATH /home1/dataspace/rootchunk
# Path for device containing root dbspace ROOTOFFSET 1024 # Offset of
root dbspace into device (Kbytes) ROOTSIZE 2000000 # Size of root
dbspace (Kbytes)
# Disk Mirroring Configuration Parameters
MIRROR 0 # Mirroring flag (Yes = 1, No = 0) MIRRORPATH # Path for device
containing mirrored root MIRROROFFSET 0 # Offset into mirrored device
(Kbytes)
# Physical Log Configuration
PHYSDBS rootdbs # Location (dbspace) of physical log PHYSFILE 10000 #
Physical log file size (Kbytes)
# Logical Log Configuration
LOGFILES 20 # Number of logical log files LOGSIZE 20000 # Logical log
size (Kbytes)
# Diagnostics
MSGPATH /home1/informix/online.log # System message log file path
CONSOLE /dev/console # System console message path ALARMPROGRAM
/home1/informix/etc/no_log.sh # Alarm program path
# System Archive Tape Device
TAPEDEV /dev/rst4 # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 12000000 # Maximum amount of data to put on tape (Kbytes)#TAPESIZE 2097152 # Maximum amount of data to put on tape (Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/rst5 # Log tape device path LTAPEBLK 16 # Log tape blocksize (Kbytes) LTAPESIZE 12000000 # Max amount of data to put on log tape
(Kbytes)
# Optical
STAGEBLOB # INFORMIX-OnLine/Optical staging area
# System Configuration
SERVERNUM 1 # Unique id corresponding to a OnLine instance DBSERVERNAMEonline_spplbp # Name of default database server DBSERVERALIASES # List
of alternate dbservernames NETTYPE tlitcp,1,200,CPU # Override sqlhosts
nettype parameters #NETTYPE ipcshm,1,200,CPU # Override sqlhosts nettype
parameters DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed
env.
RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 1 # 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 0 # Affinity number of processors
# Shared Memory Parameters
LOCKS 10000 # Maximum number of locks
BUFFERS 8000 # Maximum number of shared buffers NUMAIOVPS 4 # Number ofIO vps PHYSBUFF 128 # Physical log buffer size (Kbytes) LOGBUFF 64 #
Logical log buffer size (Kbytes) LOGSMAX 40 # Maximum number of logical
log files CLEANERS 4 # Number of buffer cleaner processes SHMBASE
0xa000000 # Shared memory base address SHMVIRTSIZE 8000 # initial
virtual shared memory segment size SHMADD 8192 # Size of new shared
memory segments (Kbytes) SHMTOTAL 0 # Total shared memory (Kbytes).
0=>unlimited CKPTINTVL 300 # 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)
# System Page Size
# BUFFSIZE - OnLine no longer supports this configuration parameter.
# To determine the page size used by OnLine 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 worker threads
ON_RECVRY_THREADS 1 # Default number of online worker threads
# 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
/home1/informix/dr.lostfound # DR lost+found file path
@@
Row level locking??
---Sent from my iPhone. Please excuse any typos.---
On Nov 10, 2009, at 10:57 PM, "Jonathan Leffler" <jleffler.iiug@gmail.com
> wrote:
> On Tue, Nov 10, 2009 at 18:28, MUMIN MARJUKI <mumin@akapost.com>
> wrote:
>
>> I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
>> 400Mhz .
>> There is 2 application db at this IDS. The problem is application
>> will
>> running
>> slow and sometime data cannot be saved when more user used this
>> application.
>> This application already running about 8 years and now it become
>> slow..
>>
>> this is onstat -p output :
>>
>> Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
>> 00:14:22
>> --
>> 50688 Kbytes
>>
>> Profile
>> dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
>> 30945890 4485340 140820758 78.02 63142 251189 609906 89.65
>>
>
> The server (IDS) needs an upgrade and more memory. The read cache
> ratio is
> a disaster.
> The write cache ratio doesn't matter anything like as much; there
> are 150
> reads to every write.
>
> --
> Jonathan Leffler #include <disclaimer.h>
> Email: jleffler@earthlink.net, jleffler@us.ibm.com
> Guardian of DBD::Informix v2008.0513 -- http://dbi.perl.org/
> "Blessed are we who can laugh at ourselves, for we shall never cease
> to be
> amused."
> NB: Please do not use this email for correspondence.
> I don't necessarily read it every week, even.
> Jonathan
> Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
> - "May you live every day of your life."
>
> --000e0cd20a5cd130980478106d5c
>
>
> ***
> ***
> ***
> **********************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
OK, there are three metrics that give one a quick look at the health of a
server and suggest quick fixes. They are all calculated from the data in
the onstat -p output which you have fortunately supplied:
Bufwaits Ratio (BR): (bufwaits / (bufwrites + pagreads)) * 100.00 = 144.94
Buffer Turnover Rate (BTR): ((bufwrites + pagreads) / BUFFERS) / (hours
since stats) = 13.21
ReadAhead Utilization Ratio: (RA-pgsused / (ixda-RA + idx-RA + da-RA)) *
100.0 = 99.98
OK, interpretation:
BR indicates the percent of data accesses that are experiencing waits while
attempting to access data pages in the cache. BR should be less than 7.0
ideally. Values between 7 and 10 indicate a server that's is occassionally
slow and some users may notice. If BR is above 10.00, and you have a BR of
144.9, and likely every process accessing the database is running slowly.
High BR can indicate that there are not enough buffers but more often it
indicates that there is contention for access to the LRU queues that manage
the buffer cache and the number of LRUs have to be increased.
BTR indicates the number of times in an hour that the contents of the entire
buffer cache is being replaced by other data pages.BTR should be in single
digits. Double digit values are indicative of excessive physical IO. High
BTR means you are churning the cache and need to increase BUFFERS. Your
current BTR value, 13.2, means you are turning over the entire buffer cache
every 4.5 minutes (or churning a subset of the cache a lot more frequently).
RAU indicates how effectively your IDS instance is using it read-ahead
pages. Excessive read-ahead can churn the buffer cache unnecessarily.
Ideally RAU should be as close to 100.0 as possible. Your value of 99.98 is
about as good as it gets.
So, what to do? Increase BUFFERS by doubling it from 8000 to at least
16000, though if you have the memory to spare I'd go higher, perhaps to
25000 or even 100000. I suggest this because your cache ratios are low.
The read cache hit rate of 78% is abysmal. For an OLTP system you should be
getting a cache hit rate well overf 90%. Your write cahce hit rate of 89.6%
is just within the expected range, so it can improve also, though it's not
bad.
You currently have LRUS set to 8, I would increase this to the maximum value
of 128. There is little cost to doing this and it will make a HUGE
difference in performance.
As to the ONCONFIG, I would change the following:
RESIDENT -1 # makes all of the engine's shared memory resident so it can'tswap out
AGING 1 # Prevents Solaris from degrading the oninit processes
priority over time
CLEANERS 128 # Keep set to the same as LRUS for best performance
LRUS 128
BUFFERS 25000
SINGLE_CPU_VP 1 # Your CPU is too slow for more than one CPU VP, so enablethis
optimization inside the engine so it can
reduce internal locking.
Art
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.
On Tue, Nov 10, 2009 at 8:28 PM, MUMIN MARJUKI <mumin@akapost.com> wrote:
> Hi,
>
> I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
> 400Mhz .
> There is 2 application db at this IDS. The problem is application will
> running
> slow and sometime data cannot be saved when more user used this
> application.
> This application already running about 8 years and now it become slow..
>
> this is onstat -p output :
>
> Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days 00:14:22
> --
> 50688 Kbytes
>
> Profile
> dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
> 30945890 4485340 140820758 78.02 63142 251189 609906 89.65
>
> isamtot open start read write rewrite delete commit rollbk
> 4122988 338018 649682 1248899 81844 10734 911 4852 918
>
> gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
> 0 0 0 0 0 0 0
>
> ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
> 0 0 0 39755.92 1429.96 529 1158
>
> bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
> 7385086 711 3337555672 188 0 57 2095 42989
>
> ixda-RA idx-RA da-RA RA-pgsused lchwaits
> 145303 1137 29458137 29599384 0
>
> and this is my onconfig file :
>
> Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days 00:15:09
> --
> 50688 Kbytes
>
> Configuration File: /home1/informix/etc/onconfig.spplbp
> #**************************************************************************
> #
> # INFORMIX SOFTWARE, INC.
> #
> # Title: onconfig.std
> # Description: INFORMIX-OnLine Configuration Parameters
> #
> #**************************************************************************
>
> # Root Dbspace Configuration
>
> ROOTNAME rootdbs # Root dbspace name> ROOTPATH /home1/dataspace/rootchunk
>
> # Path for device containing root dbspace
> ROOTOFFSET 1024 # Offset of root dbspace into device (Kbytes)
> ROOTSIZE 2000000 # Size of root dbspace (Kbytes)>
> # Disk Mirroring Configuration Parameters
>
> MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
> MIRRORPATH # Path for device containing mirrored root
> MIRROROFFSET 0 # Offset into mirrored device (Kbytes)>
> # Physical Log Configuration
>
> PHYSDBS rootdbs # Location (dbspace) of physical log
> PHYSFILE 10000 # Physical log file size (Kbytes)>
> # Logical Log Configuration
>
> LOGFILES 20 # Number of logical log files
> LOGSIZE 20000 # Logical log size (Kbytes)>
> # Diagnostics
>
> MSGPATH /home1/informix/online.log # System message log file path
> CONSOLE /dev/console # System console message path
> ALARMPROGRAM /home1/informix/etc/no_log.sh # Alarm program path>
> # System Archive Tape Device
>
> TAPEDEV /dev/rst4 # Tape device path
> TAPEBLK 16 # Tape block size (Kbytes)
> TAPESIZE 12000000 # Maximum amount of data to put on tape (Kbytes)> #TAPESIZE 2097152 # Maximum amount of data to put on tape (Kbytes)
>
> # Log Archive Tape Device
>
> LTAPEDEV /dev/rst5 # Log tape device path
> LTAPEBLK 16 # Log tape block size (Kbytes)
> LTAPESIZE 12000000 # Max amount of data to put on log tape (Kbytes)>
> # Optical
>
> STAGEBLOB # INFORMIX-OnLine/Optical staging area
>
> # System Configuration
>
> SERVERNUM 1 # Unique id corresponding to a OnLine instance
> DBSERVERNAME online_spplbp # Name of default database server
> DBSERVERALIASES # List of alternate dbservernames
> NETTYPE tlitcp,1,200,CPU # Override sqlhosts nettype parameters> #NETTYPE ipcshm,1,200,CPU # Override sqlhosts nettype parameters
> DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed env.
> RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)
>
> MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor
> NUMCPUVPS 1 # Number of user (cpu) vps
> SINGLE_CPU_VP 0
Art,
have you scripted the calculation of these values in any of your
utilities? Didn't want to recreate the wheel ...
Peter Logan
Senior Database Administrator
Phone: 616/878-8309
From:
"Art Kagel" <art.kagel@gmail.com>
To:
ids@iiug.org
Date:
11/11/2009 10:34 PM
Subject:
Re: Application slow and data not saved [18065]
Sent by:
ids-bounces@iiug.org
OK, there are three metrics that give one a quick look at the health of a
server and suggest quick fixes. They are all calculated from the data in
the onstat -p output which you have fortunately supplied:
Bufwaits Ratio (BR): (bufwaits / (bufwrites + pagreads)) * 100.00 = 144.94
Buffer Turnover Rate (BTR): ((bufwrites + pagreads) / BUFFERS) / (hours
since stats) = 13.21
ReadAhead Utilization Ratio: (RA-pgsused / (ixda-RA + idx-RA + da-RA)) *
100.0 = 99.98
OK, interpretation:
BR indicates the percent of data accesses that are experiencing waits
while
attempting to access data pages in the cache. BR should be less than 7.0
ideally. Values between 7 and 10 indicate a server that's is occassionally
slow and some users may notice. If BR is above 10.00, and you have a BR of
144.9, and likely every process accessing the database is running slowly.
High BR can indicate that there are not enough buffers but more often it
indicates that there is contention for access to the LRU queues that
manage
the buffer cache and the number of LRUs have to be increased.
BTR indicates the number of times in an hour that the contents of the
entire
buffer cache is being replaced by other data pages.BTR should be in single
digits. Double digit values are indicative of excessive physical IO. High
BTR means you are churning the cache and need to increase BUFFERS. Your
current BTR value, 13.2, means you are turning over the entire buffer
cache
every 4.5 minutes (or churning a subset of the cache a lot more
frequently).
RAU indicates how effectively your IDS instance is using it read-ahead
pages. Excessive read-ahead can churn the buffer cache unnecessarily.
Ideally RAU should be as close to 100.0 as possible. Your value of 99.98
is
about as good as it gets.
So, what to do? Increase BUFFERS by doubling it from 8000 to at least
16000, though if you have the memory to spare I'd go higher, perhaps to
25000 or even 100000. I suggest this because your cache ratios are low.
The read cache hit rate of 78% is abysmal. For an OLTP system you should
be
getting a cache hit rate well overf 90%. Your write cahce hit rate of
89.6%
is just within the expected range, so it can improve also, though it's not
bad.
You currently have LRUS set to 8, I would increase this to the maximum
value
of 128. There is little cost to doing this and it will make a HUGE
difference in performance.
As to the ONCONFIG, I would change the following:
RESIDENT -1 # makes all of the engine's shared memory resident so it can't
swap out
AGING 1 # Prevents Solaris from degrading the oninit processes
priority over time
CLEANERS 128 # Keep set to the same as LRUS for best performance
LRUS 128
BUFFERS 25000
SINGLE_CPU_VP 1 # Your CPU is too slow for more than one CPU VP, so enable
this
optimization inside the engine so it can
reduce internal locking.
Art
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)
Disclaimer: Please keep in mind that my own opinions are my own opinions
and
do not reflect on my employer, Oninit, the IIUG, nor any other
organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any
entity
with which I am affiliated nor those of the entities themselves.
On Tue, Nov 10, 2009 at 8:28 PM, MUMIN MARJUKI <mumin@akapost.com> wrote:
> Hi,
>
> I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
> 400Mhz .
> There is 2 application db at this IDS. The problem is application will
> running
> slow and sometime data cannot be saved when more user used this
> application.
> This application already running about 8 years and now it become slow..
>
> this is onstat -p output :
>
> Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
00:14:22
> --
> 50688 Kbytes
>
> Profile
> dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
> 30945890 4485340 140820758 78.02 63142 251189 609906 89.65
>
> isamtot open start read write rewrite delete commit rollbk
> 4122988 338018 649682 1248899 81844 10734 911 4852 918
>
> gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
> 0 0 0 0 0 0 0
>
> ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
> 0 0 0 39755.92 1429.96 529 1158
>
> bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
> 7385086 711 3337555672 188 0 57 2095 42989
>
> ixda-RA idx-RA da-RA RA-pgsused lchwaits
> 145303 1137 29458137 29599384 0
>
> and this is my onconfig file :
>
> Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
00:15:09
> --
> 50688 Kbytes
>
> Configuration File: /home1/informix/etc/onconfig.spplbp
>
#**************************************************************************
> #
> # INFORMIX SOFTWARE, INC.
> #
> # Title: onconfig.std
> # Description: INFORMIX-OnLine Configuration Parameters
> #
>
#**************************************************************************
>
> # Root Dbspace Configuration
>
> ROOTNAME rootdbs # Root dbspace name> ROOTPATH /home1/dataspace/rootchunk
>
> # Path for device containing root dbspace
> ROOTOFFSET 1024 # Offset of root dbspace into device (Kbytes)
> ROOTSIZE 2000000 # Size of root dbspace (Kbytes)>
> # Disk Mirroring Configuration Parameters
>
> MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
> MIRRORPATH # Path for device containing mirrored root
> MIRROROFFSET 0 # Offset into mirrored device (Kbytes)>
> # Physical Log Configuration
>
> PHYSDBS rootdbs # Location (dbspace) of physical log
> PHYSFILE 10000 # Physical log file size (Kbytes)>
> # Logical Log Configuration
>
> LOGFILES 20 # Number of logical log files
> LOGSIZE 20000 # Logical log size (Kbytes)>
> # Diagnostics
>
> MSGPATH /home1/informix/online.log # System message log file path
> CONSOLE /dev/console # System console message path
> ALARMPROGRAM /home1/informix/etc/no_log.sh # Alarm program path>
> # System Archive Tape Device
>
> TAPEDEV /dev/rst4 # Tape device path
> TAPEBLK 16 # Tape block size (Kbytes)
> TAPESIZE 12000000 # Maximum amount of data to put on tape (Kbytes)> #TAPESIZE 2097152 # Maximum amount of data to put on tape (Kbytes)
>
> # Log Archive Tape Device
>
> LTAPEDEV /dev/rst5 # Log tape device path
> LTAPEBLK 16 # Log tape block size (Kbytes)
> LTAPESIZE 12000000 # Max amount of data to put on log tape (Kbytes)>
> # Optical
>
> STAGEBLOB # INFORMIX-OnLine/Optical staging area
>
> # System Configuration
>
> SERVERNUM
Someone else did a while ago, it's in the Repository as ratios.ksh, but it
hasn't been maintained for a while and may not work with newer servers. I
have an updated script if anyone wants it.
Art
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.
On Thu, Nov 12, 2009 at 7:25 AM, Peter_Logan@spartanstores.com <
Peter_Logan@spartanstores.com> wrote:
> Art,
>
> have you scripted the calculation of these values in any of your
> utilities? Didn't want to recreate the wheel ...
>
> Peter Logan
> Senior Database Administrator
> Phone: 616/878-8309
>
> From:
> "Art Kagel" <art.kagel@gmail.com>
> To:
> ids@iiug.org
> Date:
> 11/11/2009 10:34 PM
> Subject:
> Re: Application slow and data not saved [18065]
> Sent by:
> ids-bounces@iiug.org
>
> OK, there are three metrics that give one a quick look at the health of a
> server and suggest quick fixes. They are all calculated from the data in
> the onstat -p output which you have fortunately supplied:
>
> Bufwaits Ratio (BR): (bufwaits / (bufwrites + pagreads)) * 100.00 = 144.94
>
> Buffer Turnover Rate (BTR): ((bufwrites + pagreads) / BUFFERS) / (hours
> since stats) = 13.21
> ReadAhead Utilization Ratio: (RA-pgsused / (ixda-RA + idx-RA + da-RA)) *
> 100.0 = 99.98
>
> OK, interpretation:
>
> BR indicates the percent of data accesses that are experiencing waits
> while
> attempting to access data pages in the cache. BR should be less than 7.0
> ideally. Values between 7 and 10 indicate a server that's is occassionally
>
> slow and some users may notice. If BR is above 10.00, and you have a BR of
>
> 144.9, and likely every process accessing the database is running slowly.
> High BR can indicate that there are not enough buffers but more often it
> indicates that there is contention for access to the LRU queues that
> manage
> the buffer cache and the number of LRUs have to be increased.
>
> BTR indicates the number of times in an hour that the contents of the
> entire
> buffer cache is being replaced by other data pages.BTR should be in single
>
> digits. Double digit values are indicative of excessive physical IO. High
> BTR means you are churning the cache and need to increase BUFFERS. Your
> current BTR value, 13.2, means you are turning over the entire buffer
> cache
> every 4.5 minutes (or churning a subset of the cache a lot more
> frequently).
>
> RAU indicates how effectively your IDS instance is using it read-ahead
> pages. Excessive read-ahead can churn the buffer cache unnecessarily.
> Ideally RAU should be as close to 100.0 as possible. Your value of 99.98
> is
> about as good as it gets.
>
> So, what to do? Increase BUFFERS by doubling it from 8000 to at least
> 16000, though if you have the memory to spare I'd go higher, perhaps to
> 25000 or even 100000. I suggest this because your cache ratios are low.
> The read cache hit rate of 78% is abysmal. For an OLTP system you should
> be
> getting a cache hit rate well overf 90%. Your write cahce hit rate of
> 89.6%
> is just within the expected range, so it can improve also, though it's not
>
> bad.
>
> You currently have LRUS set to 8, I would increase this to the maximum
> value
> of 128. There is little cost to doing this and it will make a HUGE
> difference in performance.
>
> As to the ONCONFIG, I would change the following:
>
> RESIDENT -1 # makes all of the engine's shared memory resident so it can't>
> swap out
> AGING 1 # Prevents Solaris from degrading the oninit processes
> priority over time
> CLEANERS 128 # Keep set to the same as LRUS for best performance
> LRUS 128
> BUFFERS 25000
> SINGLE_CPU_VP 1 # Your CPU is too slow for more than one CPU VP, so enable>
> this
>
> optimization inside the engine so it can
> reduce internal locking.
>
> Art
>
> Art S. Kagel
> Oninit (www.oninit.com)
> IIUG Board of Directors (art@iiug.org)
>
> Disclaimer: Please keep in mind that my own opinions are my own opinions
> and
> do not reflect on my employer, Oninit, the IIUG, nor any other
> organization
> with which I am associated either explicitly or implicitly. Neither do
> those opinions reflect those of other individuals affiliated with any
> entity
> with which I am affiliated nor those of the entities themselves.
>
> On Tue, Nov 10, 2009 at 8:28 PM, MUMIN MARJUKI <mumin@akapost.com> wrote:
>
> > Hi,
> >
> > I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
> > 400Mhz .
> > There is 2 application db at this IDS. The problem is application will
> > running
> > slow and sometime data cannot be saved when more user used this
> > application.
> > This application already running about 8 years and now it become slow..
> >
> > this is onstat -p output :
> >
> > Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
> 00:14:22
> > --
> > 50688 Kbytes
> >
> > Profile
> > dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
> > 30945890 4485340 140820758 78.02 63142 251189 609906 89.65
> >
> > isamtot open start read write rewrite delete commit rollbk
> > 4122988 338018 649682 1248899 81844 10734 911 4852 918
> >
> > gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
> > 0 0 0 0 0 0 0
> >
> > ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
> > 0 0 0 39755.92 1429.96 529 1158
> >
> > bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
> > 7385086 711 3337555672 188 0 57 2095 42989
> >
> > ixda-RA idx-RA da-RA RA-pgsused lchwaits
> > 145303 1137 29458137 29599384 0
> >
> > and this is my onconfig file :
> >
> > Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
> 00:15:09
> > --
> > 50688 Kbytes
> >
> > Configuration File: /home1/informix/etc/onconfig.spplbp
> >
> #**************************************************************************
>
> > #
> > # INFORMIX SOFTWARE, INC.
> > #
> > # Title: onconfig.std
> > # Description: INFORMIX-OnLine Configuration Parameters
> > #
> >
> #**************************************************************************
>
> >
> > # Root Dbspace Configuration
> >
> > ROOTNAME rootdbs # Root dbspace name> > ROOTPATH /home1/dataspace/rootchunk
> >
> > # Path for device containing root dbspace
> > ROOTOFFSET 1024 # Offset of root dbspace into device (Kbytes)
> > ROOTSIZE 2000000 # Size of root dbspace (Kbytes)> >
> > # Disk Mirroring Configuration Parameters
> >
> > MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
> > MIRRORPATH # Path for device containing mirrored root
> > MIRROROFFSET 0 # Offset into mirrored device (Kbytes)> >
> > # Phys
Can you shoot me the script ... Thanks ....
Peter Logan
Senior Database Administrator
Phone: 616/878-8309
From:
"Art Kagel" <art.kagel@gmail.com>
To:
ids@iiug.org
Date:
11/12/2009 08:31 AM
Subject:
Re: Application slow and data not saved [18074]
Sent by:
ids-bounces@iiug.org
Someone else did a while ago, it's in the Repository as ratios.ksh, but it
hasn't been maintained for a while and may not work with newer servers. I
have an updated script if anyone wants it.
Art
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)
Disclaimer: Please keep in mind that my own opinions are my own opinions
and
do not reflect on my employer, Oninit, the IIUG, nor any other
organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any
entity
with which I am affiliated nor those of the entities themselves.
On Thu, Nov 12, 2009 at 7:25 AM, Peter_Logan@spartanstores.com <
Peter_Logan@spartanstores.com> wrote:
> Art,
>
> have you scripted the calculation of these values in any of your
> utilities? Didn't want to recreate the wheel ...
>
> Peter Logan
> Senior Database Administrator
> Phone: 616/878-8309
>
> From:
> "Art Kagel" <art.kagel@gmail.com>
> To:
> ids@iiug.org
> Date:
> 11/11/2009 10:34 PM
> Subject:
> Re: Application slow and data not saved [18065]
> Sent by:
> ids-bounces@iiug.org
>
> OK, there are three metrics that give one a quick look at the health of
a
> server and suggest quick fixes. They are all calculated from the data in
> the onstat -p output which you have fortunately supplied:
>
> Bufwaits Ratio (BR): (bufwaits / (bufwrites + pagreads)) * 100.00 =
144.94
>
> Buffer Turnover Rate (BTR): ((bufwrites + pagreads) / BUFFERS) / (hours
> since stats) = 13.21
> ReadAhead Utilization Ratio: (RA-pgsused / (ixda-RA + idx-RA + da-RA)) *
> 100.0 = 99.98
>
> OK, interpretation:
>
> BR indicates the percent of data accesses that are experiencing waits
> while
> attempting to access data pages in the cache. BR should be less than 7.0
> ideally. Values between 7 and 10 indicate a server that's is
occassionally
>
> slow and some users may notice. If BR is above 10.00, and you have a BR
of
>
> 144.9, and likely every process accessing the database is running
slowly.
> High BR can indicate that there are not enough buffers but more often it
> indicates that there is contention for access to the LRU queues that
> manage
> the buffer cache and the number of LRUs have to be increased.
>
> BTR indicates the number of times in an hour that the contents of the
> entire
> buffer cache is being replaced by other data pages.BTR should be in
single
>
> digits. Double digit values are indicative of excessive physical IO.
High
> BTR means you are churning the cache and need to increase BUFFERS. Your
> current BTR value, 13.2, means you are turning over the entire buffer
> cache
> every 4.5 minutes (or churning a subset of the cache a lot more
> frequently).
>
> RAU indicates how effectively your IDS instance is using it read-ahead
> pages. Excessive read-ahead can churn the buffer cache unnecessarily.
> Ideally RAU should be as close to 100.0 as possible. Your value of 99.98
> is
> about as good as it gets.
>
> So, what to do? Increase BUFFERS by doubling it from 8000 to at least
> 16000, though if you have the memory to spare I'd go higher, perhaps to
> 25000 or even 100000. I suggest this because your cache ratios are low.
> The read cache hit rate of 78% is abysmal. For an OLTP system you should
> be
> getting a cache hit rate well overf 90%. Your write cahce hit rate of
> 89.6%
> is just within the expected range, so it can improve also, though it's
not
>
> bad.
>
> You currently have LRUS set to 8, I would increase this to the maximum
> value
> of 128. There is little cost to doing this and it will make a HUGE
> difference in performance.
>
> As to the ONCONFIG, I would change the following:
>
> RESIDENT -1 # makes all of the engine's shared memory resident so itcan't
>
> swap out
> AGING 1 # Prevents Solaris from degrading the oninit processes
> priority over time
> CLEANERS 128 # Keep set to the same as LRUS for best performance
> LRUS 128
> BUFFERS 25000
> SINGLE_CPU_VP 1 # Your CPU is too slow for more than one CPU VP, soenable
>
> this
>
> optimization inside the engine so it can
> reduce internal locking.
>
> Art
>
> Art S. Kagel
> Oninit (www.oninit.com)
> IIUG Board of Directors (art@iiug.org)
>
> Disclaimer: Please keep in mind that my own opinions are my own opinions
> and
> do not reflect on my employer, Oninit, the IIUG, nor any other
> organization
> with which I am associated either explicitly or implicitly. Neither do
> those opinions reflect those of other individuals affiliated with any
> entity
> with which I am affiliated nor those of the entities themselves.
>
> On Tue, Nov 10, 2009 at 8:28 PM, MUMIN MARJUKI <mumin@akapost.com>
wrote:
>
> > Hi,
> >
> > I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
> > 400Mhz .
> > There is 2 application db at this IDS. The problem is application will
> > running
> > slow and sometime data cannot be saved when more user used this
> > application.
> > This application already running about 8 years and now it become
slow..
> >
> > this is onstat -p output :
> >
> > Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
> 00:14:22
> > --
> > 50688 Kbytes
> >
> > Profile
> > dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
> > 30945890 4485340 140820758 78.02 63142 251189 609906 89.65
> >
> > isamtot open start read write rewrite delete commit rollbk
> > 4122988 338018 649682 1248899 81844 10734 911 4852 918
> >
> > gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
> > 0 0 0 0 0 0 0
> >
> > ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
> > 0 0 0 39755.92 1429.96 529 1158
> >
> > bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
> > 7385086 711 3337555672 188 0 57 2095 42989
> >
> > ixda-RA idx-RA da-RA RA-pgsused lchwaits
> > 145303 1137 29458137 29599384 0
> >
> > and this is my onconfig file :
> >
> > Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
> 00:15:09
> > --
> > 50688 Kbytes
> >
> > Configuration File: /home1/informix/etc/onconfig.spplbp
> >
>
#**************************************************************************
>
> > #
> > # INFORMIX SOFTWARE, INC.
> > #
> > # Title: onconfig.std
> > # Description: INFORMIX-OnLine Configuration Parameters
> > #
> >
>
#**************************************************************************
>
> >
> > # Root Dbspace Configuration
> >
> > ROOTNAME rootdbs #
On Tue, Nov 10, 2009 at 20:12, <mumin@akapost.com> wrote:
> Does it will resolve the problem if I just upgrade the memory to 2Gb?
>
(a) Please keep the discussion on the mailing list.
(b) Not entirely - you would have to configure IDS to use (some of) the
extra memory too. In your case, you would increase the number of buffers.
>
> 2009/11/10 <jleffler.iiug@gmail.com.akapost.com>
>
>> On Tue, Nov 10, 2009 at 18:28, MUMIN MARJUKI <mumin@akapost.com> wrote:
>> > I have IDS v7.30.UC7 running on Solaris 2.6 with 1024Mb RAM and 1 CPU
>> > 400Mhz .
>> > There is 2 application db at this IDS. The problem is application will
>> > running
>> > slow and sometime data cannot be saved when more user used this
>> > application.
>> > This application already running about 8 years and now it become slow..
>> >
>> > this is onstat -p output :
>> >
>> > Informix Dynamic Server Version 7.30.UC7 -- On-Line -- Up 2 days
>> 00:14:22
>> > --
>> > 50688 Kbytes
>> >
>> > Profile
>> > dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
>> > 30945890 4485340 140820758 78.02 63142 251189 609906 89.65
>>
>> The server (IDS) needs an upgrade and more memory. The read cache ratio is
>> a disaster.
>> The write cache ratio doesn't matter anything like as much; there are 150
>> reads to every write.
>>
>
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2008.0513 -- http://dbi.perl.org/
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."
NB: Please do not use this email for correspondence.
I don't necessarily read it every week, even.
Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
- "May you live every day of your life."
--000e0cd2e2847d1ef804783838eb
Hi,
Thanks for help...
Already change onconfig file as suggested by art s kagel as follow
RESIDENT -1 # makes all of the engine's shared memory resident so it can'tswap out
AGING 1 # Prevents Solaris from degrading the oninit processes
priority over time
CLEANERS 128 # Keep set to the same as LRUS for best performance
LRUS 128
BUFFERS 25000
SINGLE_CPU_VP 1 # Your CPU is too slow for more than one CPU VP, so enablethis
When I restart IDS I get following warning messages:
<<Informix Dynamic Server>>> WARNING! Physical Log size 0 is too small.
Physical Log overflows may occur during peak activity.
Recommended minimum Physical Log size is 20 times maximum
concurrent user threads.
<<Informix Dynamic Server>>> WARNING! Logical log layout may cause Dynamic
Server to get into
a locked state. Recommended smallest logical log size
is 2 times maximum concurrent user threads.
what to do now?
thanks
Forgot to mention shutdown with command onmode -ky and start IDS with oninit -v
no error found in online.log.
thanks