Comments (2)
Could you please retest this with the latest pull as I believe it could have resolved this issue?
from erlexec.
It is much better than before. I used to get a large number of zombies, but now it leaves a lesser number (about 10-15 with a run of 1000). A great improvement is that now I get a timeout, before it would just continue.
This is what I get:
3> [ exec:run("echo ho",[stdout]) || T <- lists:seq(1,1) ].
[{ok,<0.277.0>,13482}]
4> [ exec:run("echo ho",[stdout]) || T <- lists:seq(1,10) ].
[{ok,<0.279.0>,13483},
{ok,<0.280.0>,13484},
{ok,<0.281.0>,13485},
{ok,<0.282.0>,13486},
{ok,<0.283.0>,13487},
{ok,<0.284.0>,13488},
{ok,<0.285.0>,13489},
{ok,<0.286.0>,13490},
{ok,<0.287.0>,13491},
{ok,<0.288.0>,13492}]
5> [ exec:run("echo ho",[stdout]) || T <- lists:seq(1,1000) ].
** exception exit: {timeout,{gen_server,call,
[exec,{port,{{run,"echo ho",[stdout]},nolink}},30000]}}
in function gen_server:call/3 (gen_server.erl, line 190)
in call from exec:do_run/2 (src/exec.erl, line 685)
from htop (notice the Z) :
...
3579 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13586 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13587 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13590 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13592 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13593 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13596 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13599 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13600 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13601 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13603 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13604 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13605 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13606 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13608 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13609 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
13610 erlanger 20 0 0 0 0 Z 0.0 0.0 0:00.00 bash
...
from erlexec.
Related Issues (20)
- custom kill command is ignored when cleaning up on beam termination HOT 8
- Application exec_app killed HOT 7
- Disable erl_interface for Erlang 23 HOT 1
- :env option in 1.18.8 HOT 2
- Establishing/Supervising Communications With a Long-Running, Data Streaming Python Process HOT 3
- New release? Resolve port hanging HOT 2
- Exit codes appear to be x256 too large HOT 1
- erlexec on linux slows down when nofile limit is a large value HOT 2
- Mac OS error: use of undeclared identifier 'pipe2' HOT 2
- Could not compile dependency :erlexec HOT 15
- I am running into issues with elixir release HOT 3
- When native stdin process buffer is full, erlexec does not retry HOT 11
- PTY dynamic option test failing HOT 6
- Does 2.0.0 contain a breaking change? HOT 1
- Compile failure on OSX M1 mac HOT 4
- Passing command arguments as list HOT 1
- USE_POLL is not set HOT 1
- Failed build on FreeBSD HOT 9
- Compile fails on arm HOT 4
- Any command terminates with exit status 132 HOT 8
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 erlexec.