Giter VIP home page Giter VIP logo

Comments (4)

khteh avatar khteh commented on September 26, 2024
$ k logs -f redis-cluster-5
1:C 28 Mar 2019 06:12:32.597 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 28 Mar 2019 06:12:32.597 # Redis version=5.0.4, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 28 Mar 2019 06:12:32.597 # Configuration loaded
1:M 28 Mar 2019 06:12:32.597 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
1:M 28 Mar 2019 06:12:32.597 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted.
1:M 28 Mar 2019 06:12:32.597 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
1:M 28 Mar 2019 06:12:32.598 * No cluster configuration found, I'm d765c528867f297cda8e943bce5dae07954286a2
1:M 28 Mar 2019 06:12:32.602 * Running mode=cluster, port=6379.
1:M 28 Mar 2019 06:12:32.602 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 28 Mar 2019 06:12:32.602 # Server initialized
1:M 28 Mar 2019 06:12:32.602 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
1:M 28 Mar 2019 06:12:32.602 * Ready to accept connections
1:M 28 Mar 2019 06:13:17.229 # configEpoch set to 6 via CLUSTER SET-CONFIG-EPOCH
1:M 28 Mar 2019 06:13:22.627 # Cluster state changed: ok

from redis-cluster.

Javid907 avatar Javid907 commented on September 26, 2024
$ k logs -f redis-cluster-5
1:C 28 Mar 2019 06:12:32.597 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 28 Mar 2019 06:12:32.597 # Redis version=5.0.4, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 28 Mar 2019 06:12:32.597 # Configuration loaded
1:M 28 Mar 2019 06:12:32.597 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
1:M 28 Mar 2019 06:12:32.597 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted.
1:M 28 Mar 2019 06:12:32.597 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
1:M 28 Mar 2019 06:12:32.598 * No cluster configuration found, I'm d765c528867f297cda8e943bce5dae07954286a2
1:M 28 Mar 2019 06:12:32.602 * Running mode=cluster, port=6379.
1:M 28 Mar 2019 06:12:32.602 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 28 Mar 2019 06:12:32.602 # Server initialized
1:M 28 Mar 2019 06:12:32.602 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
1:M 28 Mar 2019 06:12:32.602 * Ready to accept connections
1:M 28 Mar 2019 06:13:17.229 # configEpoch set to 6 via CLUSTER SET-CONFIG-EPOCH
1:M 28 Mar 2019 06:13:22.627 # Cluster state changed: ok

Hello. Can you resolved this problem?

from redis-cluster.

sandeep1987elex avatar sandeep1987elex commented on September 26, 2024

Can I set the above configuration? (type 'yes' to accept): yes

Nodes configuration updated
Assign a different config epoch to each node
Sending CLUSTER MEET messages to join the cluster
Waiting for the cluster to join
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
───────────────────────────────────────────────────────────────────────────────

I am also facing the same issue, please help me.. working on POC. Thank you in advance.

from redis-cluster.

khteh avatar khteh commented on September 26, 2024

Redis cluster formation is done through k8s initialization batch job after all the pods of redis nodes are running. https://github.com/khteh/kubernetes/blob/master/redis-cluster-initjob.yml

from redis-cluster.

Related Issues (16)

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.