Re: [Sqlrelay-discussion] Dead children (zombies and sem undo)
Brought to you by:
mused
From: David M. <dav...@fi...> - 2011-06-29 17:59:02
|
Yeah, that is tricky. Let's wait and do something like that for the next release. On 06/29/2011 01:55 PM, Renat Sabitov wrote: > On 29.06.2011 21:25, David Muse wrote: >> Renat, >> >> This will definitely improve things, but maybe we should just make >> the scaler call reapChildren when it receives a SIGCHLD. Can you >> think of any reason why we shouldn't do that? > > The problem is with signal handler rules. It could set only one type > of static variable - sig_atomic_t. So I think it is possible to count > reaped children in signal handler in variable n_reaped and then (since > semset->wait(6) would exit and set EINTR) in the main code block > SIGCHLD, change shm and set n_reaped to 0 . A little bit tricky, but > should work. > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________________ > Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting > http://www.doteasy.com > > > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > _______________________________________________________ > Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting > http://www.doteasy.com _______________________________________________________ Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting http://www.doteasy.com |