Re: [users@httpd] Question about "ab"
On Fri, Dec 12, 2014 at 6:09 PM, Rose, John B wrote: > I should have phrased that "how frequent is a new group of concurrent > requests performed?" If you ask for 10,000 requests with a concurrency of 5. There are 5 threads each going as fast as possible to reach 10k total. It does not try to burst 5 simultaneous requests. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Question about "ab"
I should have phrased that "how frequent is a new group of concurrent requests performed?" On 12/12/14 10:39 AM, "Eric Covener" wrote: >On Fri, Dec 12, 2014 at 10:35 AM, Rose, John B wrote: >> In the "ab" documentation >> >> >> http://httpd.apache.org/docs/2.2/programs/ab.html >> >> >> it says ... >> >> >> -c concurrency >> >> Number of multiple requests to peform at a time. >> >> >> Exactly what does "at a time" mean? Every second? > >In parallel, concurrently, at the same time. > >- >To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] "ab" error "apr_socket_recv: Connection reset by peer (104)"
We get this error when using concurrent connections over 300 or so ab -n 25 -c 500 someserver.zyz.com This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking someserver.xyz.com (be patient) Completed 25000 requests apr_socket_recv: Connection reset by peer (104) Total of 36012 requests completed However we do not seem to have a problem when using httperf.
Re: [users@httpd] Question about "ab"
concurrent means now/always what u confuse it to is transaction rate On 12 Dec 2014 16:36, "Rose, John B" wrote: > In the "ab" documentation > > > http://httpd.apache.org/docs/2.2/programs/ab.html > > > it says ... > > > *-c concurrency* > > * Number of multiple requests to peform at a time. * > > > Exactly what does "at a time" mean? Every second? > > > Thanks >
Re: [users@httpd] Question about "ab"
On Fri, Dec 12, 2014 at 10:35 AM, Rose, John B wrote: > In the "ab" documentation > > > http://httpd.apache.org/docs/2.2/programs/ab.html > > > it says ... > > > -c concurrency > > Number of multiple requests to peform at a time. > > > Exactly what does "at a time" mean? Every second? In parallel, concurrently, at the same time. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Question about "ab"
In the "ab" documentation http://httpd.apache.org/docs/2.2/programs/ab.html it says ... -c concurrency Number of multiple requests to peform at a time. Exactly what does "at a time" mean? Every second? Thanks
Re: [users@httpd] rewrite and InputFilter DEFLATE
Thanks, Kees, I will try. 2014-11-09 19:01 GMT-03:00 Kees Nuyt : > On Sun, 9 Nov 2014 11:04:33 -0300, you wrote: > >>Hello! >> >>I`m digging with this problem for a while and couldn`t find references >>in lists or searches. >> >>In Apache 2.4.7 I`m using "InputFilter DEFLATE" to inflate gzipped >>requests (as documented in >>http://httpd.apache.org/docs/2.4/mod/mod_deflate.html#enable) and it >>works great. But a simple rewrite: >> >>RewriteRule ^.*$ index.php [NC,L] >> >>makes the inflate stop to work, index.php receives the body still >>gzipped. If I comment the line above and point my request directly to >>index.php the inflation works again. >> >>I`ve debugged modules/filters/mod_deflate.c and it is aborting >>inflation on line 1036, when checking body size: >> >>/* zero length body? step aside */ >>bkt = APR_BRIGADE_FIRST(ctx->bb); >>if (APR_BUCKET_IS_EOS(bkt)) { >>ap_remove_input_filter(f); >>return ap_get_brigade(f->next, bb, mode, block, read bytes); >>} >> >>I`m really not aware of any causes for mod_rewrite to be incompatible >>to mod_deflate. Inflating before or after the rewrite engine I think >>it should work. >> >>Do you have any pointer to understand this issue? > > Perhaps AliasMatch doesn't suffer that problem? > I use: > > >ServerNamesomesite >ServerAdmin somesitemaster@somsite.invalid >DocumentRoot "/var/www/html/somesite" >AliasMatch ^/(.*) "/var/www/html/somesite/index.php/$1" > > AllowOverride None > Order deny,allow > Deny from all > Allow from all > > ForceType application/x-httpd-php > > > > > , but I never bothered to gzip requests. It forces all requests > to index.php, just like you appear to need. > > About the $1 in the above: index.php uses $_SERVER['PATH_INFO'] > and $_SERVER['QUERY_STRING'] to reconstruct the original > request. > > Hope this helps. > > -- > Regards, > > Kees Nuyt > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Single web page site settings questions ... i.e. KeepAlive,
For a one page web site The page will have a very large number of visitors in a short time. There will be simple text updates on the page and users will check back frequently to see the updates. Say 100k visitors each minute. For instance an emergency/disaster information/status page. 1. Is there any reason to have KeepAlive set to "On" ? If so, suggested KeepAliveTimeout? 2. Any other suggested Apache configuration settings for such a web site? 3. Is there some way to cache the page in RAM? 4. What if there is one section on the page that will be updated very frequently in a server side include, jquery, php include, etc, somehow, and we do not want to cache that part, but cached the rest of the page? Thanks for your time
[users@httpd] apache2.2 and Jboss AS 7.1 using mod_cluster and mod_ssl giving error when posting huge data
Hi All, We are setting up SSL connection for a web application, we have apache2.2(httpd) and Jboss AS 7.1, we are using mod_cluster and mod_ssl. its works for login and other initial pages , *but its giving error when we post huge data*, we can see the data being posted to apache in the ssl_error_log but its not forwarding to JBOSS. in the JBOSS Its giving below error. 6:58:19,764 ERROR [org.apache.coyote.ajp.AjpMessage] (ajp--0.0.0.0-8009-7) *Invalid message received with signature 8192* 16:58:27,422 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/bvb-web].[auEngine]] (ajp--0.0.0.0-8009-10) Servlet.service() for servlet auEngine threw exception: java.lang.ArrayIndexOutOfBoundsException at java.net.SocketInputStream.read(SocketInputStream.java:143) [rt.jar:1.7.0_51] at java.net.SocketInputStream.read(SocketInputStream.java:122) [rt.jar:1.7.0_51] at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:1131) [jbossweb-7.0.13.Final.jar:] *Any one configured apache httpd and jboss for similar issue*? Quick help on this is appreciated. In the jboss-standalone-full-ha.xml I have entry like this Regards, bnb httpd.conf Description: Binary data mod_cluster.conf Description: Binary data ssl.conf Description: Binary data - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Apache 2.4 proxy forward auth to backend
Hi all, I've two backend server that require HTTP auth and I need the proxy ask for it and forward to backend server. Proxy doesn't have the user/password file. In Apache 2.2 I solved in this way: ProxyPass / balancer://hotcluster/ BalancerMember http://ip1/ loadfactor=20 retry=2 BalancerMember http://ip2/ status=+H AuthBasicAuthoritative Off SetEnv proxy-chain-auth On AuthType basic AuthType basic AuthBasicAuthoritative Off SetEnv proxy-chain-auth On Order allow,deny Allow from all But it doesn't work with 2.4 version. Anyone have suggestion? Thanks