Re: Error log on every node of cluster

2024-01-04 Thread Paul Milner
think you and Jan already debugged this issue > in Slack and it turned out to be that one of the nodes was > couchdb@127.0.0.1 instead of a proper hostname. > > Regards, > -Nick > > On Fri, Dec 29, 2023 at 8:05 AM Paul Milner wrote: > > > > Hello there > > >

Re: Replication

2024-01-03 Thread Paul Milner
.net and > https://user2:pa...@sdb.somehost.net) they'll also get different job > ids and different checkpoints. > > Cheers, > -Nick > > > On Fri, Dec 29, 2023 at 9:59 AM Paul Milner wrote: > > > > I have set up a clustered couchdb instance and I have initia

Replication

2023-12-29 Thread Paul Milner
I have set up a clustered couchdb instance and I have initiated the databases by replication from another source couch system. I now want to reset all those databases and populate them by replicating databases from another different source system. There are some duplicate database names in the tw

Error log on every node of cluster

2023-12-29 Thread Paul Milner
Hello there I have a 3 node couchdb cluster and in every node of the cluster I get the following error every minute: ** Cannot get connection id for node 'couchdb@*dns of node'' dns of node is also the node name on which the error occurs. So I get 1 message for each node on that particul

Re: [RELEASE] Apache CouchDB 3.3.0 released

2023-11-23 Thread Paul Milner
r:call/3 L247">>,<<"couch_index_server:get_index/4 L102">>,<<"couch_mrview_util:get_view_index_state/5 L180">>,<<"couch_mrview_util:get_view/4 L153">>,<<"couch_mrview:query_view/6 L286">>,<<&quo

Re: Couchdb and Nginx Proxies

2023-06-11 Thread Paul Milner
n 2023 at 04:16, Andrew Ellerton wrote: > If couch itself is working fine (eg test via curl on the server) then this > sounds a lot purely nginx config, not couch. > > With that said if you post more of your config and more info I can try to > help. > > On Sat, 10 June 2023, 20

Couchdb and Nginx Proxies

2023-06-10 Thread Paul Milner
Hello there, further to my issues with couchdb and nginx. I get the following error in my nginx error log: 2023/06/10 11:55:36 [error] 87270#87270: *115 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: _, request: "GET /a?limit=1 HTTP/1.1",

Re: Fauxton and reverse proxies

2023-06-09 Thread Paul Milner
chdb.org/en/stable/best-practices/reverse-proxies.html#reverse-proxying-with-nginx > > If this does not work, you may have to provide more information about your > setup to receive proper help. > > > > Best regards, > Sinan > > On Thu, 8 Jun 2023 at 16:36, Paul Milner wr

Fauxton and reverse proxies

2023-06-08 Thread Paul Milner
Hello In one of my environments I have a couch cluster setup behind load balancers and nginx reverse proxies. When I try to use fauxton it doesn't work. The databases fail to load. Can you tell me how I can find out how to set this up properly please? Is there any documentation anywhere? Thanks

Re: [RELEASE] Apache CouchDB 3.3.0 released

2023-04-17 Thread Paul Milner
n from > https://apache.jfrog.io/artifactory/couchdb-deb ? > > Regards, > -Nick > > On Mon, Apr 17, 2023 at 11:27 AM Paul Milner > wrote: > > > > Hello again > > > > After a bit of digging, I got to this: > > > > Ubuntu switched the d

Re: [RELEASE] Apache CouchDB 3.3.0 released

2023-04-17 Thread Paul Milner
about it please? Thanks a lot Paul On Mon, 17 Apr 2023 at 12:25, Paul Milner wrote: > Hello there > > I am trying to install this version of couchdb on Ubuntu 22.0 following > the instructions in the documentation, but unfortunately it fails. It says > no sources for couchdb exi

Re: [RELEASE] Apache CouchDB 3.3.0 released

2023-04-17 Thread Paul Milner
Hello there I am trying to install this version of couchdb on Ubuntu 22.0 following the instructions in the documentation, but unfortunately it fails. It says no sources for couchdb exist. I have done the pre-step and run apt update and apt upgrade. It is a totally clean server. When I try to down

Re: Multiple queries against a view

2022-10-01 Thread Paul Milner
:26 AM Rene Veerman < > >> rene.veerman.netherla...@gmail.com> wrote: > >> > >>> multi-threaded curl would seem the answer to this. > >>> the view definition itself would enable a binary tree for the searches > >>> to happen qui

Multiple queries against a view

2022-09-03 Thread Paul Milner
Hello I'm looking to execute a view multiple times at once for different keys with different limits and skips (associated to each query). So I need the following: POST /recipes/_design/recipes/_view/by_title/queries HTTP/1.1Content-Type: application/jsonAccept: application/jsonHost: localhost:598

Re: Couchdb performance and optimisieren

2021-11-25 Thread Paul Milner
formance guides. If, by > chance, you're running your DB in kube, take a look at > https://adoptingerlang.org/docs/production/kubernetes/ > > Cheers, > -Nick > > > > > On Tue, Nov 23, 2021 at 3:39 AM Paul Milner wrote: > > > > Hello > > >

