상태 JSON 파일의 API 요청 통계를 업데이트하고, 최근 요청 수 및 성공률을 반영하였습니다. 일일 통계에서 처리된 이미지 수와 네트워크 트래픽 정보를 개선하였으며, 서버 로그에 새로운 배치 처리 정보를 추가하였습니다. 또한, 평균 응답 시간 및 동시 요청 수를 업데이트하였습니다. .gitignore 파일에 로그 파일 및 PID 파일을 추가하여 불필요한 파일이 버전 관리에 포함되지 않도록 하였습니다.

This commit is contained in:
vast 2025-10-03 04:41:04 +00:00
parent 9beef5afbd
commit 70c47db16c
5 changed files with 286 additions and 35 deletions

15
.gitignore vendored
View File

@ -21,4 +21,17 @@ pyvenv.cfg
status.json status.json
*.logs *.logs
*.log *.log
*.pid *.pid
status.json
logs/main.log
logs/main_server.log
logs/error.log
logs/monitoring.log
logs/access.log
logs/main_size.log
logs/main_server_size.log
logs/error_size.log
logs/monitoring_size.log
logs/access_size.log
logs/main_server_size.log
logs/main_server_size.log

View File

@ -428872,3 +428872,58 @@ RuntimeError: Expected tensor for argument #1 'input' to have the same type as t
2025-10-03 04:39:46,508 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.127s 2025-10-03 04:39:46,508 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.127s
2025-10-03 04:39:46,508 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.127s (avg: 0.127s/image) 2025-10-03 04:39:46,508 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.127s (avg: 0.127s/image)
2025-10-03 04:39:46,508 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs. 2025-10-03 04:39:46,508 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
2025-10-03 04:39:53,874 - app.api.endpoints - INFO - 플러그인 호환 엔드포인트 '/api/v1/run_plugin_gen_image' 호출됨 (모델: rembg)
2025-10-03 04:39:53,898 - app.models.bria_rmbg_onnx - INFO - 배경제거 시작(Bria ONNX): image.shape=(800, 800, 3), model_name=briaaiRMBG-1.4
2025-10-03 04:39:53,980 - app.models.bria_rmbg_onnx - INFO - Bria ONNX mask stats: min=0, max=255, mean=103.434
2025-10-03 04:39:53,980 - app.models.bria_rmbg_onnx - INFO - 'bria-rmbg' processed in 0.081s
2025-10-03 04:39:53,980 - app.core.worker_manager - INFO - 'rembg (briaaiRMBG-1.4)' processed in 0.083s
2025-10-03 04:39:58,145 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
2025-10-03 04:39:58,146 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:39:58,175 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:39:58,281 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.135s
2025-10-03 04:39:58,281 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.135s (avg: 0.135s/image)
2025-10-03 04:39:58,281 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
2025-10-03 04:40:01,557 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
2025-10-03 04:40:01,558 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:01,581 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:01,678 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.120s
2025-10-03 04:40:01,678 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.120s (avg: 0.120s/image)
2025-10-03 04:40:01,678 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
2025-10-03 04:40:07,203 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
2025-10-03 04:40:07,205 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:07,241 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:07,339 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.134s
2025-10-03 04:40:07,339 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.134s (avg: 0.134s/image)
2025-10-03 04:40:07,339 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
2025-10-03 04:40:07,557 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
2025-10-03 04:40:07,558 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:07,582 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:07,679 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.121s
2025-10-03 04:40:07,679 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.121s (avg: 0.121s/image)
2025-10-03 04:40:07,679 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
2025-10-03 04:40:17,109 - app.core.batch_manager - INFO - Creating a new batch with 2 jobs.
2025-10-03 04:40:17,110 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 2). VRAM: 0.0 GB
2025-10-03 04:40:17,163 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 2개 이미지 인페인팅 수행
2025-10-03 04:40:35,453 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 2). VRAM: 0.0 GB | Duration: 18.343s
2025-10-03 04:40:35,454 - app.core.worker_manager - INFO - 'simple-lama' batch of 2 processed in 18.343s (avg: 9.171s/image)
2025-10-03 04:40:35,454 - app.core.batch_manager - INFO - Successfully processed batch of 2 jobs.
2025-10-03 04:40:35,829 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
2025-10-03 04:40:35,829 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:35,855 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:35,955 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.125s
2025-10-03 04:40:35,955 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.125s (avg: 0.125s/image)
2025-10-03 04:40:35,955 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
2025-10-03 04:40:35,981 - app.api.endpoints - INFO - 플러그인 호환 엔드포인트 '/api/v1/run_plugin_gen_image' 호출됨 (모델: rembg)
2025-10-03 04:40:36,004 - app.models.bria_rmbg_onnx - INFO - 배경제거 시작(Bria ONNX): image.shape=(1000, 750, 3), model_name=briaaiRMBG-1.4
2025-10-03 04:40:36,092 - app.models.bria_rmbg_onnx - INFO - Bria ONNX mask stats: min=0, max=255, mean=105.917
2025-10-03 04:40:36,092 - app.models.bria_rmbg_onnx - INFO - 'bria-rmbg' processed in 0.087s
2025-10-03 04:40:36,093 - app.core.worker_manager - INFO - 'rembg (briaaiRMBG-1.4)' processed in 0.089s
2025-10-03 04:40:36,316 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-10-03 04:40:36,317 - app.core.worker_manager - INFO - Stopping worker manager...
2025-10-03 04:40:36,317 - app.core.worker_manager - INFO - Worker manager stopped
2025-10-03 04:40:36,317 - main - INFO - ✅ 워커 매니저 중지 완료
2025-10-03 04:40:36,317 - app.core.batch_manager - INFO - Stopping BatchManager...
2025-10-03 04:40:36,318 - app.core.batch_manager - INFO - BatchManager stopped.
2025-10-03 04:40:36,318 - main - INFO - ✅ 배치 관리자 중지 완료
2025-10-03 04:40:36,318 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-10-03 04:40:36,318 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.

