배경 정보ColdFusion에서 10/11 통계 로깅 문제
난 그냥 최근에 생산 ColdFusion에서 10 서버에 이러한 오류를하기 시작 : 내가 건너 온 구글과 몇 시간을 소비 한 후
Service Temporary Unavailable!
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Jakarta/ISAPI/isapi_redirector/1.2.32()
어도비 포럼에이 스레드 :
https://forums.adobe.com/thread/1016323?start=0&tstart=0
가있다 이 스레드에서 많은 정보가 있지만 두 영역에 집중했습니다.
스레드/세션/메모리 메트릭의 현재 사용법을 확인하십시오.
- 내 목표는이 블로그 게시물을 마무리했다
조정에 ColdFusion에서 IIS 커넥터 구성을 메트릭 정보를 사용하여 블로그 게시물이에 참조 된 http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration
버그를보고 : https://bugbase.adobe.com/index.cfm?event=bug&id=3318104
문제점
저는 현재 # 1에 머물러 있습니다. 스레드/세션/메모리 메트릭의 현재 사용량을 가져옵니다.
확인 : CFadmin> 디버깅 & 로깅> 디버그 출력 설정> 메트릭 로깅 사용을 선택합니다.
ColdFusion에서 10 metrics.log :는 ColdFusion 11 개발 서버에서
"Information","scheduler-1","07/20/14","15:12:24",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: null Bytes received: null Bytes sent: null Free memory: 1055964040 Total memory: 1570766848 Active Sessions: 679"
"Information","scheduler-1","07/20/14","15:13:24",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: null Bytes received: null Bytes sent: null Free memory: 1136605536 Total memory: 1572864000 Active Sessions: 674"
"Information","scheduler-1","07/20/14","15:14:24",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: null Bytes received: null Bytes sent: null Free memory: 939095720 Total memory: 1572339712 Active Sessions: 673"
나는 켜져 메트릭 그것을보고 무엇을보고 바로 로깅 활성화합니다. 해당 파일의 metrics.log는 다음과 같습니다.
"Information","scheduler-1","07/20/14","15:20:59",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: null Bytes received: null Bytes sent: null Free memory: 589971080 Total memory: 1320157184 Active Sessions: 40"
"Information","scheduler-2","07/20/14","15:21:59",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: null Bytes received: null Bytes sent: null Free memory: 583831160 Total memory: 1320157184 Active Sessions: 41"
"Information","scheduler-2","07/20/14","15:22:59",,"Max threads: null Current thread count: null Current thread busy: null Max processing time: null Request count: null Error count: null Bytes received: null Bytes sent: null Free memory: 907572096 Total memory: 1431830528 Active Sessions: 40"
문제는 거의 모든 정보가 "null"로 되돌아 오는 것입니다.
ColdFusion에서 10 환경 : 윈도우 서버 2008 R2, ColdFusion에서 10 표준 64 비트, 자바 7u60
ColdFusion에서 11 환경 : 윈도우 서버 2012 R2, ColdFusion에서 11 표준 64 비트, 자바 7u65
추가 참고
이는 ColdFusion-오류가 발견되었다.ColdFusion에서 10 로그온 (아니지만 CF 11) :
java.lang.NullPointerException
at coldfusion.server.jrun4.metrics.SimpleLoadMetric.run(SimpleLoadMetric.java:157)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
[질문
이 사람이 실제로 사용되는 스레드를보고 로깅 통계를 사용 얻는 방법을 알고 있나요?
첫 번째 링크에서 "carl type3"은 그의 metrics.log 파일 샘플을 게시했으며 얻고 자하는 모든 정보를 가지고 있습니다.
CF 관리 지표 설정
ColdFusion에서 10 workers.properties :
worker.list=cfusion
worker.cfusion.type=ajp13
worker.cfusion.host=localhost
worker.cfusion.port=8012
worker.cfusion.max_reuse_connections=250
worker.cfusion.connection_pool_size=500
worker.cfusion.connection_pool_timeout=60
ColdFusion에서 10 server.xml의 커넥터 :
<Connector port="8012" protocol="AJP/1.3" redirectPort="8445" tomcatAuthentication="false" maxThreads="500" connectionTimeout ="60000" />
필자에게 CF10은 8012를 사용했으며 CF11은 8014를 사용했습니다. –
8012/8014 포트는 ColdFusion의 내부 포트입니다. 같은 것을 CF 관리자에서 사용해서는 안됩니다. –
이 포트를 80으로 설정하면 효과가있었습니다. 정보 주셔서 감사합니다! –