Re: Terminating Child process Dynamically

2012-03-02 Thread Dave Hodgkinson
On 2 Mar 2012, at 19:04, Shibi Ns wrote: > > Bouncing means restart the application to bring the current changes and new > data to the cache. We can't use the following logic as there are huge number > of existing data cache and perl modules involved. So the changes will be > massive. > > S

Re: Tool to create multiple requests

2012-03-02 Thread Perrin Harkins
On Tue, Feb 7, 2012 at 5:18 AM, James Smith wrote: > Apache::DBI sometimes cause issues with too many database connections - we > tend to turn it off and use DBIx::Connector as mentioned (and carefully > selected caching) here to cope with persistence of connections Can you say more about this?

Re: Tool to create multiple requests

2012-03-02 Thread Perrin Harkins
On Tue, Feb 7, 2012 at 2:05 AM, Tobias Wagener wrote: > Now I want to ask if someone knows a tool or perl modules, where I can > simulate > 50 users. http://www.hpl.hp.com/research/linux/httperf/ It can take a file of URLs to hit in order and it can do MUCH more than 50 users even on cheap hard

Re: Tool to create multiple requests

2012-03-02 Thread Michael Ludwig
Tobias Wagener schrieb am 07.02.2012 um 08:05 (+0100): > > I'm currently developing a huge application with mod_perl, unixODBC > and MaxDB/SAPDB. On my developing system everything is fine. But on > the productive system with > 50 users, I have database connection > errors and request aborts and s

Re: Terminating Child process Dynamically

2012-03-02 Thread Shibi Ns
Bouncing means restart the application to bring the current changes and new data to the cache. We can't use the following logic as there are huge number of existing data cache and perl modules involved. So the changes will be massive. Shibi On Fri, Mar 2, 2012 at 4:51 PM, André Warnier wrote:

Re: Terminating Child process Dynamically

2012-03-02 Thread Perrin Harkins
On Fri, Mar 2, 2012 at 3:20 AM, Shibi Ns wrote: > I would like terminate current sever Child  process after the end of current > request because some data is cached and data is changed after the process > creation.  The data cached during InitChild phase > > Is it possible ? It certainly is! You

Re: Terminating Child process Dynamically

2012-03-02 Thread Vincent Veyron
Le vendredi 02 mars 2012 à 15:53 +0530, Shibi Ns a écrit : > Not each request , it's based some data change in database and this I can't help directly, but your post reminded me of this quote : There are only two hard things in Computer Science: cache invalidation and naming things. --

Re: Terminating Child process Dynamically

2012-03-02 Thread André Warnier
On Fri, Mar 2, 2012 at 3:32 PM, André Warnier wrote: Shibi Ns wrote: I would like terminate current sever Child process after the end of current request because some data is cached and data is changed after the process creation. The data cached during InitChild phase Is it possible ? It

Re: Terminating Child process Dynamically

2012-03-02 Thread Shibi Ns
Not each request , it's based some data change in database and this could happen couple of times in day that's all. We really don't want to go ahead bounce the application in order refresh the cache On Fri, Mar 2, 2012 at 3:32 PM, André Warnier wrote: > Shibi Ns wrote: > >> I would like terminat

Re: Terminating Child process Dynamically

2012-03-02 Thread André Warnier
Shibi Ns wrote: I would like terminate current sever Child process after the end of current request because some data is cached and data is changed after the process creation. The data cached during InitChild phase Is it possible ? It is certainly possible (*), but really, really, really inef

Terminating Child process Dynamically

2012-03-02 Thread Shibi Ns
I would like terminate current sever Child process after the end of current request because some data is cached and data is changed after the process creation. The data cached during InitChild phase Is it possible ? Which phase should i do this -- --Shibi Ns--