I have a signal 11 after a while with a c script in a connection handlers.
I have no memory problem and unit test work well !
I’d like to know if there is a debug mode with gwan for c scripts ? and how to activate it ?
Thanks by advance
Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Because they are at the core of Web development,
servletsprovide automatic crash reports (see the crash.c example).But
connection handlerslacked this feature introduced in G-WAN v3.6+. In this version and more recent releases, it can be enabled by a#pragma debugdirective in the handler source code.There’s also a new and very detailled per-thread dump in v3.9+ to get a wider ‘picture’ of servlet/handler/libraries/server errors. It is stored in the ./trace file.
Your crash dump reports a
libccall error. The main source of such errors has been found in memory allocations. G-WAN v3.4+ tried to catch them more effectively by using its own (wait-free) allocator.BTW,
siegeis not performing very well whether this is on single-Cores or on multicore systems (for performance tests,weighttpwill let you test the server instead of the client).