12
返回列表 发新帖
楼主: upcwhj

数据库实例忽然宕机,先是30036错误,后是27510+27300+27301+27301错误,然后数据

[复制链接]
论坛徽章:
168
马上加薪
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:10:582012新春纪念徽章
日期:2012-01-04 11:49:54蜘蛛蛋
日期:2011-12-05 16:08:56ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41设计板块每日发贴之星
日期:2011-07-22 01:01:02ITPUB官方微博粉丝徽章
日期:2011-06-30 12:30:16管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:33
11#
发表于 2004-12-13 09:09 | 只看该作者
最初由 coolyl 发布
[B]贴出你的/etc/hosts文件内容出来看看

有没有类似这样的行
127.0.0.1 localhost.localdomain localhost [/B]


跟这个有关系?

使用道具 举报

回复
招聘 : 数据库管理员
论坛徽章:
87
生肖徽章2007版:虎
日期:2009-03-02 15:42:532011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-02-18 11:43:32数据库板块每日发贴之星
日期:2011-04-05 01:01:01现任管理团队成员
日期:2011-05-07 01:45:08鲜花蛋
日期:2011-06-26 11:15:422011新春纪念徽章
日期:2011-01-25 15:41:01
12#
发表于 2004-12-13 10:10 | 只看该作者

新建一个Undo tablespace 试试。

新建一个Undo tablespace 并启用试试。

使用道具 举报

回复
论坛徽章:
16
2010数据库技术大会纪念徽章
日期:2010-05-13 10:04:27ITPUB技术丛书作者
日期:2010-09-26 15:24:562011新春纪念徽章
日期:2011-01-25 15:41:01管理团队成员
日期:2011-05-07 01:45:082012新春纪念徽章
日期:2012-02-13 15:11:18马自达
日期:2014-01-27 11:47:11
13#
发表于 2004-12-13 10:21 | 只看该作者
最初由 husthxd 发布
[B]

跟这个有关系? [/B]


恩,我看metalink的一篇文章上曾经讲过,你那边的host文件贴出来给我看看

使用道具 举报

回复
论坛徽章:
168
马上加薪
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:10:582012新春纪念徽章
日期:2012-01-04 11:49:54蜘蛛蛋
日期:2011-12-05 16:08:56ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41设计板块每日发贴之星
日期:2011-07-22 01:01:02ITPUB官方微博粉丝徽章
日期:2011-06-30 12:30:16管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:33
14#
发表于 2004-12-13 12:30 | 只看该作者
最初由 coolyl 发布
[B]

恩,我看metalink的一篇文章上曾经讲过,你那边的host文件贴出来给我看看 [/B]


形如:
127.0.0.1  localhost
x.x.x.x raca
x.x.x.x racb
x.x.x.x raca-priv
x.x.x.x racb-priv

that's all.

使用道具 举报

回复
论坛徽章:
16
2010数据库技术大会纪念徽章
日期:2010-05-13 10:04:27ITPUB技术丛书作者
日期:2010-09-26 15:24:562011新春纪念徽章
日期:2011-01-25 15:41:01管理团队成员
日期:2011-05-07 01:45:082012新春纪念徽章
日期:2012-02-13 15:11:18马自达
日期:2014-01-27 11:47:11
15#
发表于 2004-12-13 13:58 | 只看该作者
最初由 husthxd 发布
[B]

形如:
127.0.0.1  localhost
x.x.x.x raca
x.x.x.x racb
x.x.x.x raca-priv
x.x.x.x racb-priv

that's all. [/B]


那这样是没问题的。

我在ibm的网站上找到了这个东东,好像需要download一个patch。PTF (fix) for APAR IY59779

http://www-1.ibm.com/servers/ese ... eries/aixfixes.html


Obsoleted versions of AIX component "RSCT" have a limit of 231 concurrent sessions registered with the AIX HA Event Manager (EM). For the "Fault-Tolerant IPC" feature, Oracle8i and Oracle9i register every process with the EM.

