Status: New
Owner: ----
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
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev
Owner: ----
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
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev