[求助]mysql 数据库服务崩溃。大侠帮忙!解决方案_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2015 | 回复: 0   主题: [求助]mysql 数据库服务崩溃。大侠帮忙!解决方案        下一篇 
justfriend
注册用户
等级:新兵
经验:61
发帖:62
精华:0
注册:2011-11-21
状态:离线
发送短消息息给justfriend 加好友    发送短消息息给justfriend 发消息
发表于: IP:您无权察看 2014-11-20 10:44:05 | [全部帖] [楼主帖] 楼主

mysql 数据库服务崩溃。大侠帮忙!

100223 15:30:43 InnoDB: Started; log sequence number 0 33118083
100223 15:30:43 [Note] Recovering after a crash using mysql-bin
100223 15:30:43 [Note] Starting crash recovery...
100223 15:30:43 [Note] Crash recovery finished.
100223 15:30:43 [Note] Event Scheduler: Loaded 0 events


100223 15:30:43 [Note] D:\非税系统\EXE\DB\bin\mysqld.exe: ready for connections.

Version: '5.1.33-community-log' socket: '' port: 3309 MySQL Community Server (GPL)


100223 15:32:06 [ERROR] D:\非税系统\EXE\DB\bin\mysqld.exe: Out of memory (Needed 2016508 bytes)

100223 15:32:06 [ERROR] Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space
100223 15:32:06 - mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=536870912
read_buffer_size=1048576
max_used_connections=2
max_threads=151
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 834488 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x234355a0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
0054727A
01010101
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 252648F5=insert into inout_temp (czybm,zd1,ZD2,ZD3,ZD4,ZD5,ZD6,ZD7,ZD8,ZD9,ZD10,ZD11,ZD12,ZD13,ZD14,ZD15,ZD16,ZD17,ZD18,ZD19,ZD20,ZD21,ZD22,ZD23,ZD24,ZD25,ZD26,ZD27,ZD28,ZD29,ZD30,ZD31,ZD32,ZD33,ZD34,ZD35,ZD36,ZD37,ZD38,ZD39,ZD40,ZD41,ZD42,ZD43,ZD44,ZD45) values ('2','105','{72389676-BA57-4EEF-B75C-D30490F7FA2A}','330000','102','0060760163','0060760163','1','{6A6CE499-4A7A-4CFC-8E1B-BE9A22AA0318}','2010-1-12','中文20个字','150','0','2','中文','~|~','','','','','','','','','','','','2','2','1','1','0','0','0','0','1','0','0','','','','','0','','1','0');insert into inout_temp (czybm,zd1,ZD2,ZD3,ZD4,ZD5,ZD6,ZD7,ZD8,ZD9,ZD10,ZD11,ZD12,ZD13,ZD14,ZD15,ZD16,ZD17,ZD18,ZD19,ZD20,ZD21,ZD22,ZD23,ZD24,ZD25,ZD26,ZD27,ZD28,ZD29,ZD30,ZD31,ZD32,ZD33,ZD34,ZD35,ZD36,ZD37,ZD38,ZD39,ZD40,ZD41,ZD42,ZD43,ZD44,ZD45) values ('2','105','{028ECA2B-01B9-40B7-9384-DAD26C3B26F2}','330000','102','0060760164','0060760164','1','{6A6CE499-4A7A-4CFC-8E1B-BE9A22AA0318}','2010-1-12','中文司','35','0','2','中文','~|~

thd->thread_id=1

thd->killed=NOT_KILLED

The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains

information that should help you find out what is causing the crash.

执行4200多条insert into语句的时候,MYSQL服务器死掉,MYSQL报错:

---------------------------

mysqld.exe - 应用程序错误

---------------------------

"0x0054727a" 指令引用的 "0x00000000" 内存。该内存不能为 "written"。

要终止程序,请单击“确定”。

要调试程序,请单击“取消”。

---------------------------

确定 取消  

---------------------------

请大侠帮忙啊!

------解决思路----------------------

最好设立缓存机制,批量insert,要不然极易令整个表处于锁状态,即使你用innodb

------解决思路----------------------

100223 15:32:06 [ERROR] D:\非税系统\EXE\DB\bin\mysqld.exe: Out of memory (Needed 2016508 bytes)


检查一下你的INI文件中的配置。内存溢出了

--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论