linux db2sysc 内存,db2sysc进程占用linux内存持续增长,请各位指点。

该服务器近期做过的变更情况:

变更前,使用 sar -r 1 3 看内存使用率服务器内存使用率一直是70%

该服务器原为独立物理服务器,经过虚拟化迁移到EXS上成为虚拟服务器。迁移后发现swap无法启

动。

原因是原物理服务器硬盘控制器为cciss。/etc/fstab 下swap的加载行为:

LABEL=SWAP-cciss/codop         swap                    swap    defaults        0 0

虚拟后硬盘控制器变成了sda

所以将/etc/fstab改为如下后,swap可以正常开机挂载。

/dev/sda2                               swap                    swap    defaults

0 0

其他未作变更。

现在内存使用率持续增加

free -m

total       used       free     shared    buffers     cached

Mem:         3042       2210        832          0        179       1112-/+ buffers/cache:        918       2124

Swap:         4102          0       4102

以上标红的数值持续增长,大概每小时增长6m,虽然还有2G多内存,但这样张总有一天要耗尽。。。

我使用 ps -eo pid,comm,rsv|sort +2 -n 对进程占用内存情况进行排序,并分时间段进行对比。发现31

个db2sysc占用内存持续增加,其他进程基本没有变化。

不知是何原因,往懂的人指点指点。。。

free -m

total       used       free     shared    buffers     cached

Mem:          3042       2210        832          0        179       1112

-/+ buffers/cache:        918       2124

Swap:         4102          0       4102

db2level

DB21085I  Instance "db2inst1" uses "32" bits and DB2 code release "SQL08022"

with level identifier "03030106".

Informational tokens are "DB2 v8.1.2.88", "s050422", "MI00117", and FixPak "9".

Product is installed at "/opt/IBM/db2/V8.1".

Bufferpool Snapshot

Bufferpool name                            = IBMDEFAULTBP

Database name                              = MYDB

Database path                              = /mydb/db2inst1/NODE0000/SQL00001/

Input database alias                       = MYDB

Snapshot timestamp                         = 2012-04-10 18:16:39.031819

Buffer pool data logical reads             = 770036

Buffer pool data physical reads            = 745231

Buffer pool temporary data logical reads   = 0

Buffer pool temporary data physical reads  = 0

Buffer pool data writes                    = 3

Buffer pool index logical reads            = 2168

Buffer pool index physical reads           = 329

Buffer pool temporary index logical reads  = 0

Buffer pool temporary index physical reads = 0

Total buffer pool read time (milliseconds) = 3705

Total buffer pool write time (milliseconds)= 14

Asynchronous pool data page reads          = 125334

Asynchronous pool data page writes         = 1

Buffer pool index writes                   = 2

Asynchronous pool index page reads         = 0

Asynchronous pool index page writes        = 1

Total elapsed asynchronous read time       = 449

Total elapsed asynchronous write time      = 8

Asynchronous data read requests            = 9329

Asynchronous index read requests           = 0

No victim buffers available                = 178344

Direct reads                               = 176

Direct writes                              = 0

Direct read requests                       = 28

Direct write requests                      = 0

Direct reads elapsed time (ms)             = 0

Direct write elapsed time (ms)             = 0

Database files closed                      = 0

Data pages copied to extended storage      = 0

Index pages copied to extended storage     = 0

Data pages copied from extended storage    = 0

Index pages copied from extended storage   = 0

Unread prefetch pages                      = 37737

Vectored IOs                               = 9321

Pages from vectored IOs                    = 125295

Block IOs                                  = 0

Pages from block IOs                       = 0

Physical page maps                         = 0

Node number                                = 0

Tablespaces using bufferpool               = 4

Alter bufferpool information:

Pages left to remove                      = 0

Current size                              = 1000

Post-alter size                           = 1000

db2 get snapshot for database on mydb

Database Snapshot

Database name                              = MYDB

Database path                              = /mydb/db2inst1/NODE0000/SQL00001/

Input database alias                       = MYDB

Database status                            = Active

Catalog database partition number          = 0

Catalog network node name                  =

Operating system running at database server= LINUX

Location of the database                   = Local

First database connect timestamp           = 2012-04-10 18:26:41.309853

Last reset timestamp                       =

Last backup timestamp                      = 2012-04-06 18:46:39.000000

Snapshot timestamp                         = 2012-04-10 18:27:15.134111

Number of automatic storage paths          = 0

High water mark for connections            = 5

Application connects                       = 52

Secondary connects total                   = 0

Applications connected currently           = 4

Appls. executing in db manager currently   = 0

Agents associated with applications        = 4

Maximum agents associated with applications= 5

Maximum coordinating agents                = 5

Locks held currently                       = 0

Lock waits                                 = 0

Time database waited on locks (ms)         = 0

Lock list memory in use (Bytes)            = 1000

Deadlocks detected                         = 0

Lock escalations                           = 0

Exclusive lock escalations                 = 0

Agents currently waiting on locks          = 0

Lock Timeouts                              = 0

Number of indoubt transactions             = 0

Total Private Sort heap allocated          = 0

Total Shared Sort heap allocated           = 0

Shared Sort heap high water mark           = 0

Total sorts                                = 0

Total sort time (ms)                       = 0

Sort overflows                             = 0

Active sorts                               = 0

Buffer pool data logical reads             = 14306

Buffer pool data physical reads            = 13021

Buffer pool temporary data logical reads   = 0

Buffer pool temporary data physical reads  = 0

Asynchronous pool data page reads          = 926

Buffer pool data writes                    = 0

Asynchronous pool data page writes         = 0

Buffer pool index logical reads            = 136

Buffer pool index physical reads           = 66

Buffer pool temporary index logical reads  = 0

Buffer pool temporary index physical reads = 0

Asynchronous pool index page reads         = 0

Buffer pool index writes                   = 0

Asynchronous pool index page writes        = 0

Total buffer pool read time (milliseconds) = 68

Total buffer pool write time (milliseconds)= 0

Total elapsed asynchronous read time       = 3

Total elapsed asynchronous write time      = 0

Asynchronous data read requests            = 72

Asynchronous index read requests           = 0

No victim buffers available                = 0

LSN Gap cleaner triggers                   = 0

Dirty page steal cleaner triggers          = 0

Dirty page threshold cleaner triggers      = 0

Time waited for prefetch (ms)              = 0

Unread prefetch pages                      = 0

Direct reads                               = 50

Direct writes                              = 0

Direct read requests                       = 10

Direct write requests                      = 0

Direct reads elapsed time (ms)             = 0

Direct write elapsed time (ms)             = 0

Database files closed                      = 0

Data pages copied to extended storage      = 0

Index pages copied to extended storage     = 0

Data pages copied from extended storage    = 0

Index pages copied from extended storage   = 0

Host execution elapsed time                = 0.000731

Commit statements attempted                = 92

Rollback statements attempted              = 48

Dynamic statements attempted               = 234

Static statements attempted                = 140

Failed statement operations                = 0

Select SQL statements executed             = 46

Update/Insert/Delete statements executed   = 0

DDL statements executed                    = 0

Inactive stmt history memory usage (bytes) = 0

Internal automatic rebinds                 = 0

Internal rows deleted                      = 0

Internal rows inserted                     = 0

Internal rows updated                      = 0

Internal commits                           = 52

Internal rollbacks                         = 0

Internal rollbacks due to deadlock         = 0

Rows deleted                               = 0

Rows inserted                              = 0

Rows updated                               = 0

Rows selected                              = 33

Rows read                                  = 143120

Binds/precompiles attempted                = 0

Log space available to the database (Bytes)= 20400000

Log space used by the database (Bytes)     = 0

Maximum secondary log space used (Bytes)   = 0

Maximum total log space used (Bytes)       = 0

Secondary logs allocated currently         = 0

Log pages read                             = 0

Log read time (sec.ns)                     = 0.000000004

Log pages written                          = 0

Log write time (sec.ns)                    = 0.000000004

Number write log IOs                       = 0

