On Feb 17, 2012, at 3:01 AM, Chris Muller wrote:
Ok. I thought you were trying to figure out whether the majority of the Semaphores you were seeing were due to Magma or not. I have a suspicion that they may be. Which might be a concern since I didn't realize there was a Semaphore limit..
There isn't a limit to Semaphores per se, but there's (in Cog) a limit to the amount of Semaphores which can be registered in the ExternalSemaphoreTable (a.k.a. being available to signal by primitives). In the base image the five cases I mentioned earlier are the only users, any wrongdoings on Magma's part would either be through something doing custom registering in that table, or "misuse" of base users, like reusing Sockets by sending certain messages, as mentioned in my first mail. As per later mails though, network reinitialization is already one case in the base image where such leaks can occur , so it's not certain Magma is involved at all... Cheers, Henry