View File

@ -1203,3 +1203,171 @@ INFO: 127.0.0.1:35652 - "GET /api/v1/health HTTP/1.1" 200 OK
INFO: 127.0.0.1:35654 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK INFO: 127.0.0.1:35654 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:35660 - "GET /api/v1/stats HTTP/1.1" 200 OK INFO: 127.0.0.1:35660 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:35676 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK INFO: 127.0.0.1:35676 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:35680 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:35686 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:35688 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:35702 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 115.138.85.166:63771 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO:app.api.endpoints:플러그인 호환 엔드포인트 '/api/v1/run_plugin_gen_image' 호출됨 (모델: rembg)
2025-10-03 04:39:53,874 - app.api.endpoints - INFO - 플러그인 호환 엔드포인트 '/api/v1/run_plugin_gen_image' 호출됨 (모델: rembg)
INFO:app.models.bria_rmbg_onnx:배경제거 시작(Bria ONNX): image.shape=(800, 800, 3), model_name=briaaiRMBG-1.4
2025-10-03 04:39:53,898 - app.models.bria_rmbg_onnx - INFO - 배경제거 시작(Bria ONNX): image.shape=(800, 800, 3), model_name=briaaiRMBG-1.4
INFO:app.models.bria_rmbg_onnx:Bria ONNX mask stats: min=0, max=255, mean=103.434
2025-10-03 04:39:53,980 - app.models.bria_rmbg_onnx - INFO - Bria ONNX mask stats: min=0, max=255, mean=103.434
INFO:app.models.bria_rmbg_onnx:'bria-rmbg' processed in 0.081s
2025-10-03 04:39:53,980 - app.models.bria_rmbg_onnx - INFO - 'bria-rmbg' processed in 0.081s
INFO:app.core.worker_manager:'rembg (briaaiRMBG-1.4)' processed in 0.083s
2025-10-03 04:39:53,980 - app.core.worker_manager - INFO - 'rembg (briaaiRMBG-1.4)' processed in 0.083s
INFO: 115.138.85.166:63773 - "POST /api/v1/run_plugin_gen_image HTTP/1.1" 200 OK
INFO: 127.0.0.1:47214 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:47220 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:47236 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:47244 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:47256 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 220.77.167.192:54179 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
2025-10-03 04:39:58,145 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:39:58,146 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:39:58,175 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.135s
2025-10-03 04:39:58,281 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.135s
INFO:app.core.worker_manager:'simple-lama' batch of 1 processed in 0.135s (avg: 0.135s/image)
2025-10-03 04:39:58,281 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.135s (avg: 0.135s/image)
INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
2025-10-03 04:39:58,281 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
INFO: 220.77.167.192:54180 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 127.0.0.1:47272 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:47288 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:47298 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:47302 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 115.138.85.166:63786 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO: 127.0.0.1:47308 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
2025-10-03 04:40:01,557 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:01,558 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:01,581 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.120s
2025-10-03 04:40:01,678 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.120s
INFO:app.core.worker_manager:'simple-lama' batch of 1 processed in 0.120s (avg: 0.120s/image)
2025-10-03 04:40:01,678 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.120s (avg: 0.120s/image)
INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
2025-10-03 04:40:01,678 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
INFO: 115.138.85.166:63787 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 127.0.0.1:47324 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:47338 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:51152 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:51156 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:51164 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:51178 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:51186 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 220.77.167.192:54187 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO: 115.138.85.166:63797 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
2025-10-03 04:40:07,203 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:07,205 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:07,241 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.134s
2025-10-03 04:40:07,339 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.134s
INFO:app.core.worker_manager:'simple-lama' batch of 1 processed in 0.134s (avg: 0.134s/image)
2025-10-03 04:40:07,339 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.134s (avg: 0.134s/image)
INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
2025-10-03 04:40:07,339 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
INFO: 220.77.167.192:54188 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 127.0.0.1:51188 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
2025-10-03 04:40:07,557 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:07,558 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:07,582 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.121s
2025-10-03 04:40:07,679 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.121s
INFO:app.core.worker_manager:'simple-lama' batch of 1 processed in 0.121s (avg: 0.121s/image)
2025-10-03 04:40:07,679 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.121s (avg: 0.121s/image)
INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
2025-10-03 04:40:07,679 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
INFO: 115.138.85.166:63798 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 127.0.0.1:51204 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:51208 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:51212 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:51220 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:51232 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:51238 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:51240 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:57302 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:57306 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:57322 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 127.0.0.1:57328 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 127.0.0.1:57338 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO: 115.138.85.166:63813 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO: 220.77.167.192:54192 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO:app.core.batch_manager:Creating a new batch with 2 jobs.
2025-10-03 04:40:17,109 - app.core.batch_manager - INFO - Creating a new batch with 2 jobs.
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 2). VRAM: 0.0 GB
2025-10-03 04:40:17,110 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 2). VRAM: 0.0 GB
INFO:app.models.simple_lama:실제 SimpleLama 모델로 2개 이미지 인페인팅 수행
2025-10-03 04:40:17,163 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 2개 이미지 인페인팅 수행
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 2). VRAM: 0.0 GB | Duration: 18.343s
2025-10-03 04:40:35,453 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 2). VRAM: 0.0 GB | Duration: 18.343s
INFO:app.core.worker_manager:'simple-lama' batch of 2 processed in 18.343s (avg: 9.171s/image)
2025-10-03 04:40:35,454 - app.core.worker_manager - INFO - 'simple-lama' batch of 2 processed in 18.343s (avg: 9.171s/image)
INFO:app.core.batch_manager:Successfully processed batch of 2 jobs.
2025-10-03 04:40:35,454 - app.core.batch_manager - INFO - Successfully processed batch of 2 jobs.
INFO: 115.138.85.166:63814 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 220.77.167.192:54193 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 127.0.0.1:38944 - "GET /api/v1/stats HTTP/1.1" 200 OK
INFO: 112.165.125.222:8250 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO: 115.138.36.50:45984 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO: 127.0.0.1:38956 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
2025-10-03 04:40:35,829 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
2025-10-03 04:40:35,829 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
2025-10-03 04:40:35,855 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.125s
2025-10-03 04:40:35,955 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.125s
INFO:app.core.worker_manager:'simple-lama' batch of 1 processed in 0.125s (avg: 0.125s/image)
2025-10-03 04:40:35,955 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.125s (avg: 0.125s/image)
INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
2025-10-03 04:40:35,955 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
INFO: 115.138.36.50:5053 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO:app.api.endpoints:플러그인 호환 엔드포인트 '/api/v1/run_plugin_gen_image' 호출됨 (모델: rembg)
2025-10-03 04:40:35,981 - app.api.endpoints - INFO - 플러그인 호환 엔드포인트 '/api/v1/run_plugin_gen_image' 호출됨 (모델: rembg)
INFO:app.models.bria_rmbg_onnx:배경제거 시작(Bria ONNX): image.shape=(1000, 750, 3), model_name=briaaiRMBG-1.4
2025-10-03 04:40:36,004 - app.models.bria_rmbg_onnx - INFO - 배경제거 시작(Bria ONNX): image.shape=(1000, 750, 3), model_name=briaaiRMBG-1.4
INFO:app.models.bria_rmbg_onnx:Bria ONNX mask stats: min=0, max=255, mean=105.917
2025-10-03 04:40:36,092 - app.models.bria_rmbg_onnx - INFO - Bria ONNX mask stats: min=0, max=255, mean=105.917
INFO:app.models.bria_rmbg_onnx:'bria-rmbg' processed in 0.087s
2025-10-03 04:40:36,092 - app.models.bria_rmbg_onnx - INFO - 'bria-rmbg' processed in 0.087s
INFO:app.core.worker_manager:'rembg (briaaiRMBG-1.4)' processed in 0.089s
2025-10-03 04:40:36,093 - app.core.worker_manager - INFO - 'rembg (briaaiRMBG-1.4)' processed in 0.089s
INFO: 112.165.125.222:8251 - "POST /api/v1/run_plugin_gen_image HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO:main:🛑 인페인팅 서버 종료 중...
2025-10-03 04:40:36,316 - main - INFO - 🛑 인페인팅 서버 종료 중...
INFO:app.core.worker_manager:Stopping worker manager...
2025-10-03 04:40:36,317 - app.core.worker_manager - INFO - Stopping worker manager...
INFO:app.core.worker_manager:Worker manager stopped
2025-10-03 04:40:36,317 - app.core.worker_manager - INFO - Worker manager stopped
INFO:main:✅ 워커 매니저 중지 완료
2025-10-03 04:40:36,317 - main - INFO - ✅ 워커 매니저 중지 완료
INFO:app.core.batch_manager:Stopping BatchManager...
2025-10-03 04:40:36,317 - app.core.batch_manager - INFO - Stopping BatchManager...
INFO:app.core.batch_manager:BatchManager stopped.
2025-10-03 04:40:36,318 - app.core.batch_manager - INFO - BatchManager stopped.
INFO:main:✅ 배치 관리자 중지 완료
2025-10-03 04:40:36,318 - main - INFO - ✅ 배치 관리자 중지 완료
INFO:main:👋 인페인팅 서버 종료 완료
2025-10-03 04:40:36,318 - main - INFO - 👋 인페인팅 서버 종료 완료
WARNING:app.utils.discord_notifier:Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
2025-10-03 04:40:36,318 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
INFO: Application shutdown complete.
INFO: Finished server process [585410]

