New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Redis sentinel Error: waitpid() returned a pid we can't find in our scripts execution queue! #12731
Comments
I see sentinel doing stuff correctly isnt it? Is the Log Message not an error just an information? If so what is the impact of the message? For more Logs from sentinel refer to the beginning of 1.Log File |
can you share the INFO SENTINEL output?
and can you check if the logs have some TITL keyword? TILT mode source code: /* This function checks if we need to enter the TILT mode.
*
* The TILT mode is entered if we detect that between two invocations of the
* timer interrupt, a negative amount of time, or too much time has passed.
* Note that we expect that more or less just 100 milliseconds will pass
* if everything is fine. However we'll see a negative number or a
* difference bigger than SENTINEL_TILT_TRIGGER milliseconds if one of the
* following conditions happen:
*
* 1) The Sentinel process for some time is blocked, for every kind of
* random reason: the load is huge, the computer was frozen for some time
* in I/O or alike, the process was stopped by a signal. Everything.
* 2) The system clock was altered significantly.
*
* Under both this conditions we'll see everything as timed out and failing
* without good reasons. Instead we enter the TILT mode and wait
* for SENTINEL_TILT_PERIOD to elapse before starting to act again.
*
* During TILT time we still collect information, we just do not act. */
void sentinelCheckTiltCondition(void) {
mstime_t now = mstime();
mstime_t delta = now - sentinel.previous_time;
if (delta < 0 || delta > sentinel_tilt_trigger) {
sentinel.tilt = 1;
sentinel.tilt_start_time = mstime();
sentinelEvent(LL_WARNING,"+tilt",NULL,"#tilt mode entered");
}
sentinel.previous_time = mstime();
} |
@enjoy-binbin thank your for your answer. How can i get the INFO SENTINEL output? If i take a look into all my logs also into the logs linked in my post i never saw something like TILT in my logs. Thats the point why i am confused. How can we check the TILT mode do i need to configure something? |
INFO is a command, https://redis.io/commands/info/ |
can you issue the info command to the sentinel node? |
you should try the sentinel port 26379, not 6379 |
127.0.0.1:26379> info sentinel Sentinelsentinel_masters:1 |
Sorry, i don't have any clues right now. |
So you think the redis and sentinel container are running correctly and are production ready? I dont know how to understand the log message...Is it an error or just a warning/info? Does it affect the redis/sentinel so the containers are or can't run correctly in the futher? |
it is just a warning. |
Alright. Can you give me a hint how to test in my env a failover scenario? |
https://redis.io/docs/management/sentinel/ |
Describe the bug
I want to setup Redis sentinel in my AKS based on the Bitnami Helm Chart (https://artifacthub.io/packages/helm/bitnami/redis/18.1.2). After deploying the Sentinel Container spams the message:
waitpid() returned a pid (996) we can't find in our scripts execution queue!
To reproduce
I am using an Image with the following Dockerfile:
I am using the following YAML to deploy the Redis Sentinel with the above shown Image in the StatefulSet.
YAML.zip
Expected behavior
Redis and Sentinel are Running without these Logs shown in additional information.
Additional information
To make it clear i am NOT using the officall Bitnami Image shown in the Helm Chart docker.io/bitnami/redis:7.2.1-debian-11-r0 / docker.io/bitnami/redis-sentinel:7.2.1-debian-11-r0 because those critical CVEs in the images are not allowed in my environment.
Some Logs from the Pod
1.log
2.log
3.log
The text was updated successfully, but these errors were encountered: