-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignoring SIGPIPE signal #13
Comments
Hey @MislavSag, I've not seen this! Do you have a simple version of the api and the dockerfile you've used? |
Or related: futureverse/future#380 It could be that your Valve app is trying to use more threads than is available by your digitial ocean machine
|
Here is the dockerfile:
I think the endpoints doesn't metter that much. One of the endpoint:
|
I have used Pro DO with 2 containers (24$ a month) and set 5 workers in as option in valve command |
What type of container are you using? Your configuration requires a minimum of 11 threads. 5 valve works, 5 possible plumber workers, and 1 pruning thread. That does not take into account any additional threads that might be spawned by your R processes. I'm not sure how you can check the number of threads available to you per container on DO |
Do I have to set workers to 11 ? |
No, what I'm saying is that The maximum number of threads used by valve is |
Hi,
Thanks for this package, it helps a lot of people who are not experienced in cloud services.
I have deployed my API to Digital Ocean following your instructions for docker image building and deployment on DO.
I have tested the app and recognized that sometimes I get an error:
It seems there is a problem with outputting results.
I am not sure if this error is connected to the valve package or if the problem is somewhere else. I hope you know better.
The endpoint returns this error only on some occasions. Most of time I get output as expected but sometimes I get above error (for the same parameters and same code).
The text was updated successfully, but these errors were encountered: