Giter Club home page Giter Club logo

Comments (5)

style95 avatar style95 commented on May 30, 2024

@sechunOH Thank you for the contribution.
I believe @shawnallen85 can review it.
Please open a pr :)

from openwhisk-runtime-dotnet.

shawnallen85 avatar shawnallen85 commented on May 30, 2024

@sechunOH Can you provide the stress test you had performed and I can review the code and duplicate the issue and validate the resolution? Thanks!!

from openwhisk-runtime-dotnet.

sechunOH avatar sechunOH commented on May 30, 2024

@shawnallen85
I found history and the error occurred not only on stress test.
I created cron trigger(using alarm package) consisting of two or more same actions with option "*/1 * * * *"
Then I was waiting a few hours or a day until "running result: not ok" appears. (in invoker log)

< Action info >

Action is a dotnet sample action.

action download: https://github.com/sechunOH/sample-actions/blob/master/helloDotNet.zip
main: Apache.OpenWhisk.Example.Dotnet::Apache.OpenWhisk.Example.Dotnet.Hello::Main


< Test environment spec >

4core 4G mem VM 2EA : 2-controller deployed per vm
4core 4G mem VM 3EA : 1-invoker deployed per vm

Controller heap : 2G
Invoker heap : 2G, user-memory : 2048

no prewarmed container provided for dotnet action

First, if you duplicate this issue, I will open a pr.
if you need more informations, please reply. thanks!

from openwhisk-runtime-dotnet.

shawnallen85 avatar shawnallen85 commented on May 30, 2024

Alrighty -- I finally got to reviewing this. The only change I believe that needs to happen is in Startup.cs for both 2.2 and 3.0.

We need to check if run is null before returning the ok.
~ line 43
if (httpContext.Request.Path.Equals(initPath))
{
run = await init.HandleRequest(httpContext);
if(run != null)
await httpContext.Response.WriteResponse(200, "OK");
return;
}

from openwhisk-runtime-dotnet.

sechunOH avatar sechunOH commented on May 30, 2024

@shawnallen85
Ok. I added that codes and opened a pr. (#29)
could you please review it?

from openwhisk-runtime-dotnet.

Related Issues (18)

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.