rasmgr doesn't shutdown rasserver properly
|Reported by:||dmisev||Owned by:||dmisev|
|Keywords:||Cc:||pbaumann, atoader, gmerticariu|
Description (last modified by dmisev)
LDEBUG << now() << " killing rasdaman server " << iter->getName() << ", pid " << iter->getPID() << "..."; // try graceful termination first int killResult = kill(iter->getPID(),SIGTERM); killResult = kill(iter->getPID(),SIGKILL);
This is not correct, and rasserver never has the chance for a proper shutdown first, we need some wait time (I think 30ms is more than enough) before issuing the final SIGKILL.