chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] questionable http-server behaviour under heavyload:


From: gian paolo ciceri
Subject: Re: [Chicken-users] questionable http-server behaviour under heavyload: broken pipe
Date: Thu, 26 Aug 2004 07:48:34 +0200
User-agent: Mozilla Thunderbird 0.6 (X11/20040519)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Felix Winkelmann wrote:
[snip]

| On the other hand, spiffy-main.scm does perform an explicit
|
| (set-signal-handler! signal/pipe #f)
|
| which internally does a signal(SIGPIPE, SIG_IGN).
| So I assumed the signal will be disabled. Apparently
| I was wrong. Or not?
| (Sorry, my UNIX hacking skills are rather limited, if someone
| can explain this?)
|
|
| cheers,
| felix

mmmh. I've tried to use spiffy in some manner,
but with no fortune... see the following output
(I've asked for http://localhost:8080/)

address@hidden spiffy]$ spiffy -d
[waiting for requests...]
[request 0 from 127.0.0.1; thread0 (of 1) started...]
[read: "GET / HTTP/1.1"]
[request: method=GET, url=/, protocol=HTTP/1.1]
[attributes: (("cookie" . "PASSWORD=U39ufwlvhLw=;
ID=aWiPXVmk2ms0Iq8dFs+pAw==;
ad_user_login=17!1184660306937!7JqnxcsaUlSW/yNzz1+6Rw==; tz_offset=3600;
address@hidden; loginkey=24ff5c3fba7903f106b3f7b98b1d5170;
user=gpciceri; style=null") ("connection" . "keep-alive") ("keep-alive"
. "300") ("accept-charset" . "ISO-8859-1,utf-8;q=0.7,*;q=0.7")
("accept-encoding" . "gzip,deflate") ("accept-language" .
"it,en-us;q=0.7,en;q=0.3") ("accept" .
"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5")
("user-agent" . "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040808 Firefox/0.9.3") ("host" . "localhost:8080"))]
[handling GET request...]
thread thread0 terminated with exception: can not write to socket: (4 "\n")

- ----

What's happening here ?
After this request I'm not able to terminate spiffy with CTRL+C,
I've to put the server in background and kill it esplicitely.

Regards
/gp


- --
gian paolo ciceri - japanman
suddenthinks, excellence through refactoring
++39 340 7218101
address@hidden
address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBLXmy5CXmEF0gaHgRArucAJ43YKRMBK7VgjUqM15HmSpwpvPwXgCgs4s6
h8n60GwvFvM4U1gyu6sRdzU=
=XtJT
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]