Skip to content

Instantly share code, notes, and snippets.

@powdahound
Created September 10, 2009 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save powdahound/184313 to your computer and use it in GitHub Desktop.
Save powdahound/184313 to your computer and use it in GitHub Desktop.
; CouchDB Configuration Settings
; Custom settings should be made in this file. They will override settings
; in default.ini, but unlike changes made to default.ini, this file won't be
; overwritten on server upgrade.
[couchdb]
;max_document_size = 4294967296 ; bytes
[httpd]
;port = 5984
bind_address = 0.0.0.0
[log]
level = debug
;[update_notification]
;unique notifier name=/full/path/to/exe -with "cmd line arg"
; To create an admin account uncomment the '[admins]' section below and add a
; line in the format 'username = password'. When you next start CouchDB, it
; will change the password to a hash (so that your passwords don't linger
; around in plain-text files). You can add more admin accounts with more
; 'username = password' lines. Don't forget to restart CouchDB after
; changing this.
;[admins]
;admin = mysecretpassword
; increase the timeout from 5 seconds.
[couchdb]
os_process_timeout=60000
[external]
fti=/usr/bin/java -server -jar /usr/local/lib/couchdb/couchdb-lucene-0.4-jar-with-dependencies.jar -search
;fti=/usr/bin/java -server -jar /usr/local/lib/couchdb/couchdb-lucene-0.5-SNAPSHOT-jar-with-dependencies.jar -search
;[update_notification]
indexer=/usr/bin/java -server -jar /usr/local/lib/couchdb/couchdb-lucene-0.4-jar-with-dependencies.jar -index
;indexer=/usr/bin/java -server -jar /usr/local/lib/couchdb/couchdb-lucene-0.5-SNAPSHOT-jar-with-dependencies.jar -index
[httpd_db_handlers]
_fti = {couch_httpd_external, handle_external_req, <<"fti">>}
==> couch.log <==
[Thu, 10 Sep 2009 04:49:43 GMT] [debug] [<0.53.0>] 'GET' /searchtest/_fti {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
{'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{'Accept-Encoding',"gzip,deflate"},
{'Accept-Language',"en-us,en;q=0.5"},
{'Cache-Control',"max-age=0"},
{'Connection',"keep-alive"},
{'Host',"mayo:5984"},
{'Keep-Alive',"300"},
{'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 FirePHP/0.3"}]
[Thu, 10 Sep 2009 04:49:43 GMT] [info] [<0.66.0>] EXTERNAL: Starting process for: fti
[Thu, 10 Sep 2009 04:49:43 GMT] [info] [<0.66.0>] COMMAND: /usr/bin/java -server -jar /usr/local/lib/couchdb/couchdb-lucene-0.4-jar-with-dependencies.jar -search
==> stdout.log <==
[debug] [<0.53.0>] 'GET' /searchtest/_fti {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
{'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{'Accept-Encoding',"gzip,deflate"},
{'Accept-Language',"en-us,en;q=0.5"},
{'Cache-Control',"max-age=0"},
{'Connection',"keep-alive"},
{'Host',"mayo:5984"},
{'Keep-Alive',"300"},
{'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 FirePHP/0.3"}]
[info] [<0.66.0>] EXTERNAL: Starting process for: fti
[info] [<0.66.0>] COMMAND: /usr/bin/java -server -jar /usr/local/lib/couchdb/couchdb-lucene-0.4-jar-with-dependencies.jar -search
==> couch.log <==
[Thu, 10 Sep 2009 04:49:44 GMT] [info] [<0.53.0>] 10.0.0.123 - - 'GET' /searchtest/_fti 503
==> stdout.log <==
[info] [<0.53.0>] 10.0.0.123 - - 'GET' /searchtest/_fti 503
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment