Greenplum运行SQL时提示Unexpected internal error (tuplestorenew.c:407)
问题现象描述
使能KAEzip之前,Greenplum运行SQL时提示“Unexpected internal error (tuplestorenew.c:407)”、“HINT: Process x will wait for gpdebuglinger=120 seconds before termination”和“Note that its locks and other resources will not be released until then”。
关键过程、根本原因分析
可能有以下原因:
- 资源不足,需要检查系统资源(如内存、CPU、磁盘IO等),并根据需要进行调整。
- 外部因素干扰,比如网络问题,需要优化网络。
结论、解决方案及效果
- 如果是资源不足原因导致,请使用如下方案。
- 尝试同时关闭Greenplum的“resource_scheduler”和“gp_resqueue_priority”参数。
1 2
gpconfig -c resource_scheduler -v off gpconfig -c gp_resqueue_priority -v off
- 再次运行SQL。
- 如果还是没有解决问题,尝试打开Greenplum的死锁检测参数“gp_enable_global_deadlock_detector”。
1
gpconfig -c gp_enable_global_deadlock_detector -v on
- 再次运行SQL。
- 尝试同时关闭Greenplum的“resource_scheduler”和“gp_resqueue_priority”参数。
- 如果是网络问题原因导致,请使用如下方案。
- 使用速度比较大的网卡,一般需要25000MB/s或以上。
- 再次运行SQL。
父主题: 故障排除