VM freeze and crash when saving
florian.minjat at emn.fr
Fri Apr 6 11:50:15 UTC 2007
David T. Lewis wrote:
> I am away from my Squeak computer now so I can't check any
> actual code, but it probably means that the actual unix fork()
> failed for some reason and gave an error return value of -1
> rather than the pid of the forked process. Look at the unix
> man page for fork (man 2 fork) for an explanation. Perhaps
> there is some memory usage restriction on your unix account
> that prevents you from starting a second copy of Squeak, but
> I'm just guessing.
> I can't remember the method name, but if you look in class
> UnixOSProcessAccessor you will probably find a method for
> retrieving the most recent value of errno. If you call this
> immediately after the fork, you can probably see the errno
> value that would explain the problem (but be warned that
> the value of errno can up updated by any system call, so
> it's possible you will get a misleading result). If the
> method is #primErrno, then you would call it with
> "OSProcess accessor primErrno" (but I don't remember
> what I actually called it).
> Most likely this will just turn out to be a restriction of
> your ISP, sorry.
I am sorry but I could not find any method like *errno* in the
OSProcess-Unix package :/.
And I really don't see why I couldn't create a fork on my virtual
Florian losing faith in squeak capacity in production environnement...
More information about the Squeak-dev