开发者社区 > 云原生 > Serverless > 正文

函数计算,怎么解决呢? Traceback (most recent call last):

函数计算,怎么解决呢?

Traceback (most recent call last):
File "/var/fc/lang/python3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/var/fc/lang/python3/lib/python3.6/threading.py", line 864, in run
self._target(self._args, *self._kwargs)
File "/opt/python/pymongo/periodic_executor.py", line 124, in _run
if not self._target():
File "/opt/python/pymongo/monitor.py", line 52, in target
monitor._run() # type:ignore[attr-defined]
File "/opt/python/pymongo/monitor.py", line 187, in _run
self._server_description, reset_pool=self._server_description.error
File "/opt/python/pymongo/topology.py", line 354, in on_change
self._process_change(server_description, reset_pool)
File "/opt/python/pymongo/topology.py", line 311, in _process_change
self._update_servers()
File "/opt/python/pymongo/topology.py", line 720, in _update_servers
server.open()
File "/opt/python/pymongo/server.py", line 49, in open
self._monitor.open()
File "/opt/python/pymongo/monitor.py", line 78, in open
self._executor.open()
File "/opt/python/pymongo/periodic_executor.py", line 86, in open
thread.start()
File "/var/fc/lang/python3/lib/python3.6/threading.py", line 846, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread

展开
收起
飘飘斯嘉丽 2023-10-08 17:07:06 73 0
1 条回答
写回答
取消 提交回答
  • 是不用了什么框架 像Django默认就是多线程的

    此答案来自钉钉群“阿里函数计算官网客户”

    2023-10-08 17:10:09
    赞同 展开评论 打赏
问答分类:
问答地址:

快速交付实现商业价值。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载