don't release lock on child as it can hang
This commit is contained in:
parent
f3a9d2e0cd
commit
3492615c6a
@ -6888,7 +6888,6 @@ int redisFork(int purpose) {
|
||||
latencyAddSampleIfNeeded("fork-lock",(ustime()-startWriteLock)/1000);
|
||||
if ((childpid = fork()) == 0) {
|
||||
/* Child */
|
||||
aeReleaseForkLock();
|
||||
g_pserver->in_fork_child = purpose;
|
||||
setOOMScoreAdj(CONFIG_OOM_BGCHILD);
|
||||
setupChildSignalHandlers();
|
||||
|
Loading…
x
Reference in New Issue
Block a user