Number read log IOs                        = 0

Number partial page log IOs                = 0

Number log buffer full                     = 0

Log data found in buffer                   = 0

Appl id holding the oldest transaction     = 1067

Log to be redone for recovery (Bytes)      = 0

Log accounted for by dirty pages (Bytes)   = 0

File number of first active log            = 0

File number of last active log             = 2

File number of current active log          = 0

File number of log being archived          = Not applicable

Package cache lookups                      = 188

Package cache inserts                      = 6

Package cache overflows                    = 0

Package cache high water mark (Bytes)      = 118648

Application section lookups                = 234

Application section inserts                = 46

Catalog cache lookups                      = 169

Catalog cache inserts                      = 7

Catalog cache overflows                    = 0

Catalog cache high water mark              = 0

Workspace Information

Shared high water mark                    = 0

Corresponding shared overflows            = 0

Total shared section inserts              = 0

Total shared section lookups              = 0

Private high water mark                   = 14088

Corresponding private overflows           = 0

Total private section inserts             = 46

Total private section lookups             = 46

Number of hash joins                       = 0

Number of hash loops                       = 0

Number of hash join overflows              = 0

Number of small hash join overflows        = 0

Memory usage for database:

Memory Pool Type                           = Backup/Restore/Util Heap

Current size (bytes)                    = 16384

High water mark (bytes)                 = 16384

Configured size (bytes)                 = 20496384

Memory Pool Type                           = Package Cache Heap

Current size (bytes)                    = 131072

High water mark (bytes)                 = 131072

Configured size (bytes)                 = 3189768192

Memory Pool Type                           = Catalog Cache Heap

Current size (bytes)                    = 65536

High water mark (bytes)                 = 65536

Configured size (bytes)                 = 3189768192

Memory Pool Type                           = Buffer Pool Heap

Current size (bytes)                    = 4325376

High water mark (bytes)                 = 4325376

Configured size (bytes)                 = 3189768192

Memory Pool Type                           = Buffer Pool Heap

Current size (bytes)                    = 655360

High water mark (bytes)                 = 655360

Configured size (bytes)                 = 3189768192

Memory Pool Type                           = Buffer Pool Heap

Current size (bytes)                    = 393216

High water mark (bytes)                 = 393216

Configured size (bytes)                 = 3189768192

Memory Pool Type                           = Buffer Pool Heap

Current size (bytes)                    = 262144

High water mark (bytes)                 = 262144

Configured size (bytes)                 = 3189768192

Memory Pool Type                           = Buffer Pool Heap

Current size (bytes)                    = 196608

High water mark (bytes)                 = 196608

Configured size (bytes)                 = 3189768192

Memory Pool Type                           = Lock Manager Heap

Current size (bytes)                    = 491520

High water mark (bytes)                 = 491520

Configured size (bytes)                 = 491520

Memory Pool Type                           = Database Heap

Current size (bytes)                    = 3555328

High water mark (bytes)                 = 3555328

Configured size (bytes)                 = 8175616

Memory Pool Type                           = Other Memory

Current size (bytes)                    = 0

High water mark (bytes)                 = 0

Configured size (bytes)                 = 12353536

Database Manager Configuration

Node type = Enterprise Server Edition with local and remote clients

Database manager configuration release level            = 0x0a00

CPU speed (millisec/instruction)             (CPUSPEED) = 3.424496e-07

Communications bandwidth (MB/sec)      (COMM_BANDWIDTH) = 1.000000e+02

Max number of concurrently active databases     (NUMDB) = 8

Data Links support                          (DATALINKS) = NO

Federated Database System Support           (FEDERATED) = NO

Transaction processor monitor name        (TP_MON_NAME) =

Default charge-back account           (DFT_ACCOUNT_STR) =

Java Development Kit installation path       (JDK_PATH) = /opt/IBMJava2-142

Diagnostic error capture level              (DIAGLEVEL) = 3

Notify Level                              (NOTIFYLEVEL) = 3

Diagnostic data directory path               (DIAGPATH) = /opt/db2inst1/sqllib/db2dump

