[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dev-serveez] coserver bug
From: |
Raimund 'Raimi' Jacob |
Subject: |
Re: [dev-serveez] coserver bug |
Date: |
Sun, 10 Jun 2001 23:35:13 +0200 (CEST) |
On Sun, 10 Jun 2001, stefan wrote:
> could you please test ctrl-c behaviour on your 2-cpu computer again ?
> Committed some code which tries closing all pipe/fd/socket after fork()...
> Hope this helps.
looks the same. still hard to reproduce. i have best chances with this
config
--- snipp ---
(define-port! 'foo-port '(
(proto . tcp)
(port . 42421)
))
(define-port! 'foo-pipe '(
(proto . pipe)
(recv . "receivefile")
(send . (( name . "sendfile" )) )
))
(define-port! 'control-port '(
(proto . tcp)
(port . 42422)
))
(define-server! 'foo-server '(
(bar . 100)
(reply . "Fteng")
(messages . ("Welcome to the foo test server."
"This one echos your lines."))
(ports . (5 6 7 8 9))
(port . "foo-port" )
(assoc . (( "GNU" . "great")
( "Tree" . "tall" )))
(truth . #f)
))
(define-server! 'control-server )
(bind-server! 'foo-port 'foo-server)
(bind-server! 'control-port 'control-server)
--- snap ---
i start this config and press ctrl-c immediatly. does not work. the last
coserver is gone, the other 2 remain as defunct. the /proc entries of the
main serveez process looks good. /proc/[dead-coserver-od]/fd is not
available: No such file or directory
so... the mystery is still there. perhaps it has something with the lt-*
to do ? mh... dunno
Bye,
Raimi
--
__/\ _/\ _____/\.___/\
/ / / /___/ ____/ __/\ Name : Raimi
/ / __/ __/ / __/ / _\/ Contact : address@hidden
/ /__/ / \/ /_/_/ /_/ Visit : http://www.lkcc.org
/________/___/\._\._____/_____/\ 3.141592653589793238462643383
\._______\.__\/__/\.____\.____\/ 27950288419716939937510582097