View File

@ -68,3 +68,18 @@ INFO: 122.35.47.45:57318 - "GET /api/session_events?limit=100 HTTP/1.1" 200
INFO: 122.35.47.45:57319 - "GET /api/errors HTTP/1.1" 200 OK INFO: 122.35.47.45:57319 - "GET /api/errors HTTP/1.1" 200 OK
INFO: 122.35.47.45:57338 - "GET /api/logs?lines=50 HTTP/1.1" 200 OK INFO: 122.35.47.45:57338 - "GET /api/logs?lines=50 HTTP/1.1" 200 OK
INFO: 122.35.47.45:57339 - "GET /api/performance-stats HTTP/1.1" 200 OK INFO: 122.35.47.45:57339 - "GET /api/performance-stats HTTP/1.1" 200 OK
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Read timed out. (read timeout=2)
WARNING:app.monitoring.dashboard:실시간 상태 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Read timed out. (read timeout=2)
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Read timed out. (read timeout=2)
WARNING:app.monitoring.dashboard:실시간 상태 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Read timed out. (read timeout=2)
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Read timed out. (read timeout=2)
INFO: 122.35.47.45:57353 - "GET /api/system-alerts HTTP/1.1" 200 OK
INFO: 122.35.47.45:57355 - "GET /api/model-usage-stats HTTP/1.1" 200 OK
INFO: 122.35.47.45:57354 - "GET /api/logs?lines=50 HTTP/1.1" 200 OK
INFO: 122.35.47.45:57358 - "GET /api/performance-stats HTTP/1.1" 200 OK
WARNING:app.monitoring.dashboard:실시간 상태 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Read timed out. (read timeout=2)
ERROR:app.monitoring.dashboard:❌ 메인 서버 연결 실패: HTTPConnectionPool(host='0.0.0.0', port=8008): Read timed out. (read timeout=10)
WARNING:app.utils.discord_notifier:Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
ERROR:app.monitoring.dashboard:모델 성능 통계 조회 중 예외 발생: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /api/v1/stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb8ba3a8a00>: Failed to establish a new connection: [Errno 111] Connection refused'))
INFO: 122.35.47.45:57357 - "GET /api/session_events?limit=100 HTTP/1.1" 200 OK
INFO: 122.35.47.45:57356 - "GET /api/errors HTTP/1.1" 200 OK

View File

@ -78,41 +78,41 @@
} }
}, },
"api_stats": { "api_stats": {
"total_requests": 240, "total_requests": 271,
"successful_requests": 240, "successful_requests": 271,
"failed_requests": 0, "failed_requests": 0,
"success_rate": 100.0, "success_rate": 100.0,
"endpoint_usage": { "endpoint_usage": {
"GET /api/v1/model": 66, "GET /api/v1/model": 73,
"POST /api/v1/inpaint": 55, "POST /api/v1/inpaint": 59,
"GET /api/v1/realtime_status": 113, "GET /api/v1/realtime_status": 132,
"POST /api/v1/run_plugin_gen_image": 6 "POST /api/v1/run_plugin_gen_image": 7
}, },
"endpoint_stats": { "endpoint_stats": {
"GET /api/v1/model": { "GET /api/v1/model": {
"count": 66, "count": 73,
"avg_time": 0.0017291054581150863, "avg_time": 0.0016805766379996523,
"min_time": 0.0007641315460205078, "min_time": 0.0007641315460205078,
"max_time": 0.005892276763916016, "max_time": 0.005892276763916016,
"current_concurrent": 0 "current_concurrent": 0
}, },
"POST /api/v1/inpaint": { "POST /api/v1/inpaint": {
"count": 55, "count": 59,
"avg_time": 0.8196539011868563, "avg_time": 0.7997414580846237,
"min_time": 0.31154823303222656, "min_time": 0.31154823303222656,
"max_time": 17.846105098724365, "max_time": 17.846105098724365,
"current_concurrent": 0 "current_concurrent": 2
}, },
"GET /api/v1/realtime_status": { "GET /api/v1/realtime_status": {
"count": 113, "count": 132,
"avg_time": 0.0017476344108581542, "avg_time": 0.0017667317390441895,
"min_time": 0.0008914470672607422, "min_time": 0.0009100437164306641,
"max_time": 0.003363370895385742, "max_time": 0.003363370895385742,
"current_concurrent": 0 "current_concurrent": 0
}, },
"POST /api/v1/run_plugin_gen_image": { "POST /api/v1/run_plugin_gen_image": {
"count": 6, "count": 7,
"avg_time": 1.5589174032211304, "avg_time": 1.377988576889038,
"min_time": 0.19034075736999512, "min_time": 0.19034075736999512,
"max_time": 8.038661241531372, "max_time": 8.038661241531372,
"current_concurrent": 0 "current_concurrent": 0
@ -125,41 +125,41 @@
"current_concurrent": 0 "current_concurrent": 0
} }
}, },
"average_response_time": 0.22811135053634643, "average_response_time": 0.2110112953889854,
"min_response_time": 0.0007641315460205078, "min_response_time": 0.0007641315460205078,
"max_response_time": 17.846105098724365, "max_response_time": 17.846105098724365,
"current_concurrent": 0, "current_concurrent": 2,
"max_concurrent": 4, "max_concurrent": 4,
"requests_per_second": 1.1346371141061073, "requests_per_second": 1.0444296566568958,
"uptime": 211.52137279510498, "uptime": 259.47175884246826,
"recent_errors": [] "recent_errors": []
}, },
"daily_stats": { "daily_stats": {
"date": "2025-10-03", "date": "2025-10-03",
"images_processed": { "images_processed": {
"inpaint": 55, "inpaint": 59,
"remove_bg": 0, "remove_bg": 0,
"gen_image": 6, "gen_image": 7,
"total": 61 "total": 66
}, },
"network": { "network": {
"bytes_uploaded": 64532201, "bytes_uploaded": 70520704,
"bytes_downloaded": 38777160, "bytes_downloaded": 42225425,
"requests_count": 240, "requests_count": 271,
"mb_uploaded": 61.54270267486572, "mb_uploaded": 67.2537841796875,
"mb_downloaded": 36.98078155517578, "mb_downloaded": 40.26930332183838,
"gb_uploaded": 0.06010029558092356, "gb_uploaded": 0.06567752361297607,
"gb_downloaded": 0.03611404448747635 "gb_downloaded": 0.03932549152523279
}, },
"api_calls": { "api_calls": {
"total": 240, "total": 271,
"success": 240, "success": 271,
"failed": 0 "failed": 0
}, },
"models_used": {}, "models_used": {},
"peak_concurrent": 3, "peak_concurrent": 3,
"start_time": 1759466176.0225163, "start_time": 1759466176.0225163,
"last_update": 1759466387.2252796 "last_update": 1759466416.6439548
}, },
"timestamp": 1759466387.559344 "timestamp": 1759466435.5097253
} }