• Yossi Gottlieb's avatar
    Improve setup operations order after fork. (#9365) · 1221f7cd
    Yossi Gottlieb authored
    The order of setting things up follows some reasoning: Setup signal
    handlers first because a signal could fire at any time. Adjust OOM score
    before everything else to assist the OOM killer if memory resources are
    low.
    
    The trigger for this is a valgrind test failure which resulted with the
    child catching a SIGUSR1 before initializing the handler.
    1221f7cd
server.c 238 KB