RE: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Yehezkel Horowitz
or trunk, as since 2.4 there is a "prefork_child_bucket" concept, which I don't fully understand its role (and how it relate to other MPMs). I'll be happy to write an updated patch if someone could explain me the role of the "prefork_child_bucket". Regards, Yehezkel

RE: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Yehezkel Horowitz
Any chance someone could take a short look and provide me a feedback (of any kind)? I know your focus is on 2.4 and trunk, but there are still many 2.2 servers out there... Patch attached again for you convenience Yehezkel Horowitz Check Point Software Technologies Ltd. From: Yehezkel

Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-19 Thread Yehezkel Horowitz
ber == 0" might be busy in a given time. But this sounds to me like a fair limitation. Note: flock give me the best results, still it seems to be with n^2 complexity (where 'n' is the number of waiting processes), so reducing the number of processes waiting on each mutex give exponential improveme

RE: How are requested URIs translated into local resource names? (where is the ap_run_translate_name function?)

2012-01-04 Thread Yehezkel Horowitz
You should look for 'core_map_to_storage' and 'ap_core_translate' in server/core.c Yehezkel Horowitz Check Point Software Technologies Ltd. From: t...@eng.ucsd.edu [mailto:t...@eng.ucsd.edu] On Behalf Of Tianyin Xu Sent: Wednesday, January 04, 2012 10:15 AM

output filters unit-testing frame-work

2011-09-25 Thread Yehezkel Horowitz
directory of Apache source. Can anyone reference me to such existing frame-work? Thanks in advanced Yehezkel Horowitz Check Point Software Technologies Ltd.

RequestHeader early with CVE-2011-3192

2011-09-01 Thread Yehezkel Horowitz
recommends not using the early mode in an operational server. Thanks Yehezkel Horowitz Check Point Software Technologies Ltd.

RE: [PR #51258] new features for mod_substitute

2011-06-09 Thread Yehezkel Horowitz
Hi Everyone I didn't have any reply to the new features I have made to mod_substitute. If any of you use this module, you might find those features helpful. Regards, Yehezkel From: Yehezkel Horowitz [mailto:horow...@checkpoint.com] Sent: Tuesday, May 24, 2011

RE: svn commit: r1103315 - /httpd/httpd/trunk/modules/filters/mod_deflate.c

2011-05-24 Thread Yehezkel Horowitz
I think it is only problem with content filters (as mod_deflate filter), not with request filters. Regards Yehezkel -Original Message- From: Ruediger Pluem [mailto:rpl...@apache.org] Sent: Tuesday, May 24, 2011 9:09 AM To: dev@httpd.apache.org Subject: Re: svn commit: r1103315 -

[PR #51256] Memory consumption by parent process at sort_hook function

2011-05-24 Thread Yehezkel Horowitz
I have noticed that sort_hook function (in apr_hooks.c) doesn't destroy temporary pool. This leads to a memory consumption of ~500K (=68 hooks * 8K) per PROCESS! Since the sorted hooks are memcpy'ed to another pool anyway, no one needs this pool after the function return. So the

[PR #51258] new features for mod_substitute

2011-05-24 Thread Yehezkel Horowitz
Changes include: 1. Support for SubstituteCond - ability to apply substitute rule only if the configured conditions are met. The conditions input could be compared to request data, environment variables and internal Apache notes. -- This section is similiar to RewriteCond, and I think it

RE: [PR #51256] Memory consumption by parent process at sort_hook function

2011-05-24 Thread Yehezkel Horowitz
process at sort_hook function On 24 May 2011, at 2:20 PM, Yehezkel Horowitz wrote: I have noticed that sort_hook function (in apr_hooks.c) doesn't destroy temporary pool. This leads to a memory consumption of ~500K (=68 hooks * 8K) per PROCESS! Since the sorted hooks are memcpy'ed

RE: ap_regexec API for buffers (not NULL terminated strings)

2011-05-19 Thread Yehezkel Horowitz
terminated strings) On 19 May 2011, at 1:06 PM, Yehezkel Horowitz wrote: Can anyone explain why ap_regexec can take only NULL terminated string? I'm working in filter context and want to run regular expression on bucket content (so I have the buffer length). Currently I had to copy the bucket content

RE: ap_regexec API for buffers (not NULL terminated strings)

2011-05-19 Thread Yehezkel Horowitz
@httpd.apache.org Subject: Re: ap_regexec API for buffers (not NULL terminated strings) On 19 May 2011, at 1:24 PM, Yehezkel Horowitz wrote: I have a patch (based on 2.2.17) to where should I submit it? Add it to bugzilla so it doesn't get lost, and then ping here, so someone can pick it up. Ideally

RE: ap_regexec API for buffers (not NULL terminated strings)

2011-05-19 Thread Yehezkel Horowitz
2011, at 1:06 PM, Yehezkel Horowitz wrote: Can anyone explain why ap_regexec can take only NULL terminated string? Presumably because that's what PCRE supports! Sounds like a sensible thing to have. Indeed, I could certainly use it. But surely this should be an enhancement request for PCRE