805 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
79
views
Cannot run the custom built erlang container
Here is the Dockerfile
# ===== Stage 1: BUILD OTP 27.2 =====
FROM debian:bookworm AS build
RUN apt-get update && apt-get install -y \
build-essential \
autoconf \
automake \
...
2
votes
0
answers
47
views
What's the difference between trace and seq_trace?
OTP 27 offers two tracing modules: trace and seq_trace. They both seem to do the same thing, except the other one is called "sequential". What does this mean and what is the difference ...
2
votes
0
answers
54
views
Is it possible to connect two erlang nodes to run a distributed erlang system over LoRa?
I'm wondering I can use devices with LoRa antennas to run a distributed erlang cluster. Some of these devices would have no direct internet connection. Are there limitations to the protocol that would ...
1
vote
0
answers
75
views
I need to abort a mnesia transaction after a certain time
I need to abort a mnesia transaction for a certain time. I have tried everything and it doesn't work.
If I kill the process, some remote locks remain hung around though their pid is died.
func1(...
0
votes
1
answer
76
views
Install Erlang in docker image on Windows Server 2019 build machine
I'm trying to install RabbitMQ in my custom docker image. For RabbitMQ I need Erlang and I install it in the docker file like this:
RUN powershell -Command Start-Process -Wait -FilePath C:\...
1
vote
0
answers
28
views
Issue with ei_connect_xinit and Alternative Approaches for Establishing C-Node Connection
I’m facing an issue while connecting a C-node to an Erlang node using the ei library. The C-node is created successfully using the open_port/2 function, and I am able to spawn the C-node process. ...
1
vote
0
answers
60
views
When running rabbitmqctl in RabbitMQ version 4.0, an error of function "undef" is reported
When running RabbitMQ version 4.0, I encountered a problem where a function was undefined.
[test@rabbitmq4-2:~/workspace/rabbitmq-server-4.0/deps/rabbit] ((v4.0.0))$ rabbitmqctl status
Status of node ...
2
votes
0
answers
64
views
SNMP traps not processed by custom Erlang snmpm_user behaviour
SETUP: I process SNMP traps using Erlang snmpm module. I have implemented the behavior snmpm_user and called it as snmpm_user1, so that the SNMP traps are processed by snmpm_user1 rather than by the ...
0
votes
1
answer
109
views
Erlang/OTP node connectivity issues running under WSL2 and using "longnames" for the `name_domain`
Trying to RPC to another node from a script, everything works when using "shortnames" but fails when using "longnames".
Where my local machine name is "Pandora", and ...
2
votes
0
answers
90
views
Rabbitmq memory usage at the startup
I'm trying to figure out how to configure RabbitMQ + Erlang to have the smallest memory footprint possible at startup. Using RabbitMQ 3.13.6 and Erlang/OTP 26 (14.2.5.2) with Ubuntu i get about 50 Mb ...
1
vote
1
answer
50
views
Having trouble interpreting this Eshell crash report
I'm trying to use the ecpool library to pool Mongo db connections.
My supervisor's init looks like what I added in the first code snippet.
mongo_client is a module that I use to setup the connection ...
1
vote
1
answer
84
views
Why doesn't enqueueing messages in Erlang require a lock?
The Erlang runtime does attempt to take the lock of another running process if it is available, but it seems perfectly able to manipulate parts of the recieving process without taking the process's ...
2
votes
1
answer
59
views
How to convert gb_trees to json?
Is there an efficient way to convert gb_trees to json in erlang or maps? Here is a truncated example:
{46,
{{25,56},
{fld,{25,56},0},
{{25,30},
...
1
vote
1
answer
87
views
Printing all ets table values
I'm ongoing of learning erlang. The code sniped from Programming Erlang by Joe Armstrong
-module(my_bank).
-behaviour(gen_server).
-export([start/0]).
-export([init/1, handle_call/3, handle_cast/2, ...
1
vote
1
answer
520
views
Erlang/OTP with elixir fails
I am trying to set elixir up as a back-end for React, and I have done a bunch of stuff to get it running. I cannot seem to make it work.
"10:09:43.125 [error] beam/beam_load.c(206): Error loading ...