Comments (5)
@sechunOH Thank you for the contribution.
I believe @shawnallen85 can review it.
Please open a pr :)
from openwhisk-runtime-dotnet.
@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.
@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.
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.
@shawnallen85
Ok. I added that codes and opened a pr. (#29)
could you please review it?
from openwhisk-runtime-dotnet.
Related Issues (18)
- incorrect quick start guide HOT 1
- Is dotnet core based runtime , Beta or Production ready ? HOT 5
- The README needs to include the Apache 2 license badge at the top.
- readme update HOT 2
- Add async/await support HOT 8
- Raw requests to skip JObject conversion HOT 12
- improve cold start times HOT 24
- 150kb+ json request crashes whole deployment HOT 2
- Unknown error HOT 2
- Action cannot load Microsoft.Extensions.DependencyInjection.Abstraction HOT 8
- support init time parameters HOT 1
- Add example using asynchronous returns HOT 3
- Remove dependency on 3rd party JSON library from next version of runtime HOT 1
- Question: how to log to activations using dotnet and openwhisk? HOT 2
- kind 'dotnet:2.1' not in Set HOT 2
- What's the correct way to run tests against basic openwhisk and a new runtime? HOT 6
- Can't send messages to kafka HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwhisk-runtime-dotnet.