启动错误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
这里出现问题的原因:系统启动加载的东西中有大量的输出语句,超过了阀值,造成异常
解决方案:找出这些启动时候的狗屁打印语句删除掉
引用
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
这里出现问题的原因:系统启动加载的东西中有大量的输出语句,超过了阀值,造成异常
解决方案:找出这些启动时候的狗屁打印语句删除掉
上一篇: 2011年项目回顾与总结分析
下一篇: poj—2255
推荐阅读
-
aiohttp上报:Got more than 8190 bytes (10160) when reading Status line is too long.错误的解决办法
-
启动错误Passenger::SecurityException “Line too long”
-
IDEA启动项目时报错:Error running 'Application': Command line is too long. Shorten command line for Applicat
-
【异常】启动报错Error running ‘Application‘: Command line is too long. Shorten command line for Spring
-
aiohttp上报:Got more than 8190 bytes (10160) when reading Status line is too long.错误的解决办法