Hi
I am using MySQL-5.1.54 64 bit Community Edition. When I set "innodb_buffer_pool_size=4G", the innodb wont start and logs the following:
================================================================================
111121 20:34:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/data
111121 20:34:52 [Note] Plugin 'FEDERATED' is disabled.
111121 20:34:53 InnoDB: Initializing buffer pool, size = 4.0G
111121 20:34:53 InnoDB: Error: cannot allocate 4294983680 bytes of
InnoDB: memory with malloc! Total allocated memory
InnoDB: by InnoDB 564300640 bytes. Operating system errno: 12
InnoDB: Check if you should increase the swap file or
InnoDB: ulimits of your operating system.
InnoDB: On FreeBSD check you have compiled the OS with
InnoDB: a big enough maximum process size.
InnoDB: Note that in most 32-bit computers the process
InnoDB: memory space is limited to 2 GB or 4 GB.
InnoDB: We keep retrying the allocation for 60 seconds...
111121 20:35:53InnoDB: Fatal error: cannot allocate the memory for the buffer pool
111121 20:35:53 [ERROR] Plugin 'InnoDB' init function returned error.
111121 20:35:53 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
111121 20:35:53 [Warning] 'user' entry 'root@localhost.localdomain' ignored in --skip-name-resolve mode.
111121 20:35:53 [Warning] 'user' entry '@localhost.localdomain' ignored in --skip-name-resolve mode.
111121 20:35:53 [Note] Event Scheduler: Loaded 0 events
111121 20:35:53 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.54-community-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
================================================================================
When I set "innodb_buffer_pool_size=3G", then innodb starts properly, but takes long time to start, stop. I do not have the same issue with the same kind of system, which I am using as development server.
System Specifications:
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Memory: 8 GB
HDD: RAID-1 with 800 GB free space
OS: CentOS 5.7 64 bit.
Kernel: 2.6.18-274.7.1.el5 #1 SMP
Swap Space: 4 GB
The output of free -m shows more than 6 GB available memory. I have swapped, HDD, memory, etc and the results are same.
Please help me to resolve the issue
I am using MySQL-5.1.54 64 bit Community Edition. When I set "innodb_buffer_pool_size=4G", the innodb wont start and logs the following:
================================================================================
111121 20:34:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/data
111121 20:34:52 [Note] Plugin 'FEDERATED' is disabled.
111121 20:34:53 InnoDB: Initializing buffer pool, size = 4.0G
111121 20:34:53 InnoDB: Error: cannot allocate 4294983680 bytes of
InnoDB: memory with malloc! Total allocated memory
InnoDB: by InnoDB 564300640 bytes. Operating system errno: 12
InnoDB: Check if you should increase the swap file or
InnoDB: ulimits of your operating system.
InnoDB: On FreeBSD check you have compiled the OS with
InnoDB: a big enough maximum process size.
InnoDB: Note that in most 32-bit computers the process
InnoDB: memory space is limited to 2 GB or 4 GB.
InnoDB: We keep retrying the allocation for 60 seconds...
111121 20:35:53InnoDB: Fatal error: cannot allocate the memory for the buffer pool
111121 20:35:53 [ERROR] Plugin 'InnoDB' init function returned error.
111121 20:35:53 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
111121 20:35:53 [Warning] 'user' entry 'root@localhost.localdomain' ignored in --skip-name-resolve mode.
111121 20:35:53 [Warning] 'user' entry '@localhost.localdomain' ignored in --skip-name-resolve mode.
111121 20:35:53 [Note] Event Scheduler: Loaded 0 events
111121 20:35:53 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.54-community-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
================================================================================
When I set "innodb_buffer_pool_size=3G", then innodb starts properly, but takes long time to start, stop. I do not have the same issue with the same kind of system, which I am using as development server.
System Specifications:
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Memory: 8 GB
HDD: RAID-1 with 800 GB free space
OS: CentOS 5.7 64 bit.
Kernel: 2.6.18-274.7.1.el5 #1 SMP
Swap Space: 4 GB
The output of free -m shows more than 6 GB available memory. I have swapped, HDD, memory, etc and the results are same.
Please help me to resolve the issue