about greenplum collection tool

three collection tool for greenplum:pstack、strace、gcore.

[[email protected] ~]$ ps -ef | grep postgres|grep data|grep master|grep -v grep

gpadmin   3653     1  0 May21 ?        00:00:00 /usr/local/greenplum-db-4.2.5.2/bin/postgres -D /data/master/gpseg-1 -p 5432 -b 1 -z 2 --silent-mode=true -i -M master -C -1 -x 0 -E

[[email protected] ~]$ pstack 3653

#0  0x00000034104ce183 in __select_nocancel () from /lib64/libc.so.6

#1  0x000000000087a63b in PostmasterMain ()

#2  0x000000000077ff3a in main ()

Copy the output to a file,or usage: pstack 3653 >pstack-gp.txt .

[[email protected] ~]$ strace -p 3653

Process 3653 attached - interrupt to quit

select(5, [3 4], NULL, NULL, {7, 897000}) = 0 (Timeout)

rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP ABRT BUS FPE SEGV CONT SYS RTMIN RT_1], NULL, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

select(5, [3 4], NULL, NULL, {60, 0} <unfinished ...>

Process 3653 detached

You must hole for at least 30 seconds and use "ctrl+c" to terminate. Copy the output to a file.

[[email protected] ~]$ gcore 3653

‘import site‘ failed; use -v for traceback

Traceback (most recent call last):

File "<string>", line 27, in ?

ImportError: No module named os.path

[Thread debugging using libthread_db enabled]

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffea126000

0x00000034104ce183 in __select_nocancel () from /lib64/libc.so.6

Saved corefile core.3653

-EOF-

版权声明:本文博主原创文章,博客,未经同意不得转载。

时间: 2024-10-25 06:34:09

about greenplum collection tool的相关文章

Linux Perf Probes for Oracle Tracing

Luca Canali on 21 Jan 2016 Topic: this post is about Linux perf and uprobes for tracing and profiling Oracle workloads for advanced troubleshooting. Context The recent progress and maturity of some of the Linux dynamic tracing tools has raised intere

autoit使用WMIC获取硬件信息

效果图: 直接上源码了 #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.12.0 Author: Qiulp Script Function: Template AutoIt script. #ce -------------------------------------------------------------------------

8 Monitoring Performance and Troubleshooting

The Global Cache Block Access Latency chart shows data for two different types of data block requests: current and consistent-read (CR) blocks. When you update data in the database, Oracle Database must locate the most recent version of the data bloc

命令安装VS

Installing Visual Studio Visual Studio 2015 Other Versions Visual Studio 2013 Visual Studio 2010 Visual Studio 2008 Visual Studio 2005 Visual Studio .NET 2003 To install Visual Studio 2015, you can use the installation media from a boxed product, or

mandatory argument &#39;crshome&#39; is missing

1. 错误信息 在oracle  10.2.0.4 to 11.1.0.6 的各个版本中,尽管变量ORA_CRS_HOME设置正确,也会遇到如下错误: # ./diagcollection.pl -collect Production Copyright 2004, 2005, Oracle. All rights reserved Cluster Ready Services (CRS) diagnostic collection tool Mandatory argument ‘crshom

使用Memory Analyzer tool(MAT)分析内存泄漏

前言 在平时工作过程中,有时会遇到OutOfMemoryError,我们知道遇到Error一般表明程序存在着严重问题,可能是灾难性的.所以找出是什么原因造成OutOfMemoryError非常重要.现在向大家引荐Eclipse Memory Analyzer tool(MAT),来化解我们遇到的难题.如未说明,本文均使用Java 5.0 on Windows XP SP3环境. 为什么用 MAT 之前的观点,我认为使用实时profiling/monitoring之类的工具,用一种非常实时的方式来

【转载】M2K (Music-to-Knowledge): A tool set for MIR/MDL development and evaluation

University of Illinois · Graduate School of Library and Information Science · ISRL music-ir.org || mirbib || IMIRSEL || M2K || modules || tools || MIREX M2K (Music-to-Knowledge): A tool set for MIR/MDL development and evaluation Introduction The IMIR

Greenplum+Hadoop学习笔记-14-定义数据库对象之创建与管理表空间

6.2.创建与管理表空间 表空间建立在文件空间之上,文件空间建立在一系列文件系统之上.关于gpfilespace的所有说明如下所示: [[email protected] gpfs]$ gpfilespace --help COMMAND NAME: gpfilespace Creates a filespace using a configuration file that defines per-segment file system locations. Filespaces descri

PostgreSQL 优势,MySQL 数据库自身的特性并不十分丰富,触发器和存储过程的支持较弱,Greenplum、AWS 的 Redshift 等都是基于 PostgreSQL 开发的

PostgreSQL 优势 2016-10-20 21:36 686人阅读 评论(0) 收藏 举报  分类: MYSQL数据库(5)  PostgreSQL 是一个自由的对象-关系数据库服务器(数据库管理系统),功能很强大.包括了可以说是目前世界上最丰富的数据类型的支持,比如 IP 类型和几何类型等等. 发现很多读者都问过这样一个问题:如果打算为项目选择一款免费.开源的数据库,那么你可能会在MySQL与PostgreSQL之间犹豫不定.针对这个问题,我们采访到了即将在Postgres中国用户20