Couchdb performance and optimisieren

2021-11-23 Thread Paul Milner
Hello Can someone recommend a book or website that can help me to understand optimising Couchdb and making it performant please? I've looked at Fabric, Erlang etc options, but would like to get an overview and deep understanding of how it works. I've also been through the documentation, but feel

Heavy load

2021-11-18 Thread Paul Milner
Hello I have a process that does many bulk_inserts (also updates) per second (thousands actual updates and more). When I run it with a few (100 or so) it works fine, but as soon as I increase the load I get socket timeout errors. I have implemented agentkeepalive in my code with infinite sockets a

Re: Apt update error

2021-09-24 Thread Paul Milner
ttps://docs.couchdb.org/en/latest/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages > > Am Fr., 24. Sept. 2021 um 15:06 Uhr schrieb Paul Milner < > pauljmil...@gmail.com>: > > > Hello there > > > > I'm getti

Apt update error

2021-09-24 Thread Paul Milner
Hello there I'm getting: Reading package lists... Done E: Failed to fetch https://apache.bintray.com/couchdb-deb/dists/focal/InRelease 403 Forbidden [IP: 52.34.245.248 443] E: The repository 'https://apache.bintray.com/couchdb-deb focal InRelease' is no longer signed. When I do apt update on my

Re: Setting up smoosh for database compaction

2021-08-19 Thread Paul Milner
ly as a consequence of writing > documents). > > None of what I’ve said will apply in CouchDB 4.0 (compaction no longer > required there) > > B (short for Bob) > > > On 19 Aug 2021, at 11:32, Paul Milner wrote: > > > > Hi B (?? ;-) ) > > > > I have a l

Re: Setting up smoosh for database compaction

2021-08-19 Thread Paul Milner
wrote: > Hi Paul, > > We welcome feedback on why the automatic compaction system (in its default > configuration or custom) is not appropriate for you. > > B. > > > On 19 Aug 2021, at 05:29, Paul Milner wrote: > > > > Hi Adam > > > > Thanks for th

Re: Setting up smoosh for database compaction

2021-08-18 Thread Paul Milner
a little more about what you’re finding lacking in the docs? > Cheers, > > Adam > >> On Aug 18, 2021, at 2:58 AM, Paul Milner wrote: >> >> Hello >> >> I'm looking at the maintenance of my databases and how I could implement >> tools to

Setting up smoosh for database compaction

2021-08-17 Thread Paul Milner
Hello I'm looking at the maintenance of my databases and how I could implement tools to do that. Smoosh seems to be the main option, but I'm struggling to set it up as the documentation seems a bit limited. I have only really found this: 5.1. Compaction — Apache CouchDB® 3.1 Documentation

Re: Multiple queries at the same time against a view

2020-10-23 Thread Paul Milner
ch query. > > Hope that helps, > Rich > > > > From: Paul Milner > To: user@couchdb.apache.org > Date: 23/10/2020 13:03 > Subject:[EXTERNAL] Multiple queries at the same time against a > view > > > > Hello Everybody > > I am trying to run

Multiple queries at the same time against a view

2020-10-23 Thread Paul Milner
Hello Everybody I am trying to run multiple queries against a view at the same time using the queries endpoint. post to db/_design/designdoc/_view/viewcount/queries I need different limits and skips on each query. I post the following data: { "queries":[ { "key":"key1",

No DB Shards

2020-09-28 Thread Paul Milner
Hello I am testing my DB installation and I have an insert of a document that has been done ~500'000 times in one process. This should multiply significantly as more users come onboard. Everything ran to completion, but in the log I got the following error: No DB shards could be opened.","stack"

Re: Mulltiple gets on same databases

2020-09-25 Thread Paul Milner
Hi Jan, bit of a delayed response, but that helped me find it. It was memory and I had to restructure my app. Thanks a lot Paul On Tue, Sep 22, 2020 at 11:07 AM Paul Milner wrote: > Hi Jan > > Thanks I‘ll check it. > > I‘m on Ubuntu 20.04 with a Node 14.0.0 app. Database on

Re: Mulltiple gets on same databases

2020-09-22 Thread Paul Milner
> What OS are you running this on? > > What are your open file ulimits for the requesting and the CouchDB process? > > Try running a netstat to see the state of open sockets during the benchmark > progress > > Best > Jan > — > >> On 22. Sep 2020, at 10:45,

Mulltiple gets on same databases

2020-09-22 Thread Paul Milner
Hello I make a limited number of get requests simultaneously on my database and everything runs fine. I see the requests in the couchdb log. However when I increase the number of requests to a larger number say 1‘000 couchdb stops and I have to restart it. I see no entries in the log. Can you tel

Sharding error and question

2020-08-23 Thread Paul Milner
Hello I am new to this list so i hope it's ok to ask the following here. I have installed CouchDB 3.1.0 on a local windows 10 machine and am accessing it with NodeJS. It runs ok for a while, but when I access the database after leaving it idle for a while I always get this error. If I then acces