Comments (10)
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.
Thanks for responding, appreciate all the work you do on this project.
- Are you using the default config file?
Yes, I am. Did not make any changes after cloning the repo. - Are you using the latest version?
Yes, I pulled yesterday. - 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 - 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.
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.
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.
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.
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.
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.
I'm closing the issue as it's fixed, feel free to re-open it / open a new one if needed,
Cheers!
from bathyscaphe.
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.
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)
- archiver: do not archive if refresh-delay is not elapsed
- Use filtering instead of blacklisting
- Turn API into indexer
- Move schedule endpoint from Indexer to Scheduler HOT 1
- Improve blacklister
- Outsource authorization
- elastic: Error 400 (Bad Request): Limit of total fields [1000] has been exceeded
- error while storing resource: mkdir /archive/http/[...]: file name too long
- Indexer: create cache of published URLs HOT 1
- Tests are failing sometimes
- Blacklister: final tweaks
- Benchmark scheduler
- Indexer support bulk indexation
- Find new name
- Investigate redis memory optimization HOT 2
- Allow to use password for Redis connection
- Pushed images doesn't work
- Release stable version
- Add 'blacklister' process
- Create process package to abstract / easy process creation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bathyscaphe.