ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
46 stars 27 forks source link

Garbage collection blocking #2880

Closed GitHK closed 2 years ago

GitHK commented 2 years ago
 _     ._   __/__   _ _  _  _ _/_   Recorded: 15:31:05  Samples:  2
 /_//_/// /_\ / //_// / //_'/ //     Duration: 1.269     CPU time: 1.269
/   _/                      v3.4.2
Program: /home/scu/.venv/bin/gunicorn simcore_service_webserver.cli:app_factory --bind 0.0.0.0:8080 --worker-class aiohttp.GunicornWebWorker --workers=1 --name=webserver_osparc-master-02-master-simcore_master_webserver-1_2022-03-10_15:30:47_7 --log-level=warning --access-logfile=- --access-logformat=%a %t "%r" %s %b [%Dus] "%{Referer}i" "%{User-Agent}i"
1.000 instrumented  servicelib/aiohttp/monitor_slow_callbacks.py:23
└─ 1.000 instrumented  aiodebug/log_slow_callbacks.py:16
   └─ 1.000 _run  asyncio/events.py:79
      └─ 1.000 collect_garbage_periodically  simcore_service_webserver/garbage_collector_task.py:61
         └─ 1.000 collect_garbage  simcore_service_webserver/garbage_collector_core.py:50
            └─ 1.000 remove_orphaned_services  simcore_service_webserver/garbage_collector_core.py:365
               └─ 1.000 log_decorator_wrapper  servicelib/logging_utils.py:134
                  └─ 1.000 _log_arguments  servicelib/logging_utils.py:97
                     └─ 1.000 stack  inspect.py:1524
                        └─ 1.000 getouterframes  inspect.py:1496
                           └─ 1.000 getframeinfo  inspect.py:1457
                              └─ 1.000 findsource  inspect.py:772
                                 └─ 1.000 getmodule  inspect.py:726
                                    └─ 1.000 realpath  posixpath.py:387
                                       └─ 1.000 _joinrealpath  posixpath.py:396
                                          ├─ 0.500 join  posixpath.py:71
                                          └─ 0.500 [self]  
GitHK commented 2 years ago

@sanderegg @pcrespov any ideas why this might happen?

sanderegg commented 2 years ago

@GitHK any more insights on when this happen? is it on start? while running?

GitHK commented 2 years ago

Immediately after restarting the webserver, this popped up.

sanderegg commented 2 years ago

not an issue anymore. and if only on start is not a problem.