query maxed out problem.
Posted in 1999
Topics: Performance & Tuning, Storage & Space Management, Server Administration, Transactions, Locking & Isolation, Logging & Checkpoints, Networking & sqlhosts Configuration, Platform-Specific Issues
hi all:
I am running informix 7.22 on solaris 2.6.
I wrote a web interface for the user to construct sql statement,
then I save it to a sql file, and call dbaccess to execute it. I just
found out that if I submit the query very quickly, say 50 queris in
about 10 secs, some of my queris won't get through, the error message
showed up is:
25588: The appl process cannot connect to OnLine server Hamlet.
onstat -g mgm shows the maximum query should be 187, so thatshouldn't be a problem.
Could the server be so busy that it can't accept dbaccess calls?
the following are my config:
ROOTNAME rootdbs # Root dbspace nameROOTPATH /usr/informix/dbspace/rootdbs
ROOTOFFSET 0 # Offset of root dbspace into device
(Kbytes)
ROOTSIZE 125000 # Size of root dbspace (Kbytes)MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirroredroot
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 10000 # Physical log file size (Kbytes)
LOGFILES 8 # Number of logical log files
LOGSIZE 10000 # Logical log size (Kbytes)MSGPATH /usr/informix/online.log # System message log file path
CONSOLE /dev/null # System null message pathALARMPROGRAM /usr/informix/log_full.sh # Alarm program path
TAPEDEV /dev/null # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 10240 # Maximum amount of data to put on tape
(Kbytes)
LTAPEDEV value # Log tape device path
LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 10240 # Max amount of data to put on log tape
(Kbytes)STAGEBLOB # INFORMIX-OnLine/Optical staging area
SERVERNUM 1 # Unique id corresponding to a OnLineinstance
DBSERVERNAME Hamlet # Name of default database server
DBSERVERALIASES Macbeth # List of alternate dbservernames
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 formulti-processor
NUMCPUVPS 2 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vpsto one
NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors
LOCKS 2000 # Maximum number of locks
BUFFERS 6553 # Maximum number of shared buffers
NUMAIOVPS 15 # Number of IO vps
PHYSBUFF 64 # Physical log buffer size (Kbytes)
LOGBUFF 64 # Logical log buffer size (Kbytes)LOGSMAX 10 # Maximum number of logical log files
CLEANERS 2 # Number of buffer cleaner processes
SHMBASE 0xa000000 # Shared memory base address
SHMVIRTSIZE 8000 # initial virtual shared memory segmentsize
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 markpercentage
LTXEHWM 60 # Long transaction high water mark
(exclusive)
TXTIMEOUT 0x12c # Transaction timeout (in sec)
STACKSIZE 32 # Stack size (Kbytes)
OFF_RECVRY_THREADS 10 # Default number of offline workerthreads
ON_RECVRY_THREADS 1 # Default number of online workerthreads
DRAUTO 0 # DR automatic switchover
DRINTERVAL 30 # DR max time between DR buffer flushes
(in sec)
DRTIMEOUT 30 # DR network timeout (in sec)
DRLOSTFOUND /tmp # DR lost+found file pathCDR_LOGBUFFERS 2048 # size of log reading buffer pool
(Kbytes)
CDR_EVALTHREADS 1,2 # evaluator threads
(per-cpu-vp,additional)
CDR_DSLOCKWAIT 5 # DS lockwait timeout (seconds)
CDR_QUEUEMEM 4096 # Maximum amount of memory for any CDR
queue (Kbytes)
BAR_ACT_LOG /tmp/bar_act.log
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31
RA_PAGES 50 # Number of pages to attempt to readahead
RA_THRESHOLD 20 # Number of pages left before next group
DBSPACETEMP sherlocktemp # Default temp dbspaces
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 dumpsfor
FILLFACTOR 90 # Fill factor for building indexes
USEOSTIME 0 # 0: use internal time(fast), 1: get
time from OS(slow)
MAX_PDQPRIORITY 12 # Maximum allowed pdqpriority
DS_MAX_QUERIES # Maximum number of decision supportqueries
DS_TOTAL_MEMORY 24000 # Decision support memory (Kbytes)
DS_MAX_SCANS 1048576 # Maximum number of decision supportscans
DATASKIP off # List of dbspaces to skip
OPTCOMPIND 2 # To hint the optimizer
ONDBSPACEDOWN 2 # Dbspace down option: 0 = CONTINUE, 1 =
ABORT, 2 = WAITLBU_PRESERVE 0 # Preserve last log for log backup
OPCACHEMAX 0 # Maximum optical cache size (Kbytes)
HETERO_COMMIT 0
NETTYPE ipcshm,2,10,CPU # Configure poll thread(s) for nettype
NETTYPE tlitcp,5,30,NET # Configure poll thread(s) for nettype
Yan Zhu wrote:
>
> hi all:
>
> I am running informix 7.22 on solaris 2.6.
> I wrote a web interface for the user to construct sql statement,
> then I save it to a sql file, and call dbaccess to execute it. I just
> found out that if I submit the query very quickly, say 50 queris in
> about 10 secs, some of my queris won't get through, the error message
> showed up is:
>
> 25588: The appl process cannot connect to OnLine server Hamlet.
Your NETTYPE parameters for shared memory are only listening for 10
connections each. Increase the third parameter to something like 100
or more, you may want to do this for the tlitcp connection listeners
also.
> NETTYPE ipcshm,2,10,CPU # Configure poll thread(s) for nettype
> NETTYPE tlitcp,5,30,NET # Configure poll thread(s) for nettype
Art S. Kagel
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