Help needed with Event MPM configuration settings

2014-11-04 Thread Rajalakshmi Iyer
Hello, I need some assistance with tuning Apache with event MPM. The Apache server in consideration is running an application module. The current MPM settings are - IfModule mpm_event_module StartServers 2 ServerLimit 4 MinSpareThreads 60

Setting up a connection for the lifetime of a worker thread

2013-10-17 Thread Rajalakshmi Iyer
Hello, I want to query a third-party data store from within an Apache module for each HTTP request. Currently, I am having to create a pool of connections to this third party store and checkout connections from this pool. Is it possible to setup Apache to create connection to this data store

Using libapreq to read POST request body

2012-05-28 Thread Rajalakshmi Iyer
Hello, Is it possible to use libapreq to read the POST request body? Any pointers towards examples of the same would be appreciated. Thanks in advance, Raj -- Twitter: @Blismedia http://twitter.com/#%21/blismobile BlisMedia 32 Percy Street, London W1T 2DE www.blismedia.com

STL/Boost containers in Apache module

2012-04-23 Thread Rajalakshmi Iyer
Hello, Is it possible and safe to use STL containers within Apache modules? Thanks! Regards, Raj -- Twitter: @Blismobile http://twitter.com/#!/blismobile BlisMobile Media 32 Percy Street, London W1T 2DE www.blismobile.com [image: BlisMobile] http://www.blismobile.com/[image: Follow on

Using apr_hash_t within shared memory

2012-03-21 Thread Rajalakshmi Iyer
Hello, I want to be able to store a hash map (apr_hash_t) in the Apache shared memory (created using apr_shm_create). This map will be created once and will be shared by all child processes. However, when I try to access the hash stored in the shared memory, I get a segmentation fault (because