Default database monitor switches

Buffer pool                         (DFT_MON_BUFPOOL) = ON

Lock                                   (DFT_MON_LOCK) = ON

Sort                                   (DFT_MON_SORT) = ON

Statement                              (DFT_MON_STMT) = ON

Table                                 (DFT_MON_TABLE) = ON

Timestamp                         (DFT_MON_TIMESTAMP) = ON

Unit of work                            (DFT_MON_UOW) = ON

Monitor health of instance and databases   (HEALTH_MON) = ON

SYSADM group name                        (SYSADM_GROUP) = DB2GRP1

SYSCTRL group name                      (SYSCTRL_GROUP) =

SYSMAINT group name                    (SYSMAINT_GROUP) =

SYSMON group name                        (SYSMON_GROUP) =

Client Userid-Password Plugin          (CLNT_PW_PLUGIN) =

Client Kerberos Plugin                (CLNT_KRB_PLUGIN) =

Group Plugin                             (GROUP_PLUGIN) =

GSS Plugin for Local Authorization    (LOCAL_GSSPLUGIN) =

Server Plugin Mode                    (SRV_PLUGIN_MODE) = UNFENCED

Server List of GSS Plugins      (SRVCON_GSSPLUGIN_LIST) =

Server Userid-Password Plugin        (SRVCON_PW_PLUGIN) =

Server Connection Authentication          (SRVCON_AUTH) = NOT_SPECIFIED

Database manager authentication        (AUTHENTICATION) = SERVER

Cataloging allowed without authority   (CATALOG_NOAUTH) = NO

Trust all clients                      (TRUST_ALLCLNTS) = YES

Trusted client authentication          (TRUST_CLNTAUTH) = CLIENT

Bypass federated authentication            (FED_NOAUTH) = NO

Default database path                       (DFTDBPATH) = /opt/db2inst1

Database monitor heap size (4KB)          (MON_HEAP_SZ) = 90

Java Virtual Machine heap size (4KB)     (JAVA_HEAP_SZ) = 2048

Audit buffer size (4KB)                  (AUDIT_BUF_SZ) = 0

Size of instance shared memory (4KB)  (INSTANCE_MEMORY) = AUTOMATIC

Backup buffer default size (4KB)            (BACKBUFSZ) = 1024

Restore buffer default size (4KB)           (RESTBUFSZ) = 1024

Sort heap threshold (4KB)                  (SHEAPTHRES) = 20000

Directory cache support                     (DIR_CACHE) = YES

Application support layer heap size (4KB)   (ASLHEAPSZ) = 15

Max requester I/O block size (bytes)         (RQRIOBLK) = 32767

Query heap size (4KB)                   (QUERY_HEAP_SZ) = 1000

Workload impact by throttled utilities(UTIL_IMPACT_LIM) = 10

Priority of agents                           (AGENTPRI) = SYSTEM

Max number of existing agents               (MAXAGENTS) = 400

Agent pool size                        (NUM_POOLAGENTS) = 200(calculated)

Initial number of agents in pool       (NUM_INITAGENTS) = 0

Max number of coordinating agents     (MAX_COORDAGENTS) = (MAXAGENTS - NUM_INITAGENTS)

Max no. of concurrent coordinating agents  (MAXCAGENTS) = MAX_COORDAGENTS

Max number of client connections      (MAX_CONNECTIONS) = MAX_COORDAGENTS

Keep fenced process                        (KEEPFENCED) = YES

Number of pooled fenced processes         (FENCED_POOL) = MAX_COORDAGENTS

Initial number of fenced processes     (NUM_INITFENCED) = 0

Index re-creation time and redo index build  (INDEXREC) = RESTART

Transaction manager database name         (TM_DATABASE) = 1ST_CONN

Transaction resync interval (sec)     (RESYNC_INTERVAL) = 180

SPM name                                     (SPM_NAME) =

SPM log size                          (SPM_LOG_FILE_SZ) = 256

SPM resync agent limit                 (SPM_MAX_RESYNC) = 20

