Hi @Dino,
Our message logging is configured like this.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
MessageLogging.SetMessageLog
{var.message}
APG-Log-Name-v1.log
TIME_SIZE
10
0
1440
INFO
What is your transaction rate , approximately?
- Not so sure about this but let us say about 50-100 per second now.
Are you experiencing filesystem bottlenecks?
- Not that sure on how to check this on MP logs but see below logs that we see in or MP system.log
2017-10-13 23:39:34,069 Thread-92 INFO FILE_LOGGER - BufferedWriter.getSizeAtMessageBoundary() : file rotation due - detected
2017-10-13 23:39:34,078 Thread-92 INFO FILE_LOGGER - BufferedWriter.getSizeAtMessageBoundary() : file rotation due - detected
2017-10-13 23:39:34,568 Thread-78 INFO FILE_LOGGER - BufferedWriter.getSizeAtMessageBoundary() : file rotation due - detected
2017-10-13 23:39:34,578 Thread-78 INFO FILE_LOGGER - BufferedWriter.getSizeAtMessageBoundary() : file rotation due - detected
2017-10-13 23:40:27,794 Thread-92 INFO FILE_LOGGER -
main INFO FILE_LOGGER - BufferedWriter.start() : Starting logging thread
2017-10-13 11:23:59,809 main INFO FILE_LOGGER - TimeBasedFileRotator.() : Creating timeBased rotator with maxSeconds 86400
2017-10-13 11:23:59,810 Thread-135 INFO FILE_LOGGER - BufferedWriter.run() : Signalling threadInit completion
2017-10-13 11:24:00,244 main INFO FILE_LOGGER - BufferedWriter.start() : Starting logging thread
2017-10-13 11:24:00,244 main INFO FILE_LOGGER - TimeBasedFileRotator.() : Creating timeBased rotator with maxSeconds 86400
2017-10-13 11:24:00,250 Thread-136 INFO FILE_LOGGER - BufferedWriter.run() : Signalling threadInit completion
2017-10-13 11:28:45,600 Apigee-Main-9 INFO FILE_LOGGER - BufferedWriter.close() : Stopping logger thread
2017-10-13 11:28:45,600 Apigee-Main-9 INFO FILE_LOGGER - BufferedWriter.close() : Sending interrupt to logger thread
2017-10-13 11:28:45,600 Thread-37 INFO FILE_LOGGER - BufferedWriter.run() : logThread exiting
2017-10-13 11:28:45,601 Thread-37 INFO FILE_LOGGER - BufferedWriter.run() : logThread exited
2017-10-13 11:28:48,356 Apigee-Main-1 INFO FILE_LOGGER - BufferedWriter.start() : Starting logging thread
2017-10-13 11:28:48,356 Apigee-Main-1 INFO FILE_LOGGER - TimeBasedFileRotator.() : Creating timeBased rotator with maxSeconds 86400
2017-10-13 11:28:48,357 Thread-144 INFO FILE_LOGGER - BufferedWriter.run() : Signalling threadInit completion
2017-10-13 11:29:02,862 org:ORG env:prod api:ORG-API-Template-v1 rev:19 messageid:tx-apg-ap-dev.ORGsg.net-13703-282-1 policy:MessageLogging.SetMessageLog Apigee-Main-8 ERROR FILE_LOGGER - BufferedWriter.bufferMessage() : Failed to write to the buffer 0
2017-10-13 11:29:02,870 org:ORG env:prod api:ORG-API-Template-v1 rev:19 messageid:tx-apg-ap-dev.ORGsg.net-13703-279-1 policy:MessageLogging.SetMessageLog Apigee-Main-5
2017-10-13 06:11:36,343 org:ORG env:prod api:ORG-API-Template-v1 rev:18 messageid:tx-apg-ap-dev.ORGsg.net-14461-4350-1 NIOThread@1 ERROR ADAPTORS.HTTP.FLOW - ResponseWriteListener.onException() : ResponseWriteListener.onException(HTTPResponse@37d029d4, Broken pipe)
java.io.IOException: Broken pipe
Caused by: java.io.IOException: Broken pipe
2017-10-13 06:19:37,704 org:ORG env:prod api:APIProxy rev:20 messageid:b842d695-492e-4053-8939-145e493fb178 NIOThread@1 INFO HTTP.SERVICE - ExceptionHandler.handleException() : Exception java.io.IOException: Broken pipe occurred while writing to channel ClientOutputChannel(ClientChannel[A:127.0.0.1:8998 Remote host:127.0.0.1:44298]@2451 useCount=1 bytesRead=0 bytesWritten=140 age=55296ms lastIO=0ms )
java.io.IOException: Broken pipe
Caused by: java.io.IOException: Broken pipe
2017-10-13 06:19:37,705 org:ORG env:prod api:APIProxy rev:20 messageid:b842d695-492e-4053-8939-145e493fb178 NIOThread@1 INFO HTTP.SERVICE - ExceptionHandler.handleException() : Exception java.io.IOException: Broken pipe occurred while writing to channel ClientOutputChannel(ClientChannel[A:127.0.0.1:8998 Remote host:127.0.0.1:44298]@2451 useCount=1 bytesRead=0 bytesWritten=140 age=55297ms lastIO=0ms )
Is the system IO bound? (Do you see excessive IO Waits?) Do you have filesystem space? - File system space is fine as per checking
Can you check your monitoring on the physical server to verify that you’re not experiencing any of those kinds of issues?
- Will check with our server side guys on how to do this.