RabbitMQ (beam.smp) and high CPU/memory load issue

Finally I found the solution. These posts helped to figure this out. RabbitMQ on EC2 Consuming Tons of CPU and https://serverfault.com/questions/337982/how-do-i-restart-rabbitmq-after-switching-machines What happened was rabbitmq was holding on to all the results that were never freed to the point it became overloaded. I cleared all the stale data in /var/lib/rabbitmq/mnesia/rabbit/, restarted rabbit and it works … Read more

What is the best way to learn Erlang?

I’m a month-or-so into learning and the guides I’m enjoying most are: The Erlang Site’s Getting Started with Erlang Guide Joe Armstrong’s Book Software for a Concurrent World (thoroughly recommended) And I have on order: O’Reilly’s Erlang Programming which has had some really positive reviews and sounds like a good companion to Joe Armstrong’s book … Read more

How does akka compare to Erlang? [closed]

Disclaimer: I am the PO for Akka Erlang does copy-on-send – Akka uses shared memory (immutable objects) for in-VM sends Erlang does per-process GC – Akka uses JVM GCs Erlang has OTP – Akka integrates with the entire Java ecosystem (Apache Camel, JAX-RS, etc etc) Erlang does the process scheduling for you – Akka allows … Read more

What is Erlang written in?

Erlang itself is written in Erlang. Sounds strange? Yes, because it is only partially true. OK look at it in more detail: Erlang preprocessor is written in Erlang. Erlang parser is written in Erlang. Erlang compiler to BEAM (byte-code VM) is written in Erlang. Erlang compiler to HiPE (native VM extension) is written in Erlang. … Read more

Where is Erlang used and why? [closed]

From Programming Erlang: alt text http://bks8.books.google.com/books?id=Qr_WuvfTSpEC&printsec=frontcover&img=1&zoom=5&sig=ACfU3U2F4YY4KqO0vCuZ4WEZjdE2yFFvvg Many companies are using Erlang in their production systems: • Amazon uses Erlang to implement SimpleDB, providing database services as a part of the Amazon Elastic Compute Cloud (EC2). • Yahoo! uses it in its social bookmarking service, Delicious, which has more than 5 million users and 150 million … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)