Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

fopen:Too many open files #657

Closed
Closed
@warkior

Description

@warkior

Hi there,

We've been using this tool for a little while now on our site and it generally works great. However recently it started breaking after a random period of time. It runs well for a while, and then suddenly we start getting exceptions such as Illuminate\Broadcasting\BroadcastException: Failed to connect to Pusher

We are running an Ubuntu server via Forge with:
PHP: 7.3
laravel/framework: 6.20
pusher/pusher-php-server: v4.1.5
beyondcode/laravel-websockets: 1.9.0

I ran a debug log for a while on the actual websockets process and found this in the log...

exception `RuntimeException` thrown: `Unable to read from stream: stream_get_contents(): SSL operation failed with code 5. OpenSSL Error messages:
error:02001018:system library:fopen:Too many open files
error:20074002:BIO routines:file_ctrl:system lib
error:140DC002:SSL routines:use_certificate_chain_file:system lib`.

Can someone tell me what this means? Is the websocket server leaving connections open and over time it is just filling up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions