Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Potential 'read error on connection' problem due to pconnect() #41

Description

@canyousayyes

Hello,

I found that our server sometimes throw the exception read error on connection.
We are using with phpredis.

The issue also happens in the vanilla phpredis and they have a long issue discussing that.
The owner suggests that changing the connection from pconnect to connect could help.
Reference: phpredis/phpredis#70 (comment)

Checking the source code I found that this library is using pconnect. Can this be configurable?
(e.g. accept parameters on choosing between pconnect or connect)

Thanks you,
Gene

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions