Re: [Cppcms-users] "booster::thread: failed to create a thread" error while running application
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2011-08-20 19:48:02
|
Hello, First of all you have quite tide ulimits. With this options I've played a little with service.worker_threads and with a value above 100 it failed to create threads. 200MB of total memory and 215 max user process (basically threads and so on) By default CppCMS starts 5*#CPUs so if you have some 8 core machine or something like that it would start 40 threads. You may change this options (service.worker_threads) also I'd suggest to play with ulimits and the option I've mentioned and see what exactly makes the problem. See: http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_config#service.worker_threads >6.The following tests FAILED: > 13 - status_test (Failed) > 14 - async_status_test (Failed) > 15 - form_test (Failed) > 16 - cookie_test (Failed) > 17 - internal_forwarder_test (Failed) > 18 - forwarder_test (Failed) > 19 - jsonrpc_test (Failed) > 52 - test_backtrace_backtrace (Failed) >Errors while running CTest Send the log: Testing/Temporary/LastTest.log, because it is quite starange that these tests failed. Have you disabled some modules? Bottom line: Take a look on the ulimits they seems to be either too tight or somebody did "too good" job in hardening the OS you are working on. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ |