Giter VIP home page Giter VIP logo

Comments (10)

creekorful avatar creekorful commented on June 13, 2024

Hello there,

Some questions to help us figure this out:

  • Are you using the default config file?
  • Are you using the latest version?
  • Do you mind sharing the whole logs ? docker-compose logs --no-color > logs.txt
  • How much data have you already crawled?

from bathyscaphe.

GaganBhat avatar GaganBhat commented on June 13, 2024

Thanks for responding, appreciate all the work you do on this project.

  1. Are you using the default config file?
    Yes, I am. Did not make any changes after cloning the repo.
  2. Are you using the latest version?
    Yes, I pulled yesterday.
  3. Do you mind sharing the whole logs ? docker-compose logs --no-color > logs.txt
    Yep, although this seems to just be a bunch of processing logs. https://0x0.st/i6Or.txt
  4. How much data have you already crawled?
    Unsure how I can check this information. I just ran a test command for the facebook onion mirror.

from bathyscaphe.

creekorful avatar creekorful commented on June 13, 2024

Thanks for responding, appreciate all the work you do on this project.

Thank you!

Yep, although this seems to just be a bunch of processing logs. https://0x0.st/i6Or.txt

You're right, despite it looks like NATS server is down too:

$ grep 'level=error' i6Or.txt
[...]
scheduler_1      | time="2020-09-07T04:44:46Z" level=error msg="Error while connecting to NATS server nats: nats: no servers available for connection"
scheduler_1      | time="2020-09-07T04:45:47Z" level=error msg="Error while connecting to NATS server nats: nats: no servers available for connection"
scheduler_1      | time="2020-09-07T04:46:47Z" level=error msg="Error while connecting to NATS server nats: nats: no servers available for connection"

this may be an indicator of memory pressure, but not sure at this time.

Let's try something simple first,
Can you enable logging for the ES container? This will greatly help us.

You just need to remove the logging configuration section: https://github.com/creekorful/trandoshan/blob/42ee9301606efebd7ed537a63270f20bbe684137/deployments/docker/docker-compose.yml#L14

from bathyscaphe.

GaganBhat avatar GaganBhat commented on June 13, 2024

It appears to be an OutOfMemoryError (even though it isn't using all my system RAM available. Limited by args maybe?)
Here's the log with elasticsearch -- https://0x0.st/i64w.txt

from bathyscaphe.

creekorful avatar creekorful commented on June 13, 2024

Looks like the docker-compose.yml config file is wrong:

warning: ignoring JAVA_OPTS=-Xms2g -Xmx2g; pass JVM parameters via ES_JAVA_OPTS

Can you try renaming the parameter to ES_JAVA_OPTS in the file and see if that's work?

from bathyscaphe.

GaganBhat avatar GaganBhat commented on June 13, 2024

Thanks, that seems to have fixed it for now (Kibana did crash on me one time with code 134 but just restarted it and it seems to run fine now.)

Also, I just want to ask, how can I delete all the data of the URLs I have scrubbed already so that I can reset my environment start crawling new ones?

from bathyscaphe.

creekorful avatar creekorful commented on June 13, 2024

Also, I just want to ask, how can I delete all the data of the URLs I have scrubbed already so that I can reset my environment start crawling new ones?

You can simply delete the whole compose instance by running ./scripts/delete.sh on unix.
The next time you start the crawler it will recreate everything.

from bathyscaphe.

creekorful avatar creekorful commented on June 13, 2024

I'm closing the issue as it's fixed, feel free to re-open it / open a new one if needed,
Cheers!

from bathyscaphe.

GaganBhat avatar GaganBhat commented on June 13, 2024

Thanks.

The next time you start the crawler it will recreate everything.

Last question, what if I don't want it to recreate everything? Just remove the data and go back to the blank initial state where it waits for a new URL to be scheduled.

from bathyscaphe.

creekorful avatar creekorful commented on June 13, 2024

That's exactly what delete.sh will do. It will clear the elasticsearch instance completely. You'll just need to re-configure it.
If you want to keep the configuration maybe you'll need to delete the elasticsearch index trough Kibana.

from bathyscaphe.

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.