Giter Site home page Giter Site logo

Comments (10)

ni-sujain avatar ni-sujain commented on August 25, 2024

@NeilChien Please try with v1.0.0.4 pre-release and let us know if this issue exists. We recently fixed some bugs.

from grpc-labview.

NeilChien avatar NeilChien commented on August 25, 2024

Hi @ni-sujain thanks for the update.
I will go and check with the v1.0.0.4 version whether have this issue. And will keep updating once I get progress.

from grpc-labview.

NeilChien avatar NeilChien commented on August 25, 2024

Hi @ni-sujain,
I believe the necessary thing I have to do is only to install the 1.0.0.4 version right?
Unfortunately, the opened file amount still increase after I updated gRPC version to 1.0.0.4 version. The problem still there.

Neil

from grpc-labview.

NeilChien avatar NeilChien commented on August 25, 2024

Sorry, I forgot to replace the .so within RT, I am going to have another try.

from grpc-labview.

NeilChien avatar NeilChien commented on August 25, 2024

Hi @ni-sujain
I confirmed that 1.0.0.4 version still exists this issue even if I replace the .so within RT.
Here are the steps :

  1. Update to 1.0.0.4
  2. Replace the .so within RT
  3. Open the project and resolve the broken VIs with "Relink to SubVI".
  4. Run the Test

from grpc-labview.

dchakrab-NI avatar dchakrab-NI commented on August 25, 2024

@NeilChien
When we do Create Client, some anon_inode:[eventpoll] and anon_inode:[eventfd] files are created and when we do Client Unary Call some sockets are created. On doing Start Server also some similar files are created. The files created during client create and unary call are cleaned up when we call Client Destroy. Similarly, when we do Stop Server the files created during Start Server are destroyed.
If Client Destroy happens first then the client related files are destroyed first and the server files are destroyed afterwards when Server Stop runs. When there is no delay between Destroy Client and Stop Server, sometimes the Destroy Client happens after the Stop Server. In this case some of the files are not cleaned up properly. These files add up over subsequent Server starts and stops.

One way to ensure that Client Destroy happens before Stop Server would be to pass the error out of Destroy Client to Stop Server. In this case there will be no leakage even if there is no delay in between Server Destroy and Stop Server-
image

from grpc-labview.

NeilChien avatar NeilChien commented on August 25, 2024

Hi @dchakrab-NI,
So, how do we ensure this if the client comes from another where?
You know, in the typical use case, the gRPC client would be created from other systems.
Or do we have a method to check the exist connect from clients?

Neil

from grpc-labview.

nischalks avatar nischalks commented on August 25, 2024

Ruhao Gao spoke to Debarka Chakrabarti today. The conclusion is although the test project can reproduce the file leakage issue, it is not a recommended way to coding like this. In our ADAS real use case, it is not exactly the same as the test project. In the meanwhile, based on the recent tests, we don't see the leakages in our real cases any more.

Thus, I don't think we need any fixes and we will keep testing next week to see if everything is good. If no further leakage is found next week, you can close the bug.

from grpc-labview.

nischalks avatar nischalks commented on August 25, 2024

Ruhao confirmed that there are no further file leakages, @NeilChien can you please close this bug?

from grpc-labview.

NeilChien avatar NeilChien commented on August 25, 2024

Thank you for all the support.

from grpc-labview.

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.