Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Semaphores
Last updated at 7:22 am UTC on 22 February 2019
The maximum number of external semaphores an image has is by default 256.

Each socket uses 3 of those and each file uses one.

To increase the number to 8192, evaluate
 [ Smalltalk maxExternalSemaphores: 8192 ] 

before processing data; preferrably right after the image has started.
You only have to do it once.
If you save your image, it'll remember to use more external semaphores.