Skip to content
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

Elixir code server bug? #644

Closed
liveforeverx opened this issue Nov 14, 2012 · 4 comments
Closed

Elixir code server bug? #644

liveforeverx opened this issue Nov 14, 2012 · 4 comments

Comments

@liveforeverx
Copy link
Contributor

I have tried with hackney client (10 parallel processes) to create something like 4500 identities in Azure Table Storage (Homework for university). After ca. 1000 calls to a server i have get 1000 or more ERROR REPORTs:

=ERROR REPORT==== 15-Nov-2012::00:03:17 ===
File operation error: emfile. Target: /home/dima/personal/ccl4/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:17 ===
File operation error: emfile. Target: /home/dima/personal/tetrapak/bin/../ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

I have pushed a code there: https://github.com/liveforeverx/ccl4

So i have started it from erlang vm:

hackney_dev:start(),
'Elixir-AzureAction':user_to_table().

Later I can try to reproduce it with a hackney client to public service with less code.

Tested with a one client, that have wait a one second between each call, in ca ~1020 call to a server there was the same error.

@liveforeverx
Copy link
Contributor Author

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /home/dima/personal/elixir/lib//mix/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /home/dima/personal/elixir/lib//iex/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /home/dima/personal/elixir/lib//ex_unit/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /home/dima/personal/elixir/lib//elixir/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /home/dima/personal/elixir/lib//eex/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/xmerl-1.3/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/wx-0.99.1/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/webtool-0.8.9.1/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/typer-0.9.3/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/tv-2.1.4.8/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/tools-2.6.6.6/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/toolbar-1.4.2.1/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/tinymq/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/tiny_pq/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/test_server-3.5/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/syntax_tools-1.6.7.2/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

=ERROR REPORT==== 15-Nov-2012::00:03:27 ===
File operation error: emfile. Target: /usr/local/lib/erlang/lib/ssl-5.0/ebin/Elixir-Exception.beam. Function: get_file. Process: code_server.

@yrashk
Copy link
Contributor

yrashk commented Nov 15, 2012

     [EMFILE]           The process has already reached its limit for open file descriptors.

@yrashk
Copy link
Contributor

yrashk commented Nov 15, 2012

@liveforeverx
Copy link
Contributor Author

Thanks...I have thougth, that it is a my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants