1SCGI.SCGI(3kaya)             Kaya module reference            SCGI.SCGI(3kaya)
2
3
4

NAME

6       SCGI::SCGI - SCGI configuration
7

SYNOPSIS

9       SCGI::SCGI< >
10
11
12     =   SCGI(Int   port,Int  startservers,Int  minspareservers,Int  maxspare‐
13     servers,Int maxservers,Int maxbacklog,Int maxchildpages)
14

DESCRIPTION

16       This data type describes the configuration of an SCGI server. The scgi‐
17       config  function  can be used to set the configuration, as well as per‐
18       forming any initialisation that should be specific to the entire server
19       group  (generally, unless only select queries are needed, database con‐
20       nections should be initialised in the per-process webconfig function).
21
22
23     - port : The TCP port to listen on
24
25
26     - startservers : The number of initial sub-server processes
27
28
29     - minspareservers : The minimum number of spare sub-server  processes  to
30     have
31
32
33     -  maxspareservers  : The maximum number of spare sub-server processes to
34     have
35
36
37     - maxservers : The maximum number of spare server processes to  have.  If
38     there  are  more simultaneous connections than this, then additional con‐
39     nections will be held in the backlog. This number should be set  as  high
40     as  possible,  but  not  so  high that physical memory runs out trying to
41     serve them all.
42
43
44     - maxbacklog : The maximum backlog of unaccepted  connections  to  allow.
45     Additional connections once the backlog is full will be rejected.
46
47
48     -  maxchildpages  :  The  maximum number of pages a single sub-server can
49     handle. Once a sub-server has served this many pages it  will  be  killed
50     and restarted, which may keep memory usage down.
51
52       The   default  values,  if  no  scgiconfig  function  is  present,  are
53       SCGI(7597,2,2,4,10,100,10)
54
55

AUTHORS

57       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
58       (kaya@kayalang.org). For further information see http://kayalang.org/
59

LICENSE

61       The  Kaya  standard  library  is free software; you can redistribute it
62       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
63       License  (version  2.1  or  any later version) as published by the Free
64       Software Foundation.
65
66
67
68Kaya                             December 2010                SCGI.SCGI(3kaya)
Impressum