Comments (4)
We run this for days in prod and test without any issue. Golang handles socket connections in pools, and we have never had any issues with a connection not being cleaned up.
limits.conf is not honored on some systems, and you should ensure that these settings are configured in systemd correctly.
from ortelius.
Can you please attach your configs of the ortelius
?
And how many connection limits did you set in mysql?
from ortelius.
There are working examples of configs in the ortelius github repo. They don't change for prod except we use a aws hosted db and kafka server. We generally never get over 30 connections according to the metrics..
from ortelius.
The problem has been solved.
First of all I had a wrong value (array of strings) for ipcs-chain-ids
in the avalanchego
node's config file, it should be just a string
with comma separated values. Due to this wrong value sockets for different chains were not created in the appropriate directory, so ortelius stream producer
was not able to connect to the node.
I was running the node on the server with ubuntu 20.04 and as @tasinco mentioned above
limits.conf is not honored on some systems, and you should ensure that these settings are configured in systemd correctly.
I also set DefaultLimitNOFILE=65535
in /etc/systemd/user.conf
. After all this changes ortelius
seems to work fine and indexes the data.
P.S. Unfortunately, in order to index all data from the genesis block you should run ortelius
before starting to sync the avalanchego
node.
from ortelius.
Related Issues (20)
- Migration for PostgreSQL is not correct HOT 2
- may avaxAssetID,xChainID be configured from config file HOT 1
- Transaction Details Not Found: AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU HOT 2
- transaction ID was not found in the Avalanche Explorer: AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU HOT 1
- Transaction Details Not Found
- Binance withdrawal pending HOT 1
- Axav ; Transaction Details Not Found HOT 8
- Avax trasnfer HOT 1
- failed to load resource HOT 5
- May the ortelius call an http api on X chain transactions HOT 1
- Ortelius missing transactions HOT 3
- Indexer Erroring out with Duplicate Entries for Production Build HOT 10
- Can you provide a public ortelius api for the mainnet? HOT 1
- producer and indexer error HOT 1
- Weird result when using the api to fetch CChain transactions HOT 1
- MySQL and API listening publicly intended?
- indexer uses a method(debug_traceTransaction) that doesn't exist
- How to configure cchainid ppm-id and aim-id
- failed to decode client response: no containers have been accepted
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 ortelius.