hu_joan 发表于 2009-12-30 14:21

求教informix online.log中每隔五分钟报25580错误

求教informix online.log中每隔五分钟报25580错误.已经很长时间了,网上能查到的信息不是很多,有遇到过的朋友请帮忙看下,谢谢!
下面是一些日志和informix的参数,如需提供其它参数配置我再补充。

14:01:12Maximum server connections 219
14:02:09listener-thread: err = -25580: oserr = 1: errstr = : System error occu
rred in network function.
System error = 1.
14:06:12Fuzzy Checkpoint Completed:duration was 0 seconds, 611 buffers not f
lushed.
14:06:12Checkpoint loguniq 14895, logpos 0x23d9de4, timestamp: 0x3a7059f7

14:06:12Maximum server connections 219
14:07:09listener-thread: err = -25580: oserr = 1: errstr = : System error occu
rred in network function.
System error = 1.
14:11:12Fuzzy Checkpoint Completed:duration was 0 seconds, 615 buffers not f
lushed.
14:11:12Checkpoint loguniq 14895, logpos 0x23e7130, timestamp: 0x3a70bca1

14:11:12Maximum server connections 219
14:12:09listener-thread: err = -25580: oserr = 1: errstr = : System error occu
rred in network function.
System error = 1.


同时,系统有如下报错,但时间点上跟online.log的不一致,不知道是否有关系.
ibmp520a#errpt |more
IDENTIFIER TIMESTAMPT C RESOURCE_NAMEDESCRIPTION
7F88E76D   1230140809 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230140709 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230140509 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230140409 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230140209 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230140109 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230140009 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230135809 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230135709 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230135609 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230135409 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230135309 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230135109 P S console      SOFTWARE PROGRAM ERROR
7F88E76D   1230135009 P S console      SOFTWARE PROGRAM ERROR

ibmp520a#errpt -a |more
---------------------------------------------------------------------------
LABEL:          CONSOLE
IDENTIFIER:   7F88E76D

Date/Time:       Wed Dec 30 14:11:25 2009
Sequence Number: 140961
Machine Id:      000A69B0D700
Node Id:         ibmp520a
Class:         S
Type:            PERM
Resource Name:   console

Description
SOFTWARE PROGRAM ERROR

Probable Causes
SOFTWARE PROGRAM

Failure Causes
SOFTWARE PROGRAM

Recommended Actions
      REVIEW DETAILED DATA

Detail Data
USER'S PROCESS ID:
               2457768
DETECTING MODULE
conlog
FAILING MODULE
FP_OPEN
RETURN CODE
          13
ERROR CODE
         0
---------------------------------------------------------------------------

小机参数:
System Model: IBM,9131-52A
Machine Serial Number:
Processor Type: PowerPC_POWER5
Number Of Processors: 4
Processor Clock Speed: 1648 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
Memory Size: 7936 MB
Good Memory Size: 7936 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SF240_332
Console Login: enable
Auto Restart: true
Full Core: false

onstat -c

IBM Informix Dynamic Server Version 9.40.FC8XA   -- On-Line -- Up 90 days 09:32:12 -- 3756304 Kbytes

Configuration File: /informix/etc/onconfig.ibma

# Root Dbspace Configuration
ROOTNAME      rootdbs         # Root dbspace name
ROOTPATH      /dev/rlva_root# Path for device containing root dbspace
ROOTOFFSET      0               # Offset of root dbspace into device (Kbytes)
ROOTSIZE      100000          # 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         logdbs          # Location (dbspace) of physical log
PHYSFILE      400000          # Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES      20            # Number of logical log files
LOGSIZE         2000            # Logical log size (Kbytes)
LOG_BACKUP_MODE MANUAL          # Logical log backup mode (MANUAL, CONT)

# Security
# DBCREATE_PERMISSION:
# By default any user can create a database. Uncomment DBCREATE_PERMISSON to
# limit database creation to a specific user. Add a new DBCREATE_PERMISSION
# line for each permitted user.

#DBCREATE_PERMISSION         informix


# DB_LIBRARY_PATH $INFORMIXDIR/extend

# Diagnostics

MSGPATH         /informix/online.log # System message log file path
CONSOLE         /dev/console    # System console message path

# To automatically backup logical logs, edit alarmprogram.sh and set
BACKUPLOGS=Y
#ALARMPROGRAM    /informix/etc/alarmprogram.sh # Alarm program path
ALARMPROGRAM    /informix/etc/log_full.sh # Alarm program path
TBLSPACE_STATS1               # Maintain tblspace statistics

# System Archive Tape Device

#TAPEDEV                /dev/tapedev    # Tape device path
#TAPEDEV         /dev/null       # Tape device path
TAPEDEV         /informix/log_file/log_files # Tape device path
#TAPEDEV         visionsky       # Tape device path
TAPEBLK         32            # Tape block size (Kbytes)
TAPESIZE      1024000         # Maximum amount of data to put on tape (Kbytes)

