Giter Site home page Giter Site logo

Comments (3)

JerryMSunny avatar JerryMSunny commented on June 26, 2024

Even I'm having this connection issue, basically in my application there is one running php process that connects to the postgres database in turn postgres database perform an insert or an update to the redis through fdw on every request given by the php process. And it will work for some odd 1000 connections after which postgres throws an exception "Failed to connect to Redis: ".
When I restart the php process or postgres server it starts to execute again normally for near to 1000 connections and run into having the same issue.
I started looking into the c code and found that there are three places where there is this error displayed and also found that it is in the function "redisBeginForeignModify" (out of these three places) that I'm getting this error(if it may help someone to trace it).
And I'm suspecting that this is due to the number of connections open by a single process and it is not releasing the temp file used to open the connection.
Am I on the right track and is there a way to safely disconnect the connections and release the temp file after every query? Let me know if any solution or where can I look for the issue to fix it.
Thanks in advance.

from redis_fdw.

adunstan avatar adunstan commented on June 26, 2024

It might leak connections. Please provide a self-contained test.

from redis_fdw.

mkgrgis avatar mkgrgis commented on June 26, 2024

Ping @kumarv-rohith ?

from redis_fdw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.