[Klone-users] klone hangs up
Stefano Barbato
barbato at koanlogic.com
Wed Jul 16 10:35:35 EDT 2008
Hi,
I wasn't able to reproduce the problem; I created a new page (see
below) for testing that does nothing except calling sleep() and KLone
keep it run the script until I explicitly killed it after a few hours
(actually I forgot about it :) ).
----[ hang.kl1 ]---
<%!
#include <unistd.h>
%><%
for(;;)
sleep(1);
%>
-------------------
The behavior you wrote about could be seen, for example, if klone
crashed because of an error in getSomeData* functions. Do they always
return valid C strings? did you try to run the daemon under gdb?
bye,
s
On 15/lug/08, at 18:15, diakat 2000 wrote:
> Hello,
>
> Many thanks for your speedy help!
>
> I use klone with iterative model.
> There are shown data on my web pages, which are coming per TCP/IP from
> another program, e.g.:
>
> io_printf(out, myCommunicator->getSomeDataFromSocket());
> io_printf(out, myCommunicator->getSomeMoreDataFromSocket());
>
> At moment this communication is done per blocked functions send()
> and recieve.
>
> The problem:
> If It takes some seconds, until the data from the sockets returned to
> klone web page, the page reproduction stops.
> After a refresh of the page the klone-server is no longer available
> and klone must be restarted.
>
> Are there some timeouts, which have to been considered? Why klone
> hangs up?
>
>
> Regards,
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>
More information about the klone-users
mailing list