Ubuntu Reboot for elasticsearch - elasticsearch

I have Ubuntu 12.04 server 64 bit on linode. I am using Elasticsearch as a service , rabbitmq , Celery .
The problem is after having my instance running for 4 months and 21 days suddenly elasticsearch failed to start. When I reboot the ubuntu it appears to be working correctly.
Now the question is , what is the standard interval/time to reboot a ubuntu server which is deployed in production ?
Should I also reboot the ubuntu after 4/5 months ? How the big production systems handle the maintenance.

If everything would work ok and you don't update any programs you would not need to reboot. So the advice is: analyze. Look in the logs.

I was like, when not enough memory in the jvm
Es configuration: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html

Related

slow ubuntu 18.4 vm in openstack

I am completely new to openstack. I am having some problem. Googling about it didn't help me. I am doing a project on implementing a private cloud using Openstack.
I have deployed multinode openstack (xena) on centos 8 stream (one controller and two compute nodes).
windows vms work normally but when i installed ubuntu 18.4 vm ,it work slowly specially the graphic is so slow. any solutions please and thank you

ERR_CONNECTION_FAILED on Chrome/IE after 20 minutes of working when internet is still connected

Hoping this is the right place to ask this. I'm trying to learn React Native and I'm using Expo as my medium for deployment, but I'm finding that I'm literally getting 20 minutes at a time before my browser fails to connect with the error code ERR_CONNECTION_FAILED. I've tried the following:
netsh winsock reset, then the related ipconfig commands for flushing DNS settings
Clearing browser caches
Updating drivers
I'm at my wits end as the only thing that completely solves it is restarting my laptop, which for obvious reasons isn't feasible every 20 minutes, so I'm hoping somebody can help.
I'm experiencing the same issue with Expo in this environment:
Windows 10, version 1909 (OS build 18363.476)
using WSL (Windows Subsystem for Linux) with Ubuntu 18.04 LTS
These links were useful to learn why this is happening:
https://github.com/expo/expo-cli/issues/99
https://github.com/microsoft/WSL/issues/2913
https://github.com/microsoft/WSL/issues/3951
In essence, this issue seems to be due to a problem with WSL. Per a post in the first link, I tried the alternative to restarting the computer and it worked - it made the ERR_CONNECTION_FAILED problems disappear...for 20 minutes. That alternative is as follows:
WIN+R -> services.msc
Find LxssManager
Right-click -> Restart
This restarts the WSL service which also means that the WSL instance that was running gets terminated. This is less than ideal, but at least a computer restart is avoided. The third link says this WSL problem is fixed in Windows Insider Build 18890.
I am now considering spinning up a VM to run Ubuntu instead of trying to use WSL for Expo projects.
I uninstalled the latest Windows updates, and the problem has not surfaced since.

How can I use sonarqube in windows 10 without a docker (or any other) container to analyze Node apps?

The question says it all.
Running Windows 10 (home) and googling for the past two hours on running SonarQube in windows10. Everything I came cross talks about running SonarQube in docker.
Anyone out here know if it's even possible to run SonarQube in windows without a container. If it is, how do I do it?
Looks like I can run the server with a Java 11 install.
Once I did that the docs led the way.

Using Centos v7 for Setup a New Cluster

I want to setup a cluster of Hadoop. Is there any problem if i use Centos v7 for operating system?
I already use Centos 6.5 and in this setup i want to use the newest version.
I test it my self and the result was this version is not stable i got a lot of crashes and randomly reboot in cluster so i back to v6.5 .

TeamCity and YouTrack in under 1GB

I am trying to setup YouTrack and TeamCity on a VM with less than 1GB running on Windows. There will be a very low usage (both users and requests). This is a POC environment, if it works I may push it onto an extra-small or small Azure or Amazon VM instance.
Anyone has got this to work?
PS: I understand that this is way below JetBrains recommended settings.
I have a running YouTrack instance with only 256MB RAM allocated (never tried a smaller value), on an old server with only 1GB RAM, under Debian. It feels pretty responsive, but I'm the only user so far :D
If you're using Windows XP, it might work ok, if Team City would run with only 256MB RAM.
Is there a specific need for using TeamCity, or you need it only for integrating YouTrack with Git/Mercurial/SVN?
I tried installing WARs under TomCat and I could not get TeamCity to play nice in TomCat 7. I ended up using the out of the box installers provided by JetBrains and all worked fine.
I have resolved same problem in the next way:
Installed application on VM with more than 1 GB memory.
Configured my application.
Reduced size(memory) of the VM to 700 Mb available
As application was used JetBrains YouTrack 6.0 with 250 issues and 3 users. It was failing to install from msi package on VM with 700 Mb of memory. After processing mentioned steps it works fine.

Resources