[wpkg-users] [Bug 222] New: Terminate timed out processes

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Sat Jul 9 03:36:28 CEST 2011


http://bugzilla.wpkg.org/show_bug.cgi?id=222

           Summary: Terminate timed out processes
           Product: WPKG
           Version: 1.1.3-RCx
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at wpkg.org
        ReportedBy: pendl2megabit at yahoo.de
         QAContact: wpkg-users at lists.wpkg.org


If a command has a timeout specified, WPKG will continue with the next package
and leave the process running, if the timeout is reached.

This will result in the WPKG client running for the overall timeout specified.

Example:

Command timeout ... 5 minutes
client timeout .... 1 hour

WPKG continues after command timeout, but the client will run till its timeout
is reached.

I have two proposals:

1) terminate the timed out process before returning from the exec function

2) add the process object to a global list and check the status of each
   list item before the end of WPKG, if the process is still running
   terminate it now

Both solutions will make sure, that the client will only reach its timeout if
necessary.

---
Stefan

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list