Max Lapshin-2
Why Beam.smp crashes when memory is over? –
Why does Erlang crashes, when physical memory is over?
Error is:
beam.smp(5454,0xb01aa000) malloc: *** mmap(size=41943040) failed (error cod...
Loading...
Jayson Vantuyl-2
From within Erlang, I don't believe so.
From outside, maybe, with the right debugger.
In general, I believe the heartbeat functionality (i...
Loading...
Max Lapshin-2
On Sun, Nov 8, 2009 at 11:57 PM, Jayson Vantuyl <kagato@...> wrote:
> From within Erlang, I don't believe so.
And what are the proble...
Loading...
Jayson Vantuyl-2
Erlang needs to allocate memory in any number of situations. For
example, assume that Erlang tried to tell your code. Should it
generate a...
Loading...
Max Lapshin-2
I understand your arguments. Yet, It would be great to have
instrument, that tells supervisor, that child
is eating too much memory. Look, if we...
Loading...
Max Lapshin-2
Look, I have a program, that reads MPEG TS stream from network. There
is some bug in my code
and my ts_lander crashes beam. How is it possible t...
Loading...
Zoltan Lajos Kis
Why don't you create a process, which regularly checks on the memory usage
of those processes, and kills them when they begin to eat up too much
...
Loading...
Max Lapshin-2
Yes, there are techniques to write watchdogs, but my question was: is
it possible to prevent Erlang VM from crash?
___________________________...
Loading...
Robert Virding
No.
There is a major difference between handling OOM in an OS and in the BEAM.
In an OS it usually at a per process level that memory runs out...
Loading...
Kenneth Lundin
On Mon, Nov 9, 2009 at 9:16 AM, Robert Virding <rvirding@...> wrote:
> No.
>
> There is a major difference between handling OOM ...
Loading...
Richard O'Keefe
On Nov 9, 2009, at 10:53 PM, Kenneth Lundin wrote:
> What we could do is to make it easier for the user to prevent OOM
> situations and ...
Loading...
Ulf Wiger-3
Richard O'Keefe wrote:
>> One way would be to let the user set a memory quota on a process with
>> options at spawn time. When the p...
Loading...
Richard O'Keefe
On Nov 11, 2009, at 1:10 AM, Ulf Wiger wrote:
>
> In short, I can see a need for such limits, and would like to include
> a reductio...
Loading...
Ulf Wiger-3
Richard O'Keefe wrote:
>
> I am not denying the *need* for limits. (Anyone else remember "engines"
> in Scheme?) I've h...
Loading...
Richard O'Keefe
On Nov 11, 2009, at 11:26 AM, Ulf Wiger wrote:
> Richard O'Keefe wrote:
>
>> I am not denying the *need* for limits. (Anyone e...
Loading...
Ulf Wiger-3
Richard O'Keefe wrote:
>
> On Nov 11, 2009, at 11:26 AM, Ulf Wiger wrote:
>
>> Richard O'Keefe wrote:
>>
>>>...
Loading...
Michael McDaniel-4
On Wed, Nov 11, 2009 at 11:38:47AM +0100, Ulf Wiger wrote:
> Richard O'Keefe wrote:
>>
>> On Nov 11, 2009, at 11:26 AM, Ulf Wige...
Loading...
Angel Alvarez
3 customers!!
/Angel
El Jueves, 12 de Noviembre de 2009 00:56:14 Michael McDaniel escribió:
> On Wed, Nov 11, 2009 at 11:38:47AM +01...
Loading...
ERLANG-3
5 customers (2 for my team)
Y.
Le 12 nov. 09 à 10:41, Angel Alvarez a écrit :
>
> 3 customers!!
>
>
> /Angel
>
&g...
Loading...
Joe Armstrong-2
This is a very interesting problem. if processes have quotas, then how
could you set the
quota value?
A perfectly correct process might just...
Loading...
Kenneth Lundin
On Tue, Nov 10, 2009 at 1:45 PM, Joe Armstrong <erlang@...> wrote:
> This is a very interesting problem. if processes have quotas, then ...
Loading...
Richard O'Keefe
On Nov 11, 2009, at 2:13 AM, Kenneth Lundin wrote:
> If you for example have processes representing subscribers och
> half-calls or mobi...
Loading...
Richard O'Keefe
On Nov 11, 2009, at 1:45 AM, Joe Armstrong wrote:
> A perfectly correct process might just have a very deep stack, just
> once in it...
Loading...
Jayson Vantuyl-2
Dropping messages, suspending processes, and crashing processes is
just a bad idea.
Erlang's messaging is not "left-guarded" in th...
Loading...
Ulf Wiger-3
Joe Armstrong wrote:
>
> Just killing processes when they have done nothing wrong is not a good idea.
Well, it's optional, of course. ...
Loading...
Angel Alvarez
El Martes, 10 de Noviembre de 2009 05:36:44 Richard O'Keefe escribió:
>
> On Nov 9, 2009, at 10:53 PM, Kenneth Lundin wrote:
> > W...
Loading...
Tony Rogvall-2
Interesting discussion!
I have been working on a resource system for Erlang for nearly two
years now.
I have a working (tm) prototype where...
Loading...
Chandru-4
2009/11/9 Tony Rogvall <tony@...>
> Interesting discussion!
>
> I have been working on a resource system for Erlang for nearly...
Loading...
Tony Rogvall-2
Not yet.
What kind of flavor do you have in mind?
One proposal is to let sender crash when receiver in box is full.
I would like to test ...
Loading...
Ulf Wiger-3
Tony Rogvall wrote:
> Not yet.
>
> What kind of flavor do you have in mind?
>
> One proposal is to let sender crash when rec...
Loading...
John-Olof Bauner (KI/EAB)
RE: Why Beam.smp crashes when memory is over? –
> Ulf Wiger wrote:
>> Tony Rogvall wrote:
>>
>> What kind of flavor do you have in mind?
>>
>> One proposa...
Loading...
Ulf Wiger-3
Tony Rogvall wrote:
> Not yet.
>
> What kind of flavor do you have in mind?
>
> One proposal is to let sender crash when rec...
Loading...
Chandru-4
2009/11/10 Tony Rogvall <tony@...>
> Not yet.
>
> What kind of flavor do you have in mind?
>
> One proposal is to let ...
Loading...
Angel Alvarez
Well please let me say something
I'm plain new but some things are pretty clear for me.
The beauty of the erlang concept is "let it...
Loading...
Tony Rogvall-2
It is still the same "let it crash" concept using the resource limit
system I am designing.
But you can limit the crash in a more ...
Loading...
Angel Alvarez
Well still there are many issues with this new approach
Where are the maibox of processes located?
With a heap pre process...
Couldnt y...
Loading...
Tony Rogvall-2
Hi!
On 9 nov 2009, at 14.54, Angel Alvarez wrote:
> Well still there are many issues with this new approach
>
Yes! But it does not ...
Loading...
Angel Alvarez
El Lunes, 9 de Noviembre de 2009 Tony Rogvall escribió:
> Hi!
>
> On 9 nov 2009, at 14.54, Angel Alvarez wrote:
>
> > W...
Loading...
Max Lapshin-2
Ok, so You advice is just to look after memory usage of "dangereous" processes?
_____________________________________________________...
Loading...
Robert Virding
That would be a start, it very much depends on your app. I am not really the
right person to ask about details on chasing the culprit, but I do r...
Loading...
Jayson Vantuyl-2
The problem is that there is no way for the VM to really know which
process is leaking. The Linux OOM-killer has gone through a bunch of
re...
Loading...
Jayson Vantuyl-2
You could run two Erlang VMs (thus, keeping the HTTP connection and
its state separate). Then the crasher wouldn't take the other one
down....
Loading...
Dmitry Belyaev
What if you'll have different nodes for different tasks instead of
processes?
Start one node to read stream and one (or many) other node to pr...
Loading...
Tony Arcieri
On Sun, Nov 8, 2009 at 9:56 PM, Max Lapshin <max.lapshin@...> wrote:
> I understand your arguments. Yet, It would be great to have
&g...
Loading...
Andrew Thompson-2
On Sun, Nov 08, 2009 at 10:43:25PM -0700, Tony Arcieri wrote:
> I'm not really sure if we're speaking about the same thing then. Erlang is
&...
Loading...
Thomas Lindgren
----- Original Message ----
> From: Andrew Thompson <andrew@...>
> ... it'd be nice to have an
> alternative in cases wh...
Loading...
Decker, Nils
AW: Why Beam.smp crashes when memory is over? –
Hello,
I had a few occasions during developing that a runaway process caused my machine to swap and gind to a halt. (i should have used ulimit ...
Loading...
Jayson Vantuyl-2
This would be a very useful tunable.
On Nov 9, 2009, at 2:31 AM, Decker, Nils wrote:
> Hello,
>
> I had a few occasions during de...
Loading...
Tony Arcieri
On Sun, Nov 8, 2009 at 1:57 PM, Jayson Vantuyl <kagato@...> wrote:
> In general, I believe the heartbeat functionality (i.e. erl -hear...