VastbaseG100

基于openGauss内核开发的企业级关系型数据库。

Menu

SIGBUS信号处理

功能描述

结合数据库运行信息处理SIGBUS返回值,将处理结果记录到日志后再中止数据库运行。

提示信息说明

日志信息注释 数据库日志提示信息
数据库初始化共享内存打印日志 “LOG: Buffer poll start virtual address = xxxxx .”,记录内存结束位置”LOG: Buffer pool end virtual address = xxxxx.”
无效的地址对齐/不存在的物理地址/特定对象硬件错误 PANIC: errcode:xxxx, SIGBUS signal received, Gaussdb will shut down immediately.
SIGBUS地址错误在共享缓冲区并被使用 PANIC: Uncorrected Error occurred at dirty page. The error address is:xxxxx, Gaussdb wil shut down immediately.
SIGBUS地址错误在共享缓冲区未被使用 WARNING: Uncorrected Error occurred at clean/free page. The error address is:xxxx. GaussDB will shutdown.
SIGBUS返回地址为0 PANIC: SIGBUS signal received, sigbus addr is None. Gaussdb will shut down immediately.
SIGBUS返回地址为其他 PANIC: SIGBUS signal received. The error address is:xxx, Gaussdb will shut down immediately.

注:以上xxxx代表需要打印的变量信息。

注意事项

SIGBUS信号处理依赖GUC参数enable_incremental_checkpoint,请确保该参数处于开启状态(默认开启)。