Re: [Cppcms-users] How to prevent server goes down when crash?
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2011-08-20 10:18:22
|
>Subject: [Cppcms-users] How to prevent server goes down when crash? > > >I used Apache to configure an external application server with fastcgi mode in Windows. > > > Fastcgi is process isolation, so I try to make my > application based on cppcms crash to see how will happen > to server, but it went down when crash happen. How to prevent > this happen? Do I need to do some configuration to enable multi thread? > > To be honest I don't understand the question? How crash of cppcms programs crashes the web server? CppCMS runs different process, maximum you should get 500 HTTP Error. Another thing, on POSIX platforms you can set "service.worker_processes" to 1 and it would allow CppCMS to control its own lifetime and restart the process when it goes down automatically. http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_config#service.worker_processes Artyom >Thanks. >------------------------------------------------------------------------------ >Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >user administration capabilities and model configuration. Take >the hassle out of deploying and managing Subversion and the >tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |