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

 
 

bug #57514: sem creates unnecessary processes

Submitted by:  Pierre-Louis Bonicoli <pilou>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.7