• [6.11.5] allocated PTY's not unallocated on close


    capino
    • Solved Minor

    When using a webbrowser to open a docker container console, multiple pty's are allocated, but not all are unallocated on close.
    This can lead to not being able to open a pty when the amount of allocated pty's gets to high with the following message:

    OCI runtime exec failed: exec failed: unable to start container process: open /dev/ptmx: no space left on device: unknown

     

    A reboot is needed to free up the allocated PTY's

    A workaround is to increase the max pty's by running: 

    sysctl -w kernel.pty.max=8192


    I have tested this in FireFox, Brave, Safari and Chrome.

    • Thanks 1



    User Feedback

    Recommended Comments

    4 hours ago, carthis said:

    +1

    Are you still seeing the problem on 6.12.2 ?

    Because nothing will be changed on 6.11.x

    Link to comment

     

    I did some quick testing on 6.12.2 and it seems to be fixed.

    When opening a docker console only one pts session is allocated. This allocation seems to close when exiting the session by running the exit command on the first try (In 6.11.x I sometimes had to run the exit command twice). The pts allocation is also closed when closing the browser tab without exiting the session by running the exit command. 

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.