Openload (http://openwebload.sourceforge.net/#download) 라는 간단한 툴이 있어서
5분동안 100명으로 요청하여 cpu 잘 쓰는지 확인 가능.
(명령어 : > openload -l 300 http://주소/redmine/projects/test-project/issues 100)
설정 방법
1. balancer 추가
D:\Bitnami\redmine-3.2.0-2\apps\redmine\conf\httpd-prefix.conf
<Proxy balancer://redminecluster>
...
BalancerMember http://127.0.0.1:3003/redmine
BalancerMember http://127.0.0.1:3004/redmine
BalancerMember http://127.0.0.1:3005/redmine
BalancerMember http://127.0.0.1:3006/redmine
BalancerMember http://127.0.0.1:3007/redmine
BalancerMember http://127.0.0.1:3008/redmine
</Proxy>
-----------------------------------------------------------------------------------------------
2. readminThin 서비스 추가(관리자 권한 콘솔)
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" install "redmineThin3" -user "NT AUTHORITY\LocalService" -password "" -start auto "D:\Bitnami\redmine-3.2.0-2\ruby\bin\ruby.exe" "D:\Bitnami\redmine-3.2.0-2/apps/redmine\htdocs\bin\thin" start -p 3003 -e production -c "D:\Bitnami\redmine-3.2.0-2/apps/redmine/htdocs" -a 127.0.0.1 --prefix /redmine
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" install "redmineThin4" -user "NT AUTHORITY\LocalService" -password "" -start auto "D:\Bitnami\redmine-3.2.0-2\ruby\bin\ruby.exe" "D:\Bitnami\redmine-3.2.0-2/apps/redmine\htdocs\bin\thin" start -p 3004 -e production -c "D:\Bitnami\redmine-3.2.0-2/apps/redmine/htdocs" -a 127.0.0.1 --prefix /redmine
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" install "redmineThin5" -user "NT AUTHORITY\LocalService" -password "" -start auto "D:\Bitnami\redmine-3.2.0-2\ruby\bin\ruby.exe" "D:\Bitnami\redmine-3.2.0-2/apps/redmine\htdocs\bin\thin" start -p 3005 -e production -c "D:\Bitnami\redmine-3.2.0-2/apps/redmine/htdocs" -a 127.0.0.1 --prefix /redmine
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" install "redmineThin6" -user "NT AUTHORITY\LocalService" -password "" -start auto "D:\Bitnami\redmine-3.2.0-2\ruby\bin\ruby.exe" "D:\Bitnami\redmine-3.2.0-2/apps/redmine\htdocs\bin\thin" start -p 3006 -e production -c "D:\Bitnami\redmine-3.2.0-2/apps/redmine/htdocs" -a 127.0.0.1 --prefix /redmine
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" install "redmineThin7" -user "NT AUTHORITY\LocalService" -password "" -start auto "D:\Bitnami\redmine-3.2.0-2\ruby\bin\ruby.exe" "D:\Bitnami\redmine-3.2.0-2/apps/redmine\htdocs\bin\thin" start -p 3007 -e production -c "D:\Bitnami\redmine-3.2.0-2/apps/redmine/htdocs" -a 127.0.0.1 --prefix /redmine
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" install "redmineThin8" -user "NT AUTHORITY\LocalService" -password "" -start auto "D:\Bitnami\redmine-3.2.0-2\ruby\bin\ruby.exe" "D:\Bitnami\redmine-3.2.0-2/apps/redmine\htdocs\bin\thin" start -p 3008 -e production -c "D:\Bitnami\redmine-3.2.0-2/apps/redmine/htdocs" -a 127.0.0.1 --prefix /redmine
net start redmineThin3
net start redmineThin4
net start redmineThin5
net start redmineThin6
net start redmineThin7
net start redmineThin8
- 삭제방법
net stop redmineThin3
net stop redmineThin4
net stop redmineThin5
net stop redmineThin6
net stop redmineThin7
net stop redmineThin8
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" uninstall "redmineThin3"
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" uninstall "redmineThin4"
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" uninstall "redmineThin5"
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" uninstall "redmineThin6"
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" uninstall "redmineThin7"
"D:\Bitnami\redmine-3.2.0-2/apps/redmine\scripts\winserv.exe" uninstall "redmineThin8"
-----------------------------------------------------------------------------------------------
3. Bitnami Redmine Stack Manager Tool 에 서비스 추가하기
D:\Bitnami\redmine-3.2.0-2\properties.ini 맨 아래에 추가 후 툴 재실행
[Thin_redmine3]
thin_server_port=3003
thin_unique_service_name=redmineThin3
[Thin_redmine4]
thin_server_port=3004
thin_unique_service_name=redmineThin4
[Thin_redmine5]
thin_server_port=3005
thin_unique_service_name=redmineThin5
[Thin_redmine6]
thin_server_port=3006
thin_unique_service_name=redmineThin6
[Thin_redmine7]
thin_server_port=3007
thin_unique_service_name=redmineThin7
[Thin_redmine8]
thin_server_port=3008
thin_unique_service_name=redmineThin8
추가 참고 사항 :
* readmind_ckeditor 1.1.3 의 이미지 업로드(Browse and Upload images) 시 아래 에러나는 경우 (썸네일 생성하다 실패)
에러 내용(alert 창) : "Could not upload your file:- rich_file There was an error processing the thumbnail for c81e728d9d4c2f636f067f89cc14862c20160310-7000-6mxbah"
1. readminThin1,2 서비스를 AUTHORITY\LocalService 로 로그온 설정 (암호는 공백)
2. 윈도우 환경 변수 추가
Path : C:\Bitnami\redmine-3.2.0-2\imagemagick
MAGICK_CODER_MODULE_PATH : C:\Bitnami\redmine-3.2.0-2\imagemagick
3. 서비스 재시작
'가지가지' 카테고리의 다른 글
hadoop 2.7.3 - 소스 개발환경 (windows, eclipse) (0) | 2017.06.05 |
---|---|
hadoop 2.7.3 - windows 컴파일 (use visual studio 2017) (0) | 2017.06.05 |
docker getstarted + @ 명렁어 정리 (0) | 2017.05.12 |
scala + play 설치 (0) | 2017.02.06 |
[redmine] redmine_ckeditor 1.1.3 사용시 이미지 업로드 문제 (0) | 2016.03.10 |
redmine plugin Unable to autoload ... define it (0) | 2016.03.07 |
redmine data tables (0) | 2016.02.26 |
redmine plugin 을 위한 디버깅 준비 (0) | 2016.02.22 |