New issue 1307 by ajmir...@gmail.com: timeout setting doesn't work
http://code.google.com/p/cherokee/issues/detail?id=1307
What steps will reproduce the problem?
1. Set timeout setting to 2 seconds via general > network settings >
timeout.
2. Access an item that takes longer than 2 seconds to generate. For example:
> cat index.php
<html><head></head><body><?php sleep(300); ?></body></html>
or when running uwsgi:
> cat timeout_app.py
import time
time.sleep(300)
What is the expected output? What do you see instead?
I expect that cherokee will terminate the interpreter (either fastcgi or
uwsgi) after 2 seconds. However, both are allowed to execute for ~15-17
seconds before cherokee responds with a 504 gateway timeout error.
What version of the product are you using? On what operating system?
version 1.2.101 on ubuntu 11.10
Please provide any additional information below.
This was discovered when trying to increase the timeout from the default of
15 to something larger and the timeout value not seeming to be respected.
Verified that cherokee.conf has a setting server!timeout = 2.
_______________________________________________
Cherokee-dev mailing list
Cherok...@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev
Cherokee will not terminate the interpreter, because unless you are using
CGI Cherokee just can't. Cherokee will terminate your client's network
connection.
ah, ok. makes sense. but the server still doesn't seem to be terminating
the client's network connection within the appropriate time set in the
config file or through the admin webserver.
I'm on version 1.2.101 on ubuntu 10.04 and I definitely have the same
problem: to whatever value I set the timeout, in the general tab or
specific to a vserver source, the timeout is always 15 seconds. The server
doesn't care of the settings. I'm over SSL.