在函数计算我运行start-zip-oss-v3应用,修改了源码,运行时提示超时错误,这是什么原因?“2024-03-06 17:30:11FunctionCompute python3 runtime inited.
2024-03-06 17:30:41FC Invoke Start RequestId: 1-65e837c1-17afd669-c15e15a228f0
2024-03-06 17:30:412024-03-06 17:30:41 1-65e837c1-17afd669-c15e15a228f0 [INFO] create zip, source_dir: None, source_files: None, dest_file: btc_market_cap_and_factor.csv
2024-03-06 18:00:412024-03-06 18:00:41 1-65e837c1-17afd669-c15e15a228f0 [ERROR] Dumping stack trace after function timeout
2024-03-06 18:00:412024-03-06 18:00:41 1-65e837c1-17afd669-c15e15a228f0 [ERROR] request id = 1-65e837c1-17afd669-c15e15a228f0, thread id = 140383959955200
2024-03-06 18:00:412024-03-06 18:00:41 1-65e837c1-17afd669-c15e15a228f0 [ERROR] [' File "/var/fc/lang/python3.9/lib/python3.9/threading.py", line 930, in _bootstrap\n self._bootstrap_inner()\n', ' File "/var/fc/lang/python3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner\n self.run()\n', ' File "/var/fc/lang/python3.9/lib/python3.9/threading.py", line 910, in run\n self._target(self._args, *self._kwargs)\n', ' File "/code/task_queue.py", line 66, in producer_func\n self.put_end()\n', ' File "/code/task_queue.py", line 78, in put_end\n self.queue.put(None)\n', ' File "/var/fc/lang/python3.9/lib/python3.9/queue.py", line 140, in put\n self.not_full.wait()\n', ' File "/var/fc/lang/python3.9/lib/python3.9/threading.py", line 312, in wait\n waiter.acquire()\n']
2024-03-06 18:00:412024-03-06 18:00:41 1-65e837c1-17afd669-c15e15a228f0 [ERROR] request id = 1-65e837c1-17afd669-c15e15a228f0, thread id = 140384166655744
2024-03-06 18:00:412024-03-06 18:00:41 1-65e837c1-17afd669-c15e15a228f0 [ERROR] [' File "/var/fc/runtime/python3.9/bootstrap.py", line 665, in \n main()\n', ' File "/var/fc/runtime/python3.9/bootstrap.py", line 653, in main\n handler.handle_request()\n', ' File "/var/fc/runtime/python3.9/bootstrap.py", line 292, in handle_request\n succeed, resp = execute_request_handler(self.function_type, request_handler, event, ctx)\n', ' File "/var/fc/runtime/python3.9/bootstrap.py", line 146, in execute_request_handler\n result = request_handler(req, ctx)\n', ' File "/code/main.py", line 44, in main_handler\n ret = _main_handler(oss_client, evt, context)\n', ' File "/code/main.py", line 60, in _main_handler\n return zip_files(oss_client, source_dir, source_files, dest_file)\n', ' File "/code/main.py", line 134, in zip_files\n task_q.run()\n', ' File "/code/task_queue.py", line 37, in run\n t.join(1)\n', ' File "/var/fc/lang/python3.9/lib/python3.9/threading.py", line 1057, in join\n self._wait_for_tstate_lock(timeout=max(timeout, 0))\n', ' File "/var/fc/lang/python3.9/lib/python3.9/threading.py", line 1073, in _wait_for_tstate_lock\n if lock.acquire(block, timeout):\n', ' File "/var/fc/runtime/python3.9/bootstrap.py", line 30, in dump_stacks\n detail_msg = traceback.format_stack(stack)\n']
2024-03-06 18:00:41FC Invoke End RequestId: 1-65e837c1-17afd669-c15e15a228f0, Error: Function timed out after 1800 seconds (maxMemoryUsage: 36MB)”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。