Re: Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-09-04 Thread pqf
ULL) = 0 4622 13:17:16.746765 epoll_ctl(11, EPOLL_CTL_ADD, 12, {EPOLLIN, {u32=158210764, u64=158210764}} 4622 13:17:16.746833 <... epoll_ctl resumed> ) = 0 4622 13:17:16.747587 gettimeofday( 4622 13:17:16.747904 <... gettimeofday resumed> {1346217436, 747649}, NULL) = 0 4622 13:17:1

Re: Re: Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-28 Thread Lazy
ef look, it seems not necessary. I will move it out of loop and > test. > > 2012-08-28 > > pqf > > 发件人:Lazy > 发送时间:2012-08-27 21:47 > 主题:Re: Re: Re: mod_fcgid concurrency bottleneck, issue#53693 > 收件人:"

回复: Re: Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-27 Thread pqf
:Lazy 发送时间:2012-08-27 21:47 主题:Re: Re: Re: mod_fcgid concurrency bottleneck, issue#53693 收件人:"dev" 抄送: 2012/8/16 pqf : > How about this: > 1. procmgr_post_spawn_cmd() now return a status code from PM, so process > handler now know the spawn request is denyed or not. > 2. i

Re: Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-27 Thread Lazy
sary to call procmgr_init_spawn_cmd() from inside the for loop ? > > 2012-08-16 > > pqf > ____ > 发件人:Lazy > 发送时间:2012-08-16 16:47 > 主题:Re: Re: mod_fcgid concurrency bottleneck, issue#53693 > 收件人:"

回复: Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-16 Thread pqf
: Re: mod_fcgid concurrency bottleneck, issue#53693 收件人:"dev" 抄送: 2012/8/16 pqf : > Hi, Michal > My solution do "add availability to each class", which is the > procmgr_post_spawn_cmd() call in each loop do. > The sleep() call is intrudused for a stress test witho

Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-16 Thread Lazy
2012/8/16 pqf : > Hi, Michal > My solution do "add availability to each class", which is the > procmgr_post_spawn_cmd() call in each loop do. > The sleep() call is intrudused for a stress test without warm up time, in > this case, mod_fcgid will create more processes than a slow start one(each > pr

Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-16 Thread pqf
:23 主题:Re: mod_fcgid concurrency bottleneck, issue#53693 收件人:"dev" 抄送:"pqf" On 8/15/2012 8:23 PM, pqf wrote: > But since someone said remove this sleep(), the server work fine without > bottleneck(Maybe > he didn't notise the warm up issue?), so I thought remove

Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-16 Thread William A. Rowe Jr.
On 8/15/2012 8:23 PM, pqf wrote: > But since someone said remove this sleep(), the server work fine without > bottleneck(Maybe > he didn't notise the warm up issue?), so I thought remove the sleep() is a > good idea. But > reduce the time of sleep() is fine to me too. > Any other idea? Can we in

Re: Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-15 Thread pqf
间:2012-08-15 21:48 主题:Re: mod_fcgid concurrency bottleneck, issue#53693 收件人:"dev" 抄送: 2012/8/15 pqf : > Hi, all > I prefer the following solution, can anyone review it? > procmgr_post_spawn_cmd() will be blocked until process manager create a new > fcgid process, th

Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-15 Thread Lazy
2012/8/15 pqf : > Hi, all > I prefer the following solution, can anyone review it? > procmgr_post_spawn_cmd() will be blocked until process manager create a new > fcgid process, the worst case is someone else take the new created process > before I do, and I have to post another spawn command to PM

Re: mod_fcgid concurrency bottleneck, issue#53693

2012-08-15 Thread pqf
012-08-15 pqf 发件人:Mike M 发送时间:2012-08-15 04:29 主题:mod_fcgid concurrency bottleneck, issue#53693 收件人:"dev" 抄送: Ahoy! With mod_fcgid I've observed a performance bottleneck in which concurrent requests to a virtualhost where the number of concurrent requests exceed the number o

回复: mod_fcgid concurrency bottleneck, issue#53693

2012-08-14 Thread pqf
Hi, Mike It's really a problem...I will take a look and find a solution for it 2012-08-15 pqf 发件人:Mike M 发送时间:2012-08-15 04:29 主题:mod_fcgid concurrency bottleneck, issue#53693 收件人:"dev" 抄送: Ahoy! With mod_fcgid I've observed a performance bottleneck in which concu

mod_fcgid concurrency bottleneck, issue#53693

2012-08-14 Thread Mike M
Ahoy! With mod_fcgid I've observed a performance bottleneck in which concurrent requests to a virtualhost where the number of concurrent requests exceed the number of available fcgid-spawned processes result in a significant delay in responding to requests. Details of this situation, how to repro