GS-00001 : Failed to allocate 4592381952 bytes for sga

GS-00001 : Failed to allocate 4592381952 bytes for sga

  • 在安装GaussDB 100,执行python install时发现如下错误:
Error: Can not get instance '/opt/gaussdb/data' process pid,The detailed information: 'instance startup failed '
查看zengine.rlog发现为GS-00001: Failed to allocate 4592381952 bytes for sga
  • 此错误为安装时没有指定数据库内存分配大小导致,因为安装环境为测试环境,而安装默认是4G大小,所以导致报错
python install.py -U omm:dbgrp -R /gdb/gaussdb/app -D /gdb/gaussdb/data -C LSNR_ADDR=127.0.0.1,192.168.79.137 -C LSNR_PORT=1888 -C DATA_BUFFER_SIZE=200M -C SHARED_POOL_SIZE=100M -C TEMP_BUFFER_SIZE=100M
-C SHARED_POOL_SIZE=100M
-C DATA_BUFFER_SIZE=200M
-C TEMP_BUFFER_SIZE=100M
  • 修改之后查看安装,顺利完成
UTC+8 2019-12-28 00:01:19.990|ZENGINE|00000|4301|INFO>[LOG] file '/gdb/gaussdb/data/log/zenith_alarm.log' is added [srv_param.c:518]
UTC+8 2019-12-28 00:01:19.990|ZENGINE|00000|4301|INFO>[LOG] file '/gdb/gaussdb/data/log/run/zengine.rlog' is added [cm_log.c:642]
UTC+8 2019-12-28 00:01:19.990|ZENGINE|00000|4302|INFO>timer thread started
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] LSNR_ADDR            = 127.0.0.1,192.168.79.137
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] LSNR_PORT            = 1888
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] DATA_BUFFER_SIZE     = 200M
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] SHARED_POOL_SIZE     = 100M
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] LOG_BUFFER_SIZE      = 64M
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] LOG_BUFFER_COUNT     = 8
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] TEMP_BUFFER_SIZE     = 100M
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] SESSIONS             = 1500
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] DBWR_PROCESSES       = 8
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] INSTANCE_NAME        = zenith
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] ENABLE_SYSDBA_LOGIN  = TRUE
UTC+8 2019-12-28 00:01:20.009|ZENGINE|00000|4301|INFO>[PARAM] CPU_NODE_BIND        = 0 0

你可能感兴趣的:(Gauss,DB)