Le 02/03/2015 14:59, Alan DeKok wrote:
Except the rest module doesn't have a pre-proxy or post-proxy method. So... what exactly are you doing?
We changed it in order to allow calling it in pre- or post-proxy section. Anyway, we reproduced the issue with another module, see above.
Is the behaviour the same if you change rest for another module?
Yes. We wrote a simple module, which sleeps a little every time it is invoked (see attached file). We replaced rlm_rest with it and launched the benchmark tests again, with the exact same results: - pre-proxy: 1250 r/s, all threads are active. - post-proxy: 42 r/s, only part of the available threads are active. I'm wondering if there is a critical section in proxy replies handling which may explain such results ? Btw, we are using 3.0.x branch of FreeRADIUS. Regards, -- LRS This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.