bugGNU Parallel - Bugs: bug #57514, sem creates unnecessary processes

 
 

bug #57514: sem creates unnecessary processes

Submitter:  Pierre-Louis Bonicoli <pilou>
Submitted:  Thu 02 Jan 2020 12:33:32 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 02 Jan 2020 12:33:32 AM UTC, original submission:  

sem command creates unnecessary processes: processes_available_by_system_limit is called by compute_number_of_processes but sem doesn't run jobs in parallel, hence there is no need to check that $self->user_requested_processes($opt::jobs) processes can be created.

A proposed patch is attached.

The test suite requires some executables which I wasn't able to find/install:

How to install them ?

Pierre-Louis Bonicoli <pilou>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #48156:  0001-sem-don-t-create-extraneous-processes.patch added by pilou (1KiB - text/x-patch - Proposed patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pilou (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-02 pilou Attached File- Added 0001-sem-don-t-create-extraneous-processes.patch, #48156

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code