You cannot post messages because only members can post, and you are not currently a member.
|
Rabbit under small load
|
| |
Hello Dear Erlangers!
I have about 3000 erlang-processes which should send messages to AMQP-queue
of destination and receive replies from it.
The message rate at the moment is about 100 M/s
Average message size: 4 Kb
At the moment I have one locally registered gen_server that does all
communication with RabbitMQ. It consumes messages and routes them... more »
|
|
Observer processes tab does not make sense
|
| |
I'm looking at the output of i() and observer's processes tab and am
really struggling to make sense especially of the latter.
Most processes have zero Reds if I believe observer. Then a couple of
seconds later they don't. Or is it telling me Reds since I started looking
? i() output certainly makes more sense.... more »
|
|
Investigate an infinite loop on production servers
|
| |
Hello everyone,
I'm having a bit of an issue with my production servers.
At some point, it seems to enter into an infinite loop that I can't find, or reproduce by myself on the tests servers.
The bug appear completely random, 1 hour, or 10 hour after restarting the Erlang node.
The loop will eat up all my server's memory in no time, and freeze completely the Erlang node without crashing it. (most of the time)... more »
|
|
Why does an idle erlang process (couchdb, to be precise) call epoll_wait so often?
|
| |
This is strace output from a totally idle couchdb process:
[pid 18350] 17:40:15.086577 epoll_wait(3, {}, 256, 0) = 0
[pid 18350] 17:40:15.086610 epoll_wait(3, {}, 256, 0) = 0
[pid 18350] 17:40:15.086643 epoll_wait(3, {}, 256, 0) = 0
[pid 18350] 17:40:15.086675 epoll_wait(3, {}, 256, 0) = 0
[pid 18350] 17:40:15.086736 epoll_wait(3, {}, 256, 0) = 0... more »
|
|
R14B04 and OpenSSL 1.0.1c
|
| |
Hello,
I recently compiled otp_src_R14B04 with OpenSSL version 1.0.1c.
It is detected ok, but when I try to start crypto app I get the follwing
error:
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:0] [kernel-poll:false]
Eshell V5.8.5 (abort with ^G)
1> crypto:start().... more »
|
|
nif driver c code must be reentrant?
|
| |
I believe there is no API nor technical mean to make NIFs reentrant currently. Hence you should refrain from making NIFs which can run for a long time. But if you want to make NIFs more friendly to the scheduler, you can use erlang:bump_reductions/1 from Erlang wrapper of a NIF call. ...___________________________ ____________________... more »
|
|
Mnesia - Check for a value in either of the keys in the table
|
| |
Hi,
I have a mnesia table "users" created with the following record
-record(users,{username,nickna me,age})
I have a name now to input...I want to check whether name is present in
"username" or "nickname"....If someone can suggest me a way, i will really
happy...
Thanks...
|
|
Embed Erlang VM into an OS/X XPC Service
|
| |
I am interested in developing a OS/X XPC Service that has a erlang vm
running in it.
The main OS/X program would send XPC messages to the ERL XPC Service. The
service would then process that message and do the appropriate thing.
Is there a way that I can build erlang as a shared library that I can call... more »
|
|
supervisor with ets stored children: gen_tracker
|
| |
Hi, everyone.
gen_tracker is a library that implements subset of supervisor
functionality with storing children and their metadata in public named
ets table.
[link]
MIT license.
I've been using this code for a while in erlyvideo and I've extracted
it as a library.... more »
|
|
|