标签:ons socket bin ESS bsp ica amp max code
该怎么解决呢?
HTTPServer里面指定max_buffer_size就可以了
# server = HTTPServer(application, max_buffer_size=504857600) # server.bind(port=options.port, address="0.0.0.0") # server.start(10) # Forks multiple sub-process # tornado.ioloop.IOLoop.current().start() from tornado.netutil import bind_sockets from tornado.process import fork_processes sockets = bind_sockets(port=options.port, address="0.0.0.0") fork_processes(10) server = HTTPServer(application, max_buffer_size=504857600) server.add_sockets(sockets) tornado.ioloop.IOLoop.current().start()
标签:ons socket bin ESS bsp ica amp max code
原文地址:https://www.cnblogs.com/renfanzi/p/9599247.html