Re: [users@httpd] Apache closes the connection after receiving a request.

2015-11-03 Thread Novi Jinx
Hi Yann, Many thanks for the prompt response. I believe it does not relate to KeepAliveTimeout. We are using the default value (KeepAliveTimeout = 5s); the time span between the successful request (which has a proper response) and the subsequent failed request (which has ACK but the connection

Re: [users@httpd] prefork vs worker mpm in apache

2015-11-03 Thread Rose, John B
On 11/3/15 2:21 PM, "Jim Jagielski" wrote: > >> On Nov 3, 2015, at 10:43 AM, Tim Dunphy wrote: >> >> >> Hey guys, >> >> We had to recompile apache 2.4.12 because we needed to disable thread >>safety in php (ZTS). Because for some reason when compiling php with >>the --disable-maintainer-zts

Re: [users@httpd] prefork vs worker mpm in apache

2015-11-03 Thread Jim Jagielski
> On Nov 3, 2015, at 10:43 AM, Tim Dunphy wrote: > > > Hey guys, > > We had to recompile apache 2.4.12 because we needed to disable thread safety > in php (ZTS). Because for some reason when compiling php with the > --disable-maintainer-zts with the worker mpm model and checking the php inf

Re: [users@httpd] prefork vs worker mpm in apache

2015-11-03 Thread Tom Evans
On Tue, Nov 3, 2015 at 3:43 PM, Tim Dunphy wrote: > > Hey guys, > > We had to recompile apache 2.4.12 because we needed to disable thread safety > in php (ZTS). Because for some reason when compiling php with the > --disable-maintainer-zts with the worker mpm model and checking the php info > pag

[users@httpd] prefork vs worker mpm in apache

2015-11-03 Thread Tim Dunphy
Hey guys, We had to recompile apache 2.4.12 because we needed to disable thread safety in php (ZTS). Because for some reason when compiling php with the --disable-maintainer-zts with the worker mpm model and checking the php info page, it was saying that thread safety was still enabled. So when

Re: [users@httpd] Apache closes the connection after receiving a request.

2015-11-03 Thread Yann Ylavic
On Tue, Nov 3, 2015 at 12:47 PM, Novi Jinx wrote: > > Recently I have experienced a behaviour of Apache on my PROD environment that > I could not explain. My Apache decided to close a TCP connection right after > successfully receiving a request (sent ACK back to a client). With the > KeepAlive

[users@httpd] Apache closes the connection after receiving a request.

2015-11-03 Thread Novi Jinx
Hi, This is the first time I send to the mail list so please forgive me if I do something wrong/ improperly. Recently I have experienced a behaviour of Apache on my PROD environment that I could not explain. My Apache decided to close a TCP connection right after successfully receiving a reque

[users@httpd] Cannot find request by error log id

2015-11-03 Thread Виталий Фадеев
Hi! I modify access and error log formats by add %L parameter. In my error log i get this: [Tue Nov 03 02:55:33.635958 2015] [VjiEkn8AAAEAAHuBfzkAAABB] [-:error] [pid 31617:tid [client IP:PORT] PHP Warning: unlink(/tmp/file_name.txt): No such file or directory in /var/www/file_test.php on line 1,

[users@httpd] RewriteMap overlap with ProxyPass

2015-11-03 Thread Mathijs Schmittmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all, I have the following configuration on a 2.2.x installation: ProxyPass /foo ajp://10.20.30.40/bla RewriteMap bar txt:/var/www/html/map.txt RewriteCond ${bar:$1} >"" RewriteRule ^/(.*)$ ${bar:$1} Now in the map.txt file there is content li