Giter VIP home page Giter VIP logo

Comments (8)

romange avatar romange commented on May 31, 2024

Thank you for bringing this issue to our attention! We're always looking for ways to improve Dragonfly.
If you're interested in helping out, we'd greatly appreciate contributions in the following areas:

  • RPM Repository Setup: We're looking for assistance with creating the necessary code for our RPM repository (e.g., .spec files, package configuration). If you have experience with RPM packaging, we'd love your help!

  • Documentation Enhancement: Our documentation is hosted here. You are welcome to send a PR or open an issue there about stuff that is missing on your opinion.

Regarding the EL9 issue: Could you please provide the log output or any other clues you've found? This will help us pinpoint the problem and work towards a solution.

from dragonfly.

romange avatar romange commented on May 31, 2024

Another thing, Dragonfly does not have maxmemory-policy flag, instead it has cache_mode flag for that.

from dragonfly.

skrlance avatar skrlance commented on May 31, 2024

The problem was in your compiled rpm file where you need to make changes to your dragonfly.spec file while compiling:

  1. First thing is you should be giving permission to the dfly user to create and access the directory /var/log/dragonfly
  2. Second was that you were keeping wrong location of path to bin while compiling where dragonfly file should be move to /usr/bin and you are moving it to /usr/local/bin.

I solved the issue with the following commands:

cd /usr/local/bin
cp dragonfly /usr/bin

&
cd /var/log
mkdir dragonfly
chown -R dfly /var/log/dragonfly

Now, dragonfly is up and running in my server!! So, please make necessary changes to your .spec file while compiling.

from dragonfly.

romange avatar romange commented on May 31, 2024

@skrlance would you like to send a PR?

from dragonfly.

skrlance avatar skrlance commented on May 31, 2024

Another thing, Dragonfly does not have maxmemory-policy flag, instead it has cache_mode flag for that.

This is my dargonfly.conf file and I will add cache_mode flag as you suggested:

--pidfile=/var/run/dragonfly/dragonfly.pid
--log_dir=/var/log/dragonfly
--dir=/var/lib/dragonfly
--max_log_size=20
--version_check=true
--requirepass=myredispass
--maxmemory=1gb
--compression_mode=2
--keys_output_limit=8192

from dragonfly.

skrlance avatar skrlance commented on May 31, 2024

@skrlance would you like to send a PR?

What PR?

from dragonfly.

skrlance avatar skrlance commented on May 31, 2024

Also, I forgot to mention, we should be removing:

#Restart=always

From:
/usr/lib/systemd/system/dragonfly.service

Or, dragonfly will crash and won't start.

from dragonfly.

romange avatar romange commented on May 31, 2024

Also, I forgot to mention, we should be removing:

#Restart=always

From: /usr/lib/systemd/system/dragonfly.service

Or, dragonfly will crash and won't start.

why is that?

from dragonfly.

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.