Opened 9 years ago

Closed 9 years ago

#1295 closed patch (fixed)

IZ3295: Too many users in a group causes GE commands to fail

Reported by: tk Owned by: Dave Love <d.love@…>
Priority: normal Milestone:
Component: sge Version: current
Severity: Keywords: clients
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3295]

        Issue #:      3295             Platform:     All       Reporter: tk (tk)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      current      CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    PATCH
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     Too many users in a group causes GE commands to fail
   Status whiteboard:
      Attachments:
                      Date/filename:                                   Description:             Submitted by:
                      Wed Nov 24 05:47:00 -0800 2010: ge_biggroup.diff Propsed fix (text/plain) tk

     Issue 3295 blocks:
   Votes for issue 3295:


   Opened: Wed Nov 24 05:46:00 -0800 2010 
------------------------


Issue no 2249 fixed this problem by bumping up the getgrgid_r buffer to 20480.

This is not enough however when dealing with quite large primary groups.

Suggested patch uses a dynamic buffer when ERANGE is spotted, increasing the buffer with 1024 on each iteration.

   ------- Additional comments from tk Wed Nov 24 05:47:38 -0800 2010 -------
Created an attachment (id=205)
Propsed fix

Change History (1)

comment:1 Changed 9 years ago by Dave Love <d.love@…>

  • Owner set to Dave Love <d.love@…>
  • Resolution set to fixed
  • Status changed from new to closed

In [3628/sge]:

Fix #1295 (IZ3295): dynamically size getgrgid_r buffer

Note: See TracTickets for help on using tickets.