No announcement yet.

getting scriptcase to work with multiple users on it

  • Filter
  • Time
  • Show
Clear All
new posts

  • getting scriptcase to work with multiple users on it

    We've had some strange problems using scriptcase on windows with multiple developers working on it.

    Scritpcase then seems to hang on occasions until someone on another machine closes a window. Next to that errors seem to occur due to timeout.

    If this is familiar to people then you can try to follow these suggestions.

    I have edited the httd.conf in c:\program files (86)\netmake\components\apache\conf
    # Server-pool management (MPM specific)
    #old value was commented now I enable it
    Include conf/extra/httpd-mpm.conf

    Next to that these are other settings for http.conf
    FcgidInitialEnv PHP_FCGI_CHILDREN "16"
    FcgidInitialEnv PHP_FCGI_MAX_REQUESTS "10000"

    FcgidIOTimeout 512
    FcgidConnectTimeout 512
    FcgidMaxRequestLen 536870912
    FcgidMaxRequestsPerProcess 10000

    Timeout 300
    KeepAlive On
    #KeepAliveTimeout 50
    #KeepAliveTimeout 10
    KeepAliveTimeout 5
    MaxKeepAliveRequests 500

    Then in the extra subdir you will find httpd-mpm.conf where I changed the following settings.
    # WinNT MPM
    # ThreadsPerChild: constant number of worker threads in the server process
    # MaxConnectionsPerChild: maximum number of connections a server process serves
    #old value
    # ThreadsPerChild 150
    <IfModule mpm_winnt_module>
    ThreadsPerChild 1000
    MaxConnectionsPerChild 0

    Increasing the ThreadsPerChild made quite a difference

    These settings are way better then the standard settings when yo are working on scriptcase with more users.
    Be aware that you have to tune the settings a bit to your memory space..

    And always keep a backup of the original settings...