Code Monkey home page Code Monkey logo

Comments (3)

nathaclmpaulino avatar nathaclmpaulino commented on May 25, 2024

After running
/usr/bin/pganalyze-collector-helper status

I've got this:

Failed to find Postgres Postmaster Pid: exit status 2
{
  "PostmasterPid": 0,
  "DataDirectory": "",
  "XlogDirectory": "",
  "XlogUsedBytes": 0,
  "SystemIdentifier": ""
}

I don't know if helps more, but I saw that command in a older issue of yours: #13

from collector.

lfittl avatar lfittl commented on May 25, 2024

@nathaclmpaulino This should be unrelated the pganalyze-collector-helper - that helper is only used for self-managed systems (i.e. not RDS)

Whats likely the problem here is an out of memory. Could it be that you are using a very small EC2 instance? (e.g. t3.micro as we currently describe in the docs)

If you have a lot of queries on the database (or many with long query text), you might need to use a larger EC2 instance, such as a t3.small instead.

You should be able to confirm this by running dmesg -T on the server, you should see the Linux out of memory logic kill the collector process at the time of running the test.

from collector.

nathaclmpaulino avatar nathaclmpaulino commented on May 25, 2024

Yep! The process was killed by OOM. I will run another machine on monday.

Thank you! @lfittl

from collector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.