WebLogic Report broken Pipe problem resolution method __web

Source: Internet
Author: User
Tags garbage collection
Symptoms:

Warning:error Sending End Packet
Java.net.SocketException:Broken Pipe

Information:

The cause of broken pipe is usually when the pipe read end is not read, and the end of the pipeline is written, the pipeline is interrupted. (Because the pipe is a one-way communication) SIGSEGV (Segment fault) means that the address to which the pointer corresponds is an invalid address and no physical memory pair should be addressed. The following is the signal interpretation of Unix: 11/sigsegv:unerlaubter Zugriff auf Hauptspeicher (Adressfehler). 12/siguser2:user-defined Signal 2 (POSIX). Change the _java_sr_signum to 12 is the signal to become user-defined, so that it does not report out just, can not solve the problem. Suggested approach:

1. Resources are not fully released and are used to null values (Java GC is not so perfect)

2. The database connection order is closed. (Rs,ps,conn)

3. Optimize the Java Virtual machine to join the appropriate memory parameters.

4. Do not get large pieces of text in the database (that is, a field is not too large)

5. JAVA does not recommend using string to get a large amount of information. (easy to cause memory leak, recommend using StringBuffer)

6. Page Repeat submission

7. As much as possible to move the method to Java, in the JSP all the methods are considered as global variables, the compilation of execution itself has many problems.

8. Try to use a newer, more stable version of the JDK, and the lower version of the JVM itself has many bugs, such as 1. 5 of garbage collection compared to 1. 2, 1. 3 must be very obvious progress.

9. Linux system itself is not so stable, some problems can not be avoided ~ ~:)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.