- 论坛徽章:
- 0
|
本帖最后由 chinafenghao 于 2013-08-28 09:52 编辑
mysql数据库运行过程中报错:
ERROR 1041 (00000): 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
mysql服务重启又正常,请教各位了.
[root@sdgovvod ~]# grep -v "#" /etc/my.cnf
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-locking
back_log = 300
key_buffer = 512M
max_allowed_packet = 64M
table_cache = 2048
sort_buffer_size = 10M
net_buffer_length = 10M
read_buffer_size = 10M
read_rnd_buffer_size = 10M
myisam_sort_buffer_size = 128M
skip-name-resolve
thread_cache_size = 256
thread_stack = 226976
join_buffer_size = 10M
query_cache_size = 1024M
max_connections = 1500
max_connect_errors = 999999999
open_files_limit = 4096
skip-innodb
interactive_timeout = 20
wait_timeout = 20
net_read_timeout =20
skip-federated
log-bin=mysql-bin
server-id = 1
innodb_buffer_pool_size = 126M
[mysqldump]
quick
max_allowed_packet = 64M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 10M
write_buffer = 10M
[myisamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 10M
write_buffer = 10M
[mysqlhotcopy]
interactive-timeout
skip-name-resolve |
|