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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>

 

Attached Files

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

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    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.16.
    Corresponding source code