Index: openacs-4/packages/acs-bootstrap-installer/installer/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer/index.tcl,v diff -u -N -r1.32.2.2 -r1.32.2.3 --- openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 10 Mar 2019 22:04:51 -0000 1.32.2.2 +++ openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 17 May 2019 14:10:34 -0000 1.32.2.3 @@ -172,15 +172,23 @@ set error_p 1 } -# AOLserver must have a large stack size (at least 128K by default, or the value specified +# The server must have a large stack size (at least 128K by default, or the value specified # in the install.xml file) set stacksize [ns_config "ns/threads" StackSize] +if {[regexp {^([0-9.]+)([MKk])B} $stacksize . number multiplicator]} { + switch $multiplicator { + "k" - "K" {set stacksize [expr {int($number * 1024.0)}]} + "M" {set stacksize [expr {int($number * 1024.0 * 1024.0)}]} + default {ns_log warning "installer/index.tcl: invalid multiplicator $multiplicator"} + } +} + if { ![string is integer $stacksize] || $stacksize < $acs_application(min_stack_size) * 1024 } { - append errors "
  • The configured AOLserver Stacksize is too small, missing, or a non-integer value. + append errors "

  • The configured stacksize '$stacksize' is too small, missing, or a non-integer value. $acs_application(pretty_name) requires a StackSize parameter of at least ${acs_application(min_stack_size)}K.

    Please add the following line to your .tcl configuration file