Project

General

Profile

« Previous | Next » 

Revision 9ea38a35

Added by Michael Newton almost 17 years ago

  • ID 9ea38a3513fcb09efac46180af99502eb49de1ed

waitpid on dying agents at reconfig (qa/296)

qa/296 fails with daemon PMDAs hanging round after a reconfigure (ie
kill -HUP to pmcd). It appears that they need to be wait()ed upon.
Prior to the addition of the condition || ap->ipcType == AGENT_DSO
to HarvestAgents in agent.c this condition was masked by other cleanup.
Previously, CleanupAgent did not waitpid() for AT_CONFIG. In addition,
there is no reason to sleep every time round the waitpid() loop, and in
many cases even once may be unnecessary

  • added
  • modified
  • copied
  • renamed
  • deleted