Comments (6)
Ehi @GuolongCyber, when you say
and attempts to restart are ineffective.
you mean restarting mongodb or the scraper with the restarter.js
script ?
All the optimization emprovements (like cache system or bulk writes to db) that came to my mind are already there,
initally this bot could consume 2-3 times more cpu than it does now,
at the moment i don't know how to emprove it efficency unfortunately.
Thanks for the report π ,
If you have any sudjestion let me know π
from wechartweb3.
I mean restart mongodb
I've been running for about 3 days and started to fill up the CPU. Do you have a similar situation?
from wechartweb3.
Not really, maybe i'm running a server with more resources, I'm using this one
on my end mongodb consume 60% cpu on average.
At the end the scraper is not doing one of the less heavy works, scraping every swap and analizing it's parameters for each block it's a bit resource consuming
from wechartweb3.
We use the same server configuration. I put the scraper on the selfnode server!π
I just used the default startup mode:
bin/mongod --port=27017 --dbpath=mongodb/data --logpath=mongodb/log/mongodb.log --fork
Have you made any adjustmentsπ?
such as: Ulimit\Virtual Memory\Transparent HugePages\Filesystem and Options
Thanks buddy!
from wechartweb3.
i fixed! I didn't create indexes π
Now the running speed is super fast!! π
Thanks @Linch1 π
from wechartweb3.
Ohh that's right, forgot to mention that, happy to know you figured that out π
from wechartweb3.
Related Issues (20)
- Error: connection not open on send() HOT 7
- Error: data out-of-bounds when scraping transaction hash that contains ERC-721 TokenID HOT 2
- Bug get price token is DOGE HOT 3
- Help me queue !! HOT 4
- Need some help HOT 1
- Token Histories collection HOT 1
- Nothing in DB, err updating main price? HOT 1
- Error when Running it HOT 3
- Main Thread continues to run when slave dies HOT 3
- historytransactions tokenIn&tokenOut recorded same contract address issue HOT 1
- How to add Cake to main token? HOT 7
- Limit the number of requests in a batch call (<500) HOT 4
- Some transactions cant be recorded HOT 1
- Ethereum support HOT 1
- TypeError: Cannot read property 'ws_provider' of undefined HOT 8
- any idea about this error ?
- HELP HOT 1
- what is server voting url HOT 2
- Price Scrapper for specific pair HOT 19
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 wechartweb3.