我的服务器的配置是:
双至强2.4G
内存:2G
我的系统是FreeBSD5.2.1(R)
Apache/2.0.48 (Unix) PHP/4.3.4 MySQL-4.0.20
编译后能正常启动
我想修改一下MySQL配置文件
增加最大连接数,但我重启MySQL服务器时出现了一下错误
我在.err文件的提示如下:
040815 01:53:36 mysqld started
Warning: Ignoring user change to 'root' because the user was set to 'mysql' earlier on the command line
mysqld in malloc(): error: allocation failed
mysqld got signal 6;
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=33550336
max_used_connections=0
max_connections=512
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 522236 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
mysqld in free(): error: recursive call
Fatal signal 6 while backtracing
040815 01:53:36 mysqld ended
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 522236 K 这一句好像在说可能用掉500多M内存
但我有2G内存,应该够了吧
但总是启动不了
这是什麽原因啊? |