Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

服务器出现问题(Errno.: 1135),导致论坛错误,请帮忙找原因?

[复制链接]
玩星 发表于 2008-1-19 17:45:34 | 显示全部楼层 |阅读模式
Discuz! info: Can not connect to MySQL server

Time: 2007-12-22 7:08pm
Script: /index.php

Error: Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
Errno.: 1135

Similar error report has beed dispatched to administrator before.


环境是WIN2003+mysql4.0.26+PHP4。3。11或php5.2 是怎么回事情呢?

[ 本帖最后由 玩星 于 2008-1-19 17:50 编辑 ]
回复

使用道具 举报

kissuu 发表于 2008-1-19 17:46:26 | 显示全部楼层
建议检查MYSQL的配置.
回复

使用道具 举报

 楼主| 玩星 发表于 2008-1-19 17:51:39 | 显示全部楼层
原帖由 kissuu 于 2008-1-19 17:46 发表
建议检查MYSQL的配置.



my.ini有经过优化的,服务器内存4G,优化如下

set-variable        = max_connections=5000
skip-locking
skip-name-resolve
#skip-networking
long_query_time=20
log-slow-queries=e:/sqlrizi/sql.log
back_log=100
set-variable        = key_buffer=896M
set-variable        = max_allowed_packet=32M
set-variable        = table_cache=512
set-variable        = sort_buffer=16M
set-variable        = record_buffer=16M
set-variable        = thread_cache=64
# Try number of CPU's*2 for thread_concurrency
set-variable        = thread_concurrency=2
set-variable        = myisam_sort_buffer_size=64M
set-variable        = connect_timeout=10
set-variable        = wait_timeout=10
server-id        = 1
[isamchk]
set-variable        = key_buffer=100M
set-variable        = sort_buffer=20M
set-variable        = read_buffer=4M
set-variable        = write_buffer=2M

[myisamchk]
set-variable        = key_buffer=100M
set-variable        = sort_buffer=20M
set-variable        = read_buffer=4M
set-variable        = write_buffer=2M
回复

使用道具 举报

xiaoyuwxz 发表于 2008-1-19 18:44:57 | 显示全部楼层
有几个站?应该有某个站的程序耗大量资源了.
回复

使用道具 举报

webcdn 发表于 2008-1-19 20:31:07 | 显示全部楼层
:)
回复

使用道具 举报

 楼主| 玩星 发表于 2008-1-20 03:26:00 | 显示全部楼层
?????????
回复

使用道具 举报

jpg119 发表于 2008-1-28 06:18:31 | 显示全部楼层
我也是这个问题,请给个解决方案,谢谢
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-11-22 20:40 , Processed in 0.089125 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表