[Klone-users] Compilation for elf m68k

thomas fossati tho at koanlogic.com
Wed Apr 9 10:04:03 EDT 2008


Hi Mickael,

On Apr 9, 2008, at 2:20 PM, Mickael Auger wrote:
> My model is iterative and I launch KLone with "kloned -d".

ok (use explicit '-F' if you don't want to detach from the controlling  
terminal - previous klone releases implied '-F' if '-d' was supplied).

> I try to evaluate KLone and Web pages soon.

you mean evaluating other serving models ?

> I wish to use one connection at once.

If you plan to go one-by-one just say "model iterative", all the  
following directives are specific to 'fork' and 'pre-fork' and are  
ignored in case 'iterative' is chosen:

>  - max_child
>  - fork.max_child
>  - prefork.max_child
>  - prefork.max_request_per_child

Instead, 'memory.max_count' (together with 'memory.limit') is used to  
control the amount of system resources devoted to session handling.  I  
can't suggest any specific value, since it depends completely on your  
system configuration.
Take a peek at the sample conf files in klone-2.0.2/build/target/klone- 
core-2.0.2/etc/ , especially "embed" and "nodisk" could be relevant to  
your use case.

ciao, t.

PS: I've tried out the two suggestions I gave you in the previous  
email about using the C++ compiler to allow mixing declaration and  
statement ... unfortunately both fail because of the rusty C++ pre- 
processor in GCC 2.95 which can't eat variadic macros the way they are  
defined (i.e. via __VA_ARGS__, which is the C99 way...).
So the only available solution seems to be moving all your C  
declarations to <%! ... %>.
You may want to use 'static' so they are file global, i.e. globals but  
only in a specific exec_page context.




More information about the klone-users mailing list