TheNet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_andre has joined #ponylang
vaninwagen_ has quit [Ping timeout: 246 seconds]
vaninwagen_ has joined #ponylang
vaninwagen_ has quit [Ping timeout: 240 seconds]
vaninwagen_ has joined #ponylang
vaninwagen_ has quit [Ping timeout: 260 seconds]
nyarum has joined #ponylang
nyarum has quit [Remote host closed the connection]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 255 seconds]
Colinot has joined #ponylang
<Colinot>
Hey
<SeanTAllen>
hello Colinot
<Colinot>
How are you ?
<SeanTAllen>
Fine. And yourself?
<Colinot>
Good thank you
<Colinot>
I'm looking for someone willing to help me learn pony, i'm a real beginner. Could you help ?
endformationage has joined #ponylang
<SeanTAllen>
we are here to help as best as we can when you run into issues.
<SeanTAllen>
we are most able to help if, when you run into problems, you can provide a small sample of code that demonstrates your problem as well as an explanation of what larger goal you are trying to accomplish
<SeanTAllen>
there's also the mailing list as a means of getting assistance
TheNet has quit [Read error: Connection reset by peer]
ada[m] has quit [Ping timeout: 264 seconds]
mindB has quit [Ping timeout: 246 seconds]
dtz has quit [Ping timeout: 255 seconds]
M-hrjet has quit [Ping timeout: 276 seconds]
irx[m] has quit [Ping timeout: 255 seconds]
srenatus[m] has quit [Ping timeout: 255 seconds]
katafrakt[m] has quit [Ping timeout: 255 seconds]
TheNet has joined #ponylang
<endformationage>
What are the circumstances when an actor stops processing messages? Garbage collection?
TheLemonMan has left #ponylang [#ponylang]
<endformationage>
I am begining to think my problem stems from this. An actor of mine simply stops processing messages, and the CPU is at 100%. Messages are still being sent to this stalled actor after this occurs.
<endformationage>
I think before, my removal / addition of the json iso through this actor simply stalled or hastened gc.
<endformationage>
Ah, increasing --ponygcinitial allowed the program to complete. So, definately a GC issue.
<endformationage>
Looks like garbage collection hangs and eats CPU on my system for some reason.
<endformationage>
To be clear, a single core is at 100% (supposedly the gc on that actor)
nyarum has quit [Remote host closed the connection]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 255 seconds]
Colinot has quit [Quit: Page closed]
jemc has joined #ponylang
jemc has quit [Ping timeout: 255 seconds]
vaninwagen_ has joined #ponylang
_andre has quit [Quit: leaving]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 240 seconds]
<SeanTAllen>
what do you mean by "stops processing messages" endformationage?
<SeanTAllen>
how do you know it "simply stops processing messages"?
<SeanTAllen>
can you clarify "I think before, my removal / addition of the json iso through this actor simply stalled or hastened gc." ?
<endformationage>
I made debug calls just after calling behaviors to make sure they were called, as well as just inside behaviors to indicate they are run.
<endformationage>
I used a timer to make the same exact calls to the actor over time. Whether I actually send json, a string, or nothing at all, the described results will still occur. It is just the number of calls that can be made is more or less before the stalling occurs.
srenatus[m] has joined #ponylang
<endformationage>
To be precise: I call the apply behavior on the trouble actor, which consumes an iso object (which originally carried the json). This always succeeds.
vaninwagen_ has quit [Ping timeout: 255 seconds]
<endformationage>
This object is processed just fine up till a point, presumably the point at which gc is triggered between message processing.
<endformationage>
The apply method basically passes this object on to a 'one off' actor, along with some other construction.
irx[m] has joined #ponylang
mindB has joined #ponylang
dtz has joined #ponylang
ada[m] has joined #ponylang
M-hrjet has joined #ponylang
katafrakt[m] has joined #ponylang
<SeanTAllen>
do you have a minimal example?
<SeanTAllen>
that reproduces the problem?
<endformationage>
I failed to be able to reproduce last night, but that was before I suspected garbage collection. I will try again.
<SeanTAllen>
how much code is there that can reproduce?
<endformationage>
Not sure if you caught it, I was able to run it fine, through to quiescence by increasing --ponygcinitial. Not sure if that really nails it down to the gc or not.