Author: arkurth
Date: Fri Aug 27 20:18:30 2010
New Revision: 990250
URL: http://svn.apache.org/viewvc?rev=990250&view=rev
Log:
Made minor change to vcld::REAPER. It displays the reservation ID of the dead
process it finds. This isn't set if the dead process is a block reservation
process. Uninitialized concatenation warnings were displayed as a result.
Changed the reservation ID variable to "<undefined>" if the reservation ID is
not defined.
Modified:
incubator/vcl/trunk/managementnode/bin/vcld
Modified: incubator/vcl/trunk/managementnode/bin/vcld
URL:
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/bin/vcld?rev=990250&r1=990249&r2=990250&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/bin/vcld (original)
+++ incubator/vcl/trunk/managementnode/bin/vcld Fri Aug 27 20:18:30 2010
@@ -741,8 +741,8 @@ sub REAPER {
# Check if the child PID hash contains the pid of the process
which just died
if (exists $child_pids{$dead_pid}) {
- my $dead_reservation_id = $child_pids{$dead_pid};
- notify($ERRORS{'DEBUG'}, 0, "VCL process exited for
reservation $dead_reservation_id, signal: $signal");
+ my $dead_reservation_id = $child_pids{$dead_pid} ||
"<unknown>";
+ notify($ERRORS{'DEBUG'}, 0, "VCL process exited for
reservation $dead_reservation_id, PID: $dead_pid, signal: $signal");
# Child which died was a VCL state process since its
pid is in the hash
$child_count--;