The fix allows the user to control the maximum number of client connections through an environment variable �EM_FD_MAX�.

The maximum value for EM_FD_MAX is 7000.  The default value is still 1500.

After completing the PTF installation on all nodes, complete the following steps to exploit EM_FD_MAX.

1)  In the file /etc/environment add a line similar to the following on all nodes:
      
      EM_FD_MAX=5000

2)  Logoff the system and log in to pick up the environment variable.

3) Stop and restart HACMP on all nodes.

4) To verify the new connection limit run the command:

    lssrc -ls haem > /tmp/haem.out
    vi /tmp/haem.out  and search for the following similar lines:

"Highest file descriptor in use is" 1535     
"Highest file descriptor allowed for client connections is" 4975

The second line will display the maximum number of connections now available.  Note that this value is (EM_FD_MAX � 25) since 25 file descriptors are reserved for private use.
The first line displays the actual current number of file descriptors in use.

使用道具 举报

回复
论坛徽章:
86
ITPUB元老
日期:2005-02-28 12:57:002012新春纪念徽章
日期:2012-01-04 11:49:542012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20咸鸭蛋
日期:2012-05-08 10:27:19版主8段
日期:2012-05-15 15:24:112013年新春福章
日期:2013-02-25 14:51:24
16#
发表于 2004-12-13 14:49 | 只看该作者
最初由 husthxd 发布
[B]

老江碰到过?
oracle support的推断是内部连接的问题.
btw:内部连接才100m. [/B]


oracle  support 的推断,定然是来自这个:
[oracle@ocn2 oracle]$ oerr ora  27510
27510, 00000, "IPC error waiting for a request to complete"
// *Cause:  This is an operating system/cluster interconnect error.
// *Action: Check the value of errno and contact Oracle Support Services.
[oracle@ocn2 oracle]$ oerr ora  27300
27300, 00000, "OS system dependent operation:%s failed with status: %s"
// *Cause:  OS system call error
// *Action: contact Oracle Support


[oracle@ocn2 oracle]$ oerr ora  27301
27301, 00000, "OS failure message: %s"
// *Cause:  OS system call error
// *Action: contact Oracle Support


这种问题判断起来困难的多
要确保rac和os,  cluster 等配置完全正常

请把 dispatchers 注释掉,关闭这个,看见这个就不放心
然后考察回滚段空间为什么不够,有什么大事务发生

两个节点请各自使用一个  undo_tablespace ,不会是公用一个吧?

down 掉前是否有大事务发生,负载是不是很高,这时系统有什么特点没有?

使用道具 举报

回复
论坛徽章:
168
马上加薪
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:10:582012新春纪念徽章
日期:2012-01-04 11:49:54蜘蛛蛋
日期:2011-12-05 16:08:56ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41设计板块每日发贴之星
日期:2011-07-22 01:01:02ITPUB官方微博粉丝徽章
日期:2011-06-30 12:30:16管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:33
17#
发表于 2004-12-13 16:59 | 只看该作者
0.做压力测试的时候连接数200+后从客户端连接数据库出现这个错误.
1.dispatcher已经注释掉
sql> show parameter dispatcher
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
dispatchers                          string
max_dispatchers                      integer     5
mts_dispatchers                      string
mts_max_dispatchers                  integer     5

2.undo是每个实例各用一个.
3.用rda313收集cluster信息1个小时结果都出不来.不太正常.

使用道具 举报

回复
论坛徽章:
168
马上加薪
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:10:582012新春纪念徽章
日期:2012-01-04 11:49:54蜘蛛蛋
日期:2011-12-05 16:08:56ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41设计板块每日发贴之星
日期:2011-07-22 01:01:02ITPUB官方微博粉丝徽章
日期:2011-06-30 12:30:16管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:33
18#
发表于 2004-12-13 17:03 | 只看该作者
btw:我的平台是hp-ux
http://www.itpub.net/299195.html

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表