# Log Archive Tape Device

#LTAPEDEV       /dev/tapedev    # Log tape device path
#LTAPEDEV      /dev/null       # Log tape device path
LTAPEDEV      /informix/log_file/log_files # Log Tape device path
#LTAPEDEV      visionsky       # Log Tape device path
LTAPEBLK      32            # Log tape block size (Kbytes)
LTAPESIZE       1024000         # Max amount of data to put on log tape (Kbytes)
# Optical

STAGEBLOB                     # Informix Dynamic Server staging area

# System Configuration

SERVERNUM       0               # Unique id corresponding to a OnLine instance
DBSERVERNAME    shm_ibma      # Name of default database server
DBSERVERALIASES tcp_ibma      # of alternate dbservernames
NETTYPE         ipcshm,1,100,CPU # Configure poll thread(s) for nettype
NETTYPE         soctcp,2,300,NET # Configure poll thread(s) for nettype
DEADLOCK_TIMEOUT 60            # Max time to wait of lock in distributed env.
RESIDENT      1               # Forced residency flag (Yes = 1, No = 0)

MULTIPROCESSOR1               # 0 for single-processor, 1 for multi-processor
NUMCPUVPS       8               # 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      8               # Affinity number of processors
# Shared Memory Parameters

LOCKS         2000000         # Maximum number of locks
BUFFERS         700000          # Maximum number of shared buffers
NUMAIOVPS       2               # Number of IO vps
PHYSBUFF      1024            # Physical log buffer size (Kbytes)
LOGBUFF         1024            # Logical log buffer size (Kbytes)
CLEANERS      12            # Number of buffer cleaner processes
SHMBASE         0x700000000000000 # Shared memory base address
SHMVIRTSIZE   128000          # initial virtual shared memory segment size
SHMADD          40960         # Size of new shared memory segments (Kbytes)
EXTSHMADD       40960         # Size of new extension shared memory segments (
Kbytes)
SHMTOTAL      0               # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL       300             # Check point interval (in sec)
LRUS            12            # Number of LRU queues
LRU_MAX_DIRTY   20.000000       # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY   10.000000       # LRU percent dirty end cleaning limit
TXTIMEOUT       0x12c             # Transaction timeout (in sec)
STACKSIZE       64
# DYNAMIC_LOGS:
#    2 : server automatically add a new logical log when necessary. (ON)
#    1 : notify DBA to add new logical logs when necessary. (ON)
#    0 : cannot add logical log on the fly. (OFF)
#
# When dynamic logging is on, we can have higher values for LTXHWM/LTXEHWM,
# because the server can add new logical logs during long transaction rollback.
# However, to limit the number of new logical logs being added, LTXHWM/LTXEHWM
# can be set to smaller values.
#
# If dynamic logging is off, LTXHWM/LTXEHWM need to be set to smaller values
# to avoid long transaction rollback hanging the server due to lack of logical
# log space, i.e. 50/60 or lower.
#
# In case of system configured with CDR the difference between LTXHWM and
# LTXEHWM should be atleast 30% so that we could minimize log overrun issue.

DYNAMIC_LOGS    2
LTXHWM          70
LTXEHWM         80

# 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
DRINTERVAL      30            # DR max time between DR buffer flushes (in sec)
DRTIMEOUT       30            # DR network timeout (in sec)
DRLOSTFOUND   /informix/etc/dr.lostfound # DR lost+found file path

# CDR Variables
CDR_EVALTHREADS 1,2             # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT5               # DS lockwait timeout (seconds)
CDR_QUEUEMEM    4096            # Maximum amount of memory for any CDR queue (Kbytes)
CDR_NIFCOMPRESS 0               # Link level compression (-1 never, 0 none, 9 max)
CDR_SERIAL      0,0             # Serial Column Sequence
CDR_DBSPACE                     # dbspace for syscdr database
CDR_QHDR_DBSPACE               # CDR queue dbspace (default same as catalog)
CDR_QDATA_SBSPACE               # List of CDR queue smart blob spaces

# CDR_MAX_DYNAMIC_LOGS
# -1 => unlimited
#0 => disable dynamic log addition
# >0 => limit the no. of dynamic log additions with the specified value.
# Max dynamic log requests that CDR can make within one server session.

CDR_MAX_DYNAMIC_LOGS 0               # Dynamic log addition disabled by default

# Backup/Restore variables
BAR_ACT_LOG   /informix/bar_act.log # ON-Bar Log file - not in /tmp please
BAR_DEBUG_LOG   /informix/bar_dbug.log # ON-Bar Debug Log - not in /tmp please
BAR_MAX_BACKUP1
BAR_RETRY       1
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 61440
RESTARTABLE_RESTORE on
BAR_PROGRESS_FREQ 0
#BAR_BSALIB_PATH /usr/lib/ibsad001.a

# Informix Storage Manager variables
#ISM_DATA_POOL   ISMData
#ISM_LOG_POOL    ISMLogs
BAR_BSALIB_PATH/usr/lib/libxnmi.o.1

