You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filippo (JIRA)" <ji...@apache.org> on 2010/11/12 05:21:13 UTC
[jira] Created: (COUCHDB-946) Calling the "/_restart" API via
socket or cURL, sometimes CouchDB restarts before I can get the response
headers.
Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers.
-----------------------------------------------------------------------------------------------------------------
Key: COUCHDB-946
URL: https://issues.apache.org/jira/browse/COUCHDB-946
Project: CouchDB
Issue Type: Bug
Components: HTTP Interface
Affects Versions: 1.0.1
Environment: Mac OS X 10.6.5
Reporter: Filippo
Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers. Not always, sometimes.
Additionally, with a restart cycle, calling the API sequentially, sometimes CouchDB crashes with a "bus error" or "seg fault".
--------------------------------------------
/_restart
--------------------------------------------
_ using socket _
string(6) "200 OK"
array(5) {
["Server"]=>
string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
["Date"]=>
string(29) "Fri, 12 Nov 2010 04:07:47 GMT"
["Content-Type"]=>
string(24) "text/plain;charset=utf-8"
["Content-Length"]=>
string(2) "12"
["Cache-Control"]=>
string(15) "must-revalidate"
}
--------------------------------------------
/_restart
--------------------------------------------
_ using socket _
Error code: 0
Message: HTTP Status Code undefined.
--------------------------------------------
/_restart
--------------------------------------------
_ using cURL _
string(6) "200 OK"
array(5) {
["Server"]=>
string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
["Date"]=>
string(29) "Fri, 12 Nov 2010 04:13:04 GMT"
["Content-Type"]=>
string(24) "text/plain;charset=utf-8"
["Content-Length"]=>
string(2) "12"
["Cache-Control"]=>
string(15) "must-revalidate"
}
--------------------------------------------
/_restart
--------------------------------------------
_ using cURL _
Error code: 0
Message: Empty reply from server
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-946) Calling the "/_restart" API via
socket or cURL, sometimes CouchDB restarts before I can get the response
headers.
Posted by "Filippo Fadda (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filippo Fadda updated COUCHDB-946:
----------------------------------
Fix Version/s: 1.2
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-946
> URL: https://issues.apache.org/jira/browse/COUCHDB-946
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.0.1
> Environment: Mac OS X 10.6.5
> Reporter: Filippo Fadda
> Fix For: 1.2
>
>
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers. Not always, sometimes.
> Additionally, with a restart cycle, calling the API sequentially, sometimes CouchDB crashes with a "bus error" or "seg fault".
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:07:47 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> Error code: 0
> Message: HTTP Status Code undefined.
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:13:04 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> Error code: 0
> Message: Empty reply from server
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-946) Calling the "/_restart" API via
socket or cURL, sometimes CouchDB restarts before I can get the response
headers.
Posted by "Filippo Fadda (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935918#action_12935918 ]
Filippo Fadda commented on COUCHDB-946:
---------------------------------------
I will.
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-946
> URL: https://issues.apache.org/jira/browse/COUCHDB-946
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.1, 1.2
> Environment: Mac OS X 10.6.5
> Reporter: Filippo Fadda
>
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers. Not always, sometimes.
> Additionally, with a restart cycle, calling the API sequentially, sometimes CouchDB crashes with a "bus error" or "seg fault".
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:07:47 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> Error code: 0
> Message: HTTP Status Code undefined.
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:13:04 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> Error code: 0
> Message: Empty reply from server
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-946) Calling the "/_restart" API via
socket or cURL, sometimes CouchDB restarts before I can get the response
headers.
Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932420#action_12932420 ]
Jan Lehnardt commented on COUCHDB-946:
--------------------------------------
I don't think we can/should do anything about the restart-before the response is back.
The bus error warrants more investigation, can you prepare a reproducible script? And can you give us as much information about your system and software versions as you can collect? (compiler, libraries, etc).
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-946
> URL: https://issues.apache.org/jira/browse/COUCHDB-946
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.1, 1.2
> Environment: Mac OS X 10.6.5
> Reporter: Filippo Fadda
> Fix For: 1.0.1, 1.1, 1.2
>
>
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers. Not always, sometimes.
> Additionally, with a restart cycle, calling the API sequentially, sometimes CouchDB crashes with a "bus error" or "seg fault".
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:07:47 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> Error code: 0
> Message: HTTP Status Code undefined.
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:13:04 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> Error code: 0
> Message: Empty reply from server
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-946) Calling the "/_restart" API via
socket or cURL, sometimes CouchDB restarts before I can get the response
headers.
Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt updated COUCHDB-946:
---------------------------------
Fix Version/s: (was: 1.2)
(was: 1.0.1)
(was: 1.1)
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-946
> URL: https://issues.apache.org/jira/browse/COUCHDB-946
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.1, 1.2
> Environment: Mac OS X 10.6.5
> Reporter: Filippo Fadda
>
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers. Not always, sometimes.
> Additionally, with a restart cycle, calling the API sequentially, sometimes CouchDB crashes with a "bus error" or "seg fault".
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:07:47 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> Error code: 0
> Message: HTTP Status Code undefined.
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:13:04 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> Error code: 0
> Message: Empty reply from server
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-946) Calling the "/_restart" API via
socket or cURL, sometimes CouchDB restarts before I can get the response
headers.
Posted by "Filippo Fadda (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filippo Fadda updated COUCHDB-946:
----------------------------------
Fix Version/s: 1.0.1
1.1
Affects Version/s: (was: 1.0.1)
1.2
1.1
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-946
> URL: https://issues.apache.org/jira/browse/COUCHDB-946
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.1, 1.2
> Environment: Mac OS X 10.6.5
> Reporter: Filippo Fadda
> Fix For: 1.0.1, 1.1, 1.2
>
>
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers. Not always, sometimes.
> Additionally, with a restart cycle, calling the API sequentially, sometimes CouchDB crashes with a "bus error" or "seg fault".
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:07:47 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> Error code: 0
> Message: HTTP Status Code undefined.
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:13:04 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> Error code: 0
> Message: Empty reply from server
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Resolved] (COUCHDB-946) Calling the "/_restart" API via
socket or cURL, sometimes CouchDB restarts before I can get the response
headers.
Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt resolved COUCHDB-946.
----------------------------------
Resolution: Incomplete
No feedback, closing.
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-946
> URL: https://issues.apache.org/jira/browse/COUCHDB-946
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.1, 1.2
> Environment: Mac OS X 10.6.5
> Reporter: Filippo Fadda
>
> Calling the "/_restart" API via socket or cURL, sometimes CouchDB restarts before I can get the response headers. Not always, sometimes.
> Additionally, with a restart cycle, calling the API sequentially, sometimes CouchDB crashes with a "bus error" or "seg fault".
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:07:47 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using socket _
> Error code: 0
> Message: HTTP Status Code undefined.
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> string(6) "200 OK"
> array(5) {
> ["Server"]=>
> string(31) "CouchDB/1.0.1 (Erlang OTP/R14B)"
> ["Date"]=>
> string(29) "Fri, 12 Nov 2010 04:13:04 GMT"
> ["Content-Type"]=>
> string(24) "text/plain;charset=utf-8"
> ["Content-Length"]=>
> string(2) "12"
> ["Cache-Control"]=>
> string(15) "must-revalidate"
> }
> --------------------------------------------
> /_restart
> --------------------------------------------
> _ using cURL _
> Error code: 0
> Message: Empty reply from server
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira