How do you avoid Broken Pipe Exceptions which are logged in Securonix.log

asked 15 Oct '14, 10:41

mnair's gravatar image

mnair
71149
accept rate: 9%


This error comes primarily because of configurations for Profiler.xml. Make changes to profiler.xml to avoid these error

Below is a sample of the profiler.xml

<Resource name="XXXXXXXXXXXXXX"

        auth="Container"

        type="XXXXXXXXXXXXXXXXXX"

        username="XXXXXXXXXXXXXXX"

        driverClassName="XXXXXXXXXXXXXXXXXX"

        url="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

        charSet="UTF-8"

        maxActive="50"

        maxIdle="5"

        maxWait="-1"

        initialSize="10"

        removeAbandonedTimeout="60"

        removeAbandoned="true"

        logAbandoned="true"

        testWhileIdle="true"

        testOnReturn="true"

        timeBetweenEvictionRunsMillis="10000"

        abandonWhenPercentageFull="50"

        minEvictableIdleTimeMillis="60000"

        numTestsPerEvictionRun="3"

        validationQuery="SELECT 1"

        validationInterval="30000"

        factory="XXXXXXXXXXXXXXXXXXXXXXXXX"

        encryptedPassword="XXXXXXXXXXXXXXXXXXXXXXXXXXX"

/>
link

answered 15 Oct '14, 10:41

mnair's gravatar image

mnair
71149
accept rate: 9%

also make sure all the connection numbers do not exceed the values present in my.cnf

link

answered 15 Oct '14, 13:34

anjan's gravatar image

anjan ♦♦
1112311
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×1
×1

Asked: 15 Oct '14, 10:41

Seen: 988 times

Last updated: 15 Oct '14, 13:34