Git Product home page Git Product logo

Comments (3)

dosubot avatar dosubot commented on June 4, 2024 2

The error you're encountering, org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: The rest server is too busy to write, suggests that the HugeGraph server is experiencing high load, which is impacting its ability to process write requests efficiently. Here are targeted suggestions to address this issue:

  1. Optimize HugeGraph and RocksDB Configurations: Adjust RocksDB settings like max_background_jobs, write_buffer_size, and max_open_files to better match your hardware capabilities, potentially improving performance under load.

  2. Increase Iterator Pool Capacity: The error might be related to the capacity of the iterator pool. Increasing the ITERATOR_POOL_CAPACITY in RocksDBIteratorPool.java could help manage load more effectively by allowing more iterators to be pooled concurrently.

  3. Enable Iterator Reusing: In ReusedRocksIterator.java, changing REUSING_ENABLED from false to true can reduce the overhead associated with iterator creation and destruction, which is beneficial under high load scenarios.

  4. Benchmark Code Optimization: Review your benchmarking approach to ensure it doesn't overwhelm the server. Adjusting the rate of requests or the level of concurrency might prevent the server from becoming too busy to write.

  5. Server Performance Monitoring: Utilize monitoring tools to identify performance bottlenecks. This can guide further optimizations, whether in configuration or hardware adjustments.

  6. Update HugeGraph and RocksDB: Ensure you're using the latest versions as they may include relevant performance improvements or bug fixes.

For specific RocksDB configurations:

  • max_background_jobs: Consider setting this to a higher value to allow more concurrent background processes.
  • write_buffer_size: Increasing this can help manage write workload spikes more effectively.
  • max_open_files: Setting this to -1 or a high number can reduce file operation overhead, aiding in performance under heavy load.

These adjustments are starting points. Monitoring and iterative tuning based on actual performance are crucial for achieving optimal configurations.

Sources

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

from incubator-hugegraph.

imbajin avatar imbajin commented on June 4, 2024

@dosu-bot could u help to find the relative context/issues & give some suggestion?

from incubator-hugegraph.

github-actions avatar github-actions commented on June 4, 2024

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

from incubator-hugegraph.

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.