Linux signal (signal kill alarm raise abort settimer sigaction SIGCHLD recycles child process)

1. Basic concepts of signals: 1. Signal mechanism When process A sends a signal to process B, once process B receives the signal, it will stop the executing process and process the signal. After processing the signal, it will continue to return to execute the previous process. It can be seen that the priority of […]

org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer

//Error log org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:351) at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:776) at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:681) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:386) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:364) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96) at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:2159) at com.fasterxml.jackson.core.json.UTF8JsonGenerator._writeStringSegments(UTF8JsonGenerator.java:1302) at com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeString(UTF8JsonGenerator.java:502) at com.fasterxml.jackson.databind.ser.std.StringSerializer.serialize(StringSerializer.java:41) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319) at com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1516) at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:1006) at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.writeInternal(AbstractJackson2HttpMessageConverter.java:343) at org.springframework.http.converter.AbstractGenericHttpMessageConverter.write(AbstractGenericHttpMessageConverter.java:104) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:277) at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:181) at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:82) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:123) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at […]

Encountering org.apache.catalina.connector.ClientAbortException again: java.net.SocketException: Broken pipe (Write failed)…

On the “Payment Record” page of the Youfu merchant platform, the merchant operator clicks the “Download Settlement Voucher” button, and the system will return the receipt file of the transaction with the selected conditions to the browser page in the form of a zip package. Because the program involves complex calculations, library reading, network, and […]

ClientAbortException: java.io.IOException: Software on your host aborted an established connection.

Calledee Service 20:52:57.530 [http-nio-50009-exec-7] ERROR c.r.c.s.h.GlobalExceptionHandler – [handleException,93] – Requesting address ‘/findInner’, a system exception occurred. org.apache.catalina.connector.ClientAbortException: java.io.IOException: Software on your host aborted an established connection. at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353) at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:784) at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:689) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:388) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:366) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96) at org.springframework.util.StreamUtils$NonClosingOutputStream.write(StreamUtils.java:287) at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:2171) at com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeString(UTF8JsonGenerator.java:515) at com.fasterxml.jackson.databind.SerializerProvider.defaultSerializeDateValue(SerializerProvider.java:1199) at com.fasterxml.jackson.databind.ser.std.DateTimeSerializerBase._serializeAsString(DateTimeSerializerBase.java:211) at com.fasterxml.jackson.databind.ser.std.DateSerializer.serialize(DateSerializer.java:51) at com.fasterxml.jackson.databind.ser.std.DateSerializer.serialize(DateSerializer.java:15) at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728) at […]

[Linux] Process Signals Part I: Signal generation (signal, kill, raise, abort, alarm), signal storage (core dump)

Article directory 1. signal function: user-defined signal capture 2. Generation of signals 1. Generate signals through interrupt buttons 2. Call system functions to send signals to the process 2.1 kill function: send any signal to any process 2.2 raise function: send any signal to the calling process 2.3 abort function: Send signal No. 6 to […]

RabbitMq Consumer thread error, thread abort. Abnormal cause service shutdown problem

Description of the problem When using the rabbitMq consumer to monitor in simple mode, the service suddenly shuts down automatically, without any cpu or memory alarm beforehand. Check the log before closing the service and find OOM exception Consumer thread error, thread abort. But why does an exception cause the service to shut down? When […]

Abort message: ‘JNI ERROR (app bug): global reference table overflow (max=51200) global reference tab

When analyzing the automatic restart of the mobile phone, it was found that the Abort message: ‘JNI ERROR (app bug): global reference table overflow (max=51200) global reference table dump was abnormal, which resulted in the killing of the system_server and the restart of the mobile phone. The error message is as follows: 04-21 15:34:08.033 6929 […]

[Solved] Advanced cross-platform application development (36): uniapp uses uni.request to request an error {“errMsg”:”request:fail abort statusCode:-1″} solution

Article table of contents 1. Problem presentation 2. Problem Analysis 2.1 The phone is not connected to the Internet 2.2 https ssl certificate parsing (not verified) 2.3 data serialization error 3. Solutions 3.1 Network Detection 3.2 Request Encapsulation 4. Extended reading 1. Problem presentation In uniapp, after using uni.request() to initiate a request to the […]

[Solved] Deploying to the environment using the tinymce rich text editor reports an error: /js/skins/ui/oxide/content.min.css net::ERR_ABORTED 404 (Not Found)

Problem description No error is reported when debugging locally, but the following error is reported after deploying to the environment: /js/skins/ui/oxide/skin.min.css net::ERR_ABORTED 404 (Not Found) /js/skins/ui/oxide/content.min.css net::ERR_ABORTED 404 (Not Found) /js/skins/content/default/content.css net::ERR_ABORTED 404 (Not Found) Cause Analysis: These css files cannot be found after packaging. Solution: Introduce styles when init rich text box init: {<!– […]