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

项目不能启动,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)