SPM log path                             (SPM_LOG_PATH) =

TCP/IP Service name                          (SVCENAME) = db2c_db2inst1

Discovery mode                               (DISCOVER) = SEARCH

Discover server instance                (DISCOVER_INST) = ENABLE

Maximum query degree of parallelism   (MAX_QUERYDEGREE) = ANY

Enable intra-partition parallelism     (INTRA_PARALLEL) = NO

No. of int. communication buffers(4KB)(FCM_NUM_BUFFERS) = 4096

Number of FCM request blocks              (FCM_NUM_RQB) = AUTOMATIC

Number of FCM connection entries      (FCM_NUM_CONNECT) = AUTOMATIC

Number of FCM message anchors         (FCM_NUM_ANCHORS) = AUTOMATIC

Node connection elapse time (sec)         (CONN_ELAPSE) = 10

Max number of node connection retries (MAX_CONNRETRIES) = 5

Max time difference between nodes (min) (MAX_TIME_DIFF) = 60

db2start/db2stop timeout (min)        (START_STOP_TIME) = 10

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/373166.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

k8s的探针

一、探针原理 分布式系统和微服务体系结构的挑战之一是自动检测不正常的应用程序,并将请求(request)重新路由到其他可用系统,恢复损坏的组件。健康检查是应对该挑战的一种可靠方法。使用 Kubernetes,可以通过探针配置运…

第一百三十节,JavaScript,封装库--连缀

JavaScript,封装库--连缀 学习要点: 1.连缀介绍 2.改写库对象 本章我们重点来介绍,在调用库的时候,我们需要能够在前台调用的时候可以同时设置多个操作,比如设置CSS,设置innerHTML,设置click事件…

Spring3:类型安全依赖项注入

在从Spring跳到类型安全依赖注入之前,我想讨论一下我们之前所做的方式。 我们一直在借助Spring的Autowired注释按类型使用依赖项注入。 像这样的东西会注入Spring Bean。 Autowired private StudentDao studentDao; // Autowires by type. Injects the instance who…

userData IE

蛮讨厌IE的,因为他常常需要特别照顾,就像DOM Storage(sessionStorage和localStorage)只能支持IE8,对于以下的只能使用userData。 原理:通过在document元素后面附加一个专属的“DHTML行为”来实现客户端存储, var memor…

context元素大概解说

Context元素代表一个web应用,运行在某个特定的虚拟主机上。如Servlet Specification 2.2或以后版本中描述的那样,每个web应用基于一个Web Application Archive(WAR)文件,或者是一个目录,包含WAR文件解压后的内容。有关Web Applica…

全新的Play模块资料库

去年11月,我曾与Play框架的 Nicolas Leroux谈过创建模块存储库的问题。 他同意这将是一个好主意,但是时间不足使我无法开始。 在上周Google Play小组发生了暴风雨之后,我决定将其优先处理。 可以在几周内提供可工作的原型。 概述:…

Ubuntu 16.04 安装 VMware-Workstation-12

以前一直使用 Ubuntu Virtaulbox ,最近测试了 VMware-Workstation-9,性能超过 Virtaulbox-4.2.x,下面是详细步骤:1 首先准备一个Ubuntu 系统 lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 …

Linux的md64进程,在Linux上安装Elasticsearch Kibaba.md(示例代码)

在Linux上安装Elasticsearch KibabaKibana是一个开源为elasticsearch 引擎提供数据和数据分析1、下载安装切换到root账户,按顺序依次执行以下命令rpm包安装$wget -c https://artifacts.elastic.co/downloads/kibana/kibana-5.5.3-x86_64.rpm$sha1sum kibana-5.3.2-x…

SSH实战 · 唯唯乐购项目(中)

用户模块三:一级分类的查询创建一级分类表并导入基本数据CREATE TABLE category (cid int(11) NOT NULL AUTO_INCREMENT,cname varchar(255) DEFAULT NULL,PRIMARY KEY (cid)) ENGINEInnoDB AUTO_INCREMENT11 DEFAULT CHARSETutf8;建包及相应的类:com.weiwei.shoppi…

