java implements Chinese numbers and Arabic numerals to each other

2023-01-21   ES  

Issue

ERROR: [1] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2019-05-28T22:48:34,271][INFO ][o.e.n.Node               ] [elasticsearch-01] stopping ...
[2019-05-28T22:48:34,301][INFO ][o.e.n.Node               ] [elasticsearch-01] stopped
[2019-05-28T22:48:34,302][INFO ][o.e.n.Node               ] [elasticsearch-01] closing ...
[2019-05-28T22:48:34,329][INFO ][o.e.n.Node               ] [elasticsearch-01] closed
[2019-05-28T22:48:34,333][INFO ][o.e.x.m.p.NativeController] [elasticsearch-01] Native controller process has stopped - no new native processes can be started

Answer

Reason: The value of Type: Soft and HARD, Item: NOFILE in Limits.conf file is too low, and it needs to be increased to at least 65535

Solution: Modify /etc/security/limits.conf file, and then log in to the user

* soft nofile 65536
* hard nofile 131072
* soft nproc 4096
* hard nproc 4096

source

Related Posts

VC Thinking deeply: I have to say a business in business!

Sorting method (C ++)

Little Bai Xue Python —— Use Baidu Translation API to achieve translation function

X-axis length, that is, gray level axis_params = [] axis_params.append (0) axis_params.append (x_size) #plt.figure () if name! = None: PLT.TITLE (name) PLT.BAR (Tuple (Keys), Tuple (Values))#Draw a histogram #PLT.SHOW () #Map the ash array as a histogram dictionary, nums represents the magnitude of the grayness DEF ArrayTohist (Grayarray, Nums): if (len (grayarray.shape)! = 2): Print (“length error”) Return None w, h = Grayarray.shape Hist = {} For K in Range (NUMS): Hist [k] = 0 for I in Range (W): for j in range (h): if (hest.get (grayarray [i] [j]): is none): history [grayarray [i] [j]] = 0 Hist [grayarray [i] [j]] += 1 #normalize n = w*h for key in history.keys (): Hist [key] = float (history [key])/n Return Hist #Accut the cumulative histogram calculating new balanced pictures, nums is grayscale, 256 DEF Equalization (Grayarray, H_S, Nums): #Calculation accumulated histogram TMP = 0.0 h_acc = h_s.copy () for I in Range (256): TMP += H_S [i] h_acc [i] = tmp if (len (grayarray.shape)! = 2): Print (“length error”) Return None w, h = Grayarray.shape des = np.zeros ((w, h), dtype = np.uint8) for I in Range (W): for j in range (h): des [i] [j] = int ((nums – 1)* h_acc [grayarray [i] [j]] +0.5) Return des DEF HISTMATCH (Grayarray, H_D): #Calculation accumulated histogram TMP = 0.0 h_acc = h_d.copy () for I in Range (256): TMP += H_D [i] h_acc [i] = tmp h1 = Arraytohist (Grayarray, 256) TMP = 0.0 h1_acc = h1.copy () for I in Range (256): TMP += H1 [i] h1_acc [i] = tmp #Calculation mapping M = np.zeros (256) for I in Range (256): IDX = 0 minv = 1 for j in h_acc: if (np.fabs (h_acc [j] -h1_acc [i])

java implements Chinese numbers and Arabic numerals to each other

Random Posts

Java Written year and month to query the calendar class

qt can’t find -lpulse -mailoop -glib, can’t find -lpulse problem

Openark installation tutorial

IOS no bomber box changes icons, just use it directly

F1 score, Micro F1Score, Macro F1Score