2025년 2월 22일 토요일

스레드 하나로 AP서버에 부하가 발생될수 있을까?

우연한 타이밍인지.. 이해할순 없지만 장시간 실행되는 SAP_AFScheduler.Work 스레드가 있는 AP서버만 뭔가좀 이상한것 같음
폴링되는 배치채널은 무반응이고 일단 먼저 SAP Management Console를보면 생소한 작업들이 보임
NameTask
Timeout Event Processor, id [], invocation []Processing by com.sap.engine.services.cup.CUPTimeoutListenerImpl@
MS Message Processor []Request|Service: |mtype: 
Temporary RMI/IIOP Worker []Processing a p4 message
Managed_Application_Thread_Delivering to dedicated consumer with id: 
별다른 내용을 찾지 못함

이번에는 로그뷰어의 에러내용임
Exception of type com.sap.log.OpenSQLException caught: Exception of type com.sap.db.jdbc.exceptions.JDBCDriverException caught: SAP DBTech JDBC: Cannot connect to jdbc:sap//[host]:[port]/ [Connection to database server lost; check server and network status [System error: javaa.io.IOException: Connection reset by peer]]...
해당에러의 스레드를 보면 SAP_AFScheduler.Worker인데 
에러내용으로 아래 노츠가 확인됨
원인이 DB에 부하가 있거나 네트워크 문제 아니면 JDBC Driver문제라고 하는데 위 롱스레드가 생성하거 제거된 시점과 동일한 에러인데.. 어느원인에 가까울까?

Exception caught by adapter framework: java.io.IOException: Error receiving or parsing request message: java.lang.RuntimeException: Error while sliently connecting: org.w3c.www.protocol.http.HttpException: Connect time out
HTTP프로토콜과 관련되 스레드에서 발생되는 에러인데 정확한 노츠는 못찾았지만 1929464노츠를 보면 ‘네트워크 수준의 시스템 과부하로 인한 통합서버나 어댑터에 접근 시 타임아웃 오류가 발생’ 될수 있다고 함

Could not read mapped ID for Id [Object ID] from DB. Reason: ResourceException occurred in method ConnectionFactoryImpl.getConnection():javax.resource.ResourceException: (Failed in component: dbpool, BC-JAS-TRH) Cannot create connection. Prossible reasons...
1600085-Dbpool of AS JAVA causing application related issues 원인을 보면 시스템부하,풀크기 부족 등 내용이 확인됨

Exception occured during message dispatching to consumer with Id = [com.sap.jms.server.dc.transport.ConsumerId@, groupId = , consumerId = , destinationId =, clientConsumerId = , locked = true], connection Id = 
이 에러내용의 스레드도 SAP_AFScheduler.Worker임

지금까지 에러내용을 정리해보면 어떤원인으로 부하가 있거나 풀이 부족해지는 현상이 있는데 대체 그원인이 뭘까?

댓글 없음:

댓글 쓰기

최근글

주방일에 대해 정리