播放2 –模块,插件有什么区别?

关于Play 2模块和插件似乎有些混乱。 我想这是因为两者经常是同义词。 在Play(两个版本-1和2)中,存在明显的差异。 在本文中,我将介绍什么是插件,如何在Java和Scala中实现插件,以及如何从模块导入插件。 外…

Linux多线程贝叶斯建树教程,建树经验.doc

建树经验分子进化树构建及数据分析的简介mediocrebeing, rodger, lylover, klaus, oldfish, yzwpf一、引言开始动笔写这篇短文之前,我问自己,为什么要写这样的文章?写这样的文章有实际的意义吗?我希望能够解决什么样的问题&#x…

Android的IPC机制(一)——AIDL的使用

综述 IPC(interprocess communication)是指进程间通信,也就是在两个进程间进行数据交互。不同的操作系统都有他们自己的一套IPC机制。例如在Linux操作系统中可以通过管道、信号量、消息队列、内存共享、套接字等进行进程间通信。那么在Android系统中我们可以通过Bin…

python学习笔记(python介绍)

为什么要学python? python和shell的比较,和PHP、和JAVA比较 运维开发只是用到python的很小一部分 python在一些知名公司的应用: 谷歌:python的创始人原来在谷歌工作。 CIA:美国中情局网站用python开发的 NASA&#xff…

Netty:透明地使用SPDY和HTTP

大多数人已经从谷歌那里听说过SPDY,该协议被提议作为老化的HTTP协议的替代品。 Web服务器是浏览器正在缓慢地实现该协议,并且支持正在增长。 在最近的文章中,我已经写过SPDY的工作方式以及如何在Jetty中启用SPDY支持。 由于Netty(…

selenium 等待页面加载完成

一、隐形加载等待&#xff1a; file:///C:/Users/leixiaoj/Desktop/test.html 该页面负责创建一个div <html> <head><title>Set Timeout</title><style>.red_box {background-color: red; width 20%; height:100px; border: none;}</style&…

linux nfsnobody用户,处理CentOS 5.5 x64 配置NFS服务过程中nfsnobody用户造成的问题

4、我们编译一下这个NFS的配置文件。[rootNFS /]# vi /etc/exports/share 192.168.60.0/24(rw,sync,all_squash,root_squash) (我们允许这个共享对192.168.60.0/24网段可读可写&#xff0c;且将所有访问者包括root的身份都改为nfsnobody)[rootNFS /]# /etc/init.d/nfs resta…

计算机语言

软件&#xff1a;是一系列按照特定顺序组织的计算机数据和指令的集合。一般来讲软件被划分为系统软件、应用软件和介于这两者之间的中间件。 系统软件 系统软件是各类操作系统&#xff0c;如windows、Linux、UNIX等&#xff0c;还包括操作系统的补丁程序及硬件驱动程序&#xf…

Apache Shiro第2部分–领域,数据库和PGP证书

这是致力于Apache Shiro的系列文章的第二部分。 我们从简单的不安全Web应用程序开始了上一部分 。 完成后&#xff0c;该应用程序具有基本的身份验证和授权。 用户可以登录和注销。 所有网页和按钮均已分配和实施访问权限。 授权和身份验证数据都已存储在静态配置文件中。 正如…

js中变量作用域的小理解

一&#xff1a;变量作用域 在js代码中每个变量都是有自己的作用域的&#xff0c;js中不像C语言有块级作用域的概念&#xff0c;取而代之的是函数作用域&#xff0c;看如下代码&#xff1a; var scope"global"; function init(){ alert(scope);var scope "local…

安卓linux开机画面,Android系统的开机画面显示过程分析(1)

好几个月都没有更新过博客了&#xff0c;从今天开始&#xff0c;老罗将尝试对Android系统的UI实现作一个系统的分析&#xff0c;也算是落实之前所作出的承诺。提到Android系统的UI&#xff0c;我们最先接触到的便是系统在启动过程中所出现的画面了。Android系统在启动的过程中&…