# Read Ahead Variables
RA_PAGES      1024            # Number of pages to attempt to read ahead
RA_THRESHOLD    512             # Number of pages left before next group

# DBSPACETEMP:


DBSPACETEMP   tmpdbs1:tmpdbs2:tmpdbs3:tmpdbs4 # Default temp dbspaces

# DUMP*:

DUMPDIR         /informix       # Preserve diagnostics in this directory
DUMPSHMEM       0               # 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

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 O
S(slow)

# Parallel Database Queries (pdq)
MAX_PDQPRIORITY 100             # Maximum allowed pdqpriority
DS_MAX_QUERIES                  # Maximum number of decision support queries
DS_TOTAL_MEMORY               # Decision support memory (Kbytes)
DS_MAX_SCANS    1048576         # Maximum number of decision support scans
DATASKIP      off             # List of dbspaces to skip

# OPTCOMPIND

OPTCOMPIND      2               # To hint the optimizer
DIRECTIVES      1               # Optimizer DIRECTIVES ON (1/Default) or OFF (0)


ONDBSPACEDOWN   2               # Dbspace down option: 0 = CONTINUE, 1 = ABORT,
2 = WAIT
OPCACHEMAX      0               # Maximum optical cache size (Kbytes)

# HETERO_COMMIT (Gateway participation in distributed transactions)
# 1 => Heterogeneous Commit is enabled
# 0 (or any other value) => Heterogeneous Commit is disabled
HETERO_COMMIT   0

SBSPACENAME                     # Default smartblob space name - this is where b
lobs
                     # go if no sbspace is specified when the smartblob is
                     # created. It is also used by some datablades as
                     # the location to put their smartblobs.
SYSSBSPACENAME                  # Default smartblob space for use by the Informi
x
                     # Server. This is used primarily for Informix Server
                     # system statistics collection.
BLOCKTIMEOUT    3600            # Default timeout for system block
SYSALARMPROGRAM /informix/etc/evidence.sh # System Alarm program path

# Optimization goal: -1 = ALL_ROWS(Default), 0 = FIRST_ROWS
OPT_GOAL      -1

ALLOW_NEWLINE   0               # embedded newlines(Yes = 1, No = 0 or anything
but 1)

IFX_FOLDVIEW    0               # fold multiple tables or union all view with an
si joins
#
# The following are default settings for enabling Java in the database.
# Replace all occurrences of /usr/informix with the value of $INFORMIXDIR.

#VPCLASS      jvp,num=1       # Number of JVPs to start with

JVPJAVAHOME   /informix/extend/krakatoa/jre # JRE installation root directory
JVPHOME         /informix/extend/krakatoa # Krakatoa installation directory
JVPPROPFILE   /informix/extend/krakatoa/.jvpprops # JVP property file
JVPLOGFILE      /informix/jvp.log # JVP log file.

JDKVERSION      1.3             # JDK version supported by this server

# The path to the JRE libraries relative to JVPJAVAHOME
JVPJAVALIB      /bin

# The JRE libraries to use for the Java VM

JVPJAVAVM       hpi:jvm:java:net:zip:jpeg

# use JVPARGS to change Java VM configuration
#To display jni call
#JVPARGS      -verbose:jni

# Classpath to use upon Java VM start-up (use _g version for debugging)

#JVPCLASSPATH/informix/extend/krakatoa/krakatoa_g.jar:/informix/extend/krakatoa/jdbc_g.jar
JVPCLASSPATH    /informix/extend/krakatoa/krakatoa.jar:/informix/extend/krakatoa/jdbc.jar

liaosnet 发表于 2009-12-30 14:49

:lol: :lol:
25580是件很麻烦很麻烦的事...
25580的含义是客户端发起连接到数据库,但未等数据库回应就断开了连接.....这个很难查找到具体是那个程序的原因....

kerom 发表于 2009-12-30 18:18

zenyusun 发表于 2009-12-30 21:21

原帖由 kerom 于 2009-12-30 18:18 发表 http://bbs.chinaunix.net/images/common/back.gif
我碰到过,
上次用perl写了个检查脚本,是每十秒检查连一次库,没连清楚,出现了你所说的情况。

你认真找找,出现得这样有规律,肯定是某个定时程序造成的。


在lu那儿也发了帖子,居然没人回应。非常感谢楼上的回复。
正往这个方向上考虑,但是没有找到相应的东西,不知道是不是审计和监控的东西。发现原因了再来通报一下。

czw1413_cn 发表于 2010-01-10 23:13

george002 发表于 2010-01-13 22:58

系统报错是aix 的/var/adm/ras/conslog 和/dev/console文件权限不对,你应该是重启过系统,重启后权限变了,informix没有写权限。
你可以修改
CONSOLE         /dev/console 指定到文件重启数据库就行了。
页: [1]
查看完整版本: 求教informix online.log中每隔五分钟报25580错误