thank you for your report. May I ask which version of CrateDB you are running?
While this indicates you are running CrateDB on your workstation, I wanted to make sure to have this confirmed. In fact, the localhost:4200 address might get tunneled elsewhere while CrateDB is actually running within a cloud environment.
There are other things to consider when it comes to network connectivity while operating a service within a cloud environment, so I want to humbly ask you to share some more details about the environment CrateDB is running on beyond just the specifications and system limit configuration settings.
thank you. Let me point you towards three different aspects I would like to gather more information about.
Hosting/runtime environment
We really need more details here to get an idea about the exact environment in order to be able to eventually figure out what might occasionally be going wrong on your end wrt. network connectivity issues. There are so many possibilities.
Ubuntu 18 could be running on your workstation or on a remote host, either hosted on a bare metal machine or by any means of virtualization, either on dedicated hardware or within a shared environment operated by other people (sometimes also known as the cloud). Also, the address localhost:4200 might either be really on the local host or might get forwarded to another machine by any means.
Workload
Traffic characteristics
After knowing more details about the environment, we might want to shed more light onto the kind of workload and/or traffic your instance of CrateDB is receiving. This is, in order to figure out whether the database might be in a situation to be overloaded in a manner that is beyond the system resources it has available, which in turn might still lead to some kind of resource exhaustion which is then observable through connections being rejected.
Client behavior
That includes investigating how the HTTP client (is it RingPHP? [1]) is exactly interacting with the database and whether it will just exhaust available resources quickly by not reusing TCP connections appropriately [2]. In order to do that responsibly, any database driver should use some form of connection pooling, where the number of database connections will be limited to the pool size. In high traffic scenarios, this is absolutely crucial.
Are you able to provide more details about the aspects I’ve outlined?
Thank you in advance and with kind regards,
Andreas.
Hey @amotl Would you please share exact command for ubuntu 16 on what information you need. I ll share the outputs. It would really help me to move forward.
There is no command available to gather this sort of information I asked you about. It is both about finding out more details about the environment your Ubuntu system is running in and about how the client is talking to the database.
Hey @proddata when I install jmx exporter inside my server all the tables vanish away which I see from the crate UI, the commands that I run while installing Jmx are
this seems very strange, as CrateDB wouldn’t not delete or overwrite the state, without user interaction. Did you change the crate.yml and/or download a new CrateDB version?
Hey @amotl we upgraded the version of cratedb in our dummy vm by following the full restart approach using following steps
1. sudo systemctl stop crate
2. sudo apt update crate
3. sudo systemctl start crate
After that we get the following error when we use sudo systemctl start crate