|
|
|
винда не дает выделить память для innodb_buffer_pool_size
|
|||
|---|---|---|---|
|
#18+
При установки параметра innodb_buffer_pool_size равным более чем 1000M, мускул стартует с ошибкой: 150205 11:25:49 [Note] Plugin 'FEDERATED' is disabled. 150205 11:25:49 InnoDB: Initializing buffer pool, size = 1.1G 150205 11:25:49 InnoDB: Error: cannot allocate 1132478464 bytes of InnoDB: memory with malloc! Total allocated memory InnoDB: by InnoDB 23668684 bytes. Operating system errno: 8 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... 150205 11:26:49InnoDB: Fatal error: cannot allocate the memory for the buffer pool 150205 11:26:49 [ERROR] Plugin 'InnoDB' init function returned error. 150205 11:26:49 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 150205 11:26:49 [Note] Event Scheduler: Loaded 0 events 150205 11:26:49 [Note] MySQL: ready for connections. Version: '5.1.61-community' socket: '' port: 3306 MySQL Community Server (GPL) Где может быть проблема ? Операционная система Windows 2003 R2 32bit памяти 8 гб, занято меньше 1,5 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.02.2015, 17:28:22 |
|
||
|
винда не дает выделить память для innodb_buffer_pool_size
|
|||
|---|---|---|---|
|
#18+
Насколько я помню, для 32-хразрядного процесса всего выделяется не более примерно 1,7-1,8 ГБ памяти. А вы хотите получить из них 1,1+10%=1,2 ГБ непрерывным куском. http://dev.mysql.com/doc/refman/5.1/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size InnoDB reserves additional memory for buffers and control structures, so that the total allocated space is approximately 10% greater than the specified size. The address space must be contiguous, which can be an issue on Windows systems with DLLs that load at specific addresses.Так что даже 1ГБ в таких условиях, имхо, весьма неплохой результат. Если реально нужно больше - переходите на 64-хразрядные ОС и MySQL. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.02.2015, 18:35:13 |
|
||
|
|

start [/forum/topic.php?fid=47&msg=38872739&tid=1833605]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
131ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
21ms |
get tp. blocked users: |
2ms |
| others: | 225ms |
| total: | 404ms |

| 0 / 0 |
