Re: [Cppcms-users] "booster::thread: failed to create a thread" error while running application
Brought to you by:
artyom-beilis
From: Abhishek K. <abh...@gm...> - 2011-08-20 16:45:22
|
Hello Artyom, based on your requirements about my system, I have the following: 1. My cat /proc/version say: Linux version 2.6.32-42.1.BHsmp (ke...@bl...) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Tue Jun 28 17:06:41 MDT 2011 2. ulimit -a says: core file size (blocks, -c) 0 data seg size (kbytes, -d) 204800 scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 257876 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) 204800 open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) 3600 max user processes (-u) 115 virtual memory (kbytes, -v) 2097152 file locks (-x) unlimited 3.its x86_64 platform 4.cppcms version in 0.99.9 5.I use gcc version 4.1.2 20080704 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 gmake: *** [test] Error 8 7. I am not able to know the exact location where to place the catch block, would just say: running ./mb -c config.js outputs: booster::thread: failed to create a thread and after applying the patch it now outputs: booster::thread: failed to create a thread:Resource temporarily unavailable. Let me know I could help in this any more, I am able to go good in windows with cppcms, may be some bad configuration on server making this problem :( Best Regards, |