Opened 9 years ago
Last modified 9 years ago
#1092 closed defect
rasmgr doesn't shutdown rasserver properly — at Version 2
Reported by: | Dimitar Misev | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 9.2 |
Component: | rasmgr | Version: | development |
Keywords: | Cc: | Peter Baumann, Alex Toader, George Merticariu | |
Complexity: | Medium |
Description (last modified by )
in source:rasmgr/rasmgr_localsrv.cc (killServer(serverName)) there is this code:
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.
Change History (2)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.