欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

启动错误Passenger::SecurityException “Line too long”

程序员文章站 2022-05-19 20:21:44
...
项目不能启动,nginx错误日志中

引用


Pool2/Implementation.cpp:883 ]: Could not spawn process for group
Line too long
     in 'std::string Passenger::ApplicationPool2::Spawner::readMessageLine(Details&) [with Details = Passenger::ApplicationPool2::SmartSpawner::StartupDetails, std::string = std::basic_string<char>]' (Spawner.h:772)
     in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:566)
     in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:206)
     in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:752)
     in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:804)

[ 2014-06-21 09:52:24.1773 18259/7f10c2ffd700 agents/HelperAgent/RequestHandler.h:2231 ]: [Client 22] Cannot checkout session (exception type Passenger::SecurityException): Line too long



这里出现问题的原因:系统启动加载的东西中有大量的输出语句,超过了阀值,造成异常

解决方案:找出这些启动时候的狗屁打印语句删除掉
相关标签: passenger