From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Mon, 17 Jan 2005 18:52:48 +0000 Subject: Re: udevd - throttle fork() if we get to many childs in running state Message-Id: <20050117185248.GA20783@us.ibm.com> List-Id: References: <1104030808.5805.34.camel@localhost.localdomain> In-Reply-To: <1104030808.5805.34.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Kay - On Sun, Jan 16, 2005 at 05:16:39PM +0100, Kay Sievers wrote: > If the system reaches a defined limit of processes in running state, udevd > starts to count its own processes in running state from its session (all > forked hotplug child processes, subprocesses and callouts) and throttles > further process forking if the limit is reached. Why do you only count running processes? Seems a bit abitrary, since you don't know when the sleeping processes will become runnable. Why not increase the total limit, and count all of its processes? I doubt that would change timings. -- Patrick Mansfield ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel