#1092 closed defect (fixed)

rasmgr doesn't shutdown rasserver properly

Reported by: dmisev Owned by: dmisev
Priority: major Milestone: 9.2
Component: rasmgr Version: development
Keywords: Cc: pbaumann, atoader, gmerticariu
Complexity: Medium

Description (last modified by dmisev)

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 (3)

comment:1 Changed 18 months ago by dmisev

  • Description modified (diff)

comment:2 Changed 18 months ago by dmisev

  • Description modified (diff)

comment:3 Changed 18 months ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.