On 15 Jul 2011, at 13:50, Janko Mivšek wrote:
> Before shooting the messenger of bad news let we rather acknowledge that
> there are problems in Squeak/Pharo on the socket/semaphore/process
> field. I also admit, I somewhat lost nervers on Pharo as Guido did and
> I'd like to post the same post. But of course bringing bad messages must
> always be done diplomatically of you won't like to be shoot :)
Janko, you have an excellent Smalltalk reputation and your comments, feedback
and contribution are positive. You walk the talk. We take you seriously.
> So, known problems are: socket limit over about 200, semaphores (i
> remember discussion back, is this solved?) protecting critical sections
> doesn't work well, processes?
After our last discussion, I added
!
"Extend the external object table to allow for more sockets"
Smalltalk vmParameterAt: 49 put: 8192.
!
to my server startup scripts. This should be good for at least around 2000
sockets simulataneously, if I understand things correctly. (Your OS has to
allow that many for a single process as well ;-)
Is there a bug report/issue and/or testcase for the critical section problem ?
Regards,
Sven