# Nginx, jmeter and xml-rpc

**URL:** <https://www.ruby-forum.com/t/nginx-jmeter-and-xml-rpc/213408>\
**Category:** NGINX\
**Created:** [November 1, 2011, 11:55am UTC](https://www.ruby-forum.com/t/nginx-jmeter-and-xml-rpc/213408 "2011-11-01T11:55:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [November 1, 2011, 11:55am UTC](https://www.ruby-forum.com/t/nginx-jmeter-and-xml-rpc/213408/1 "2011-11-01T11:55:01Z")

</div>

Hello nginx users,

I’m experiencing issue testing java based xml-rpc service deployed on  
tomcat 6 using jmeter 2.5.1. When the application server is fronted by  
nginx 1.0.8 I’m getting http 408 error code when message being sent is  
~30+ lines of indented XML, nginx doesn’t seem to get whole content of  
the message jmeter is sending and keeps waiting until timeout occurs.  
When message is ~10 lines of XML, it gets passed through to the tomcat  
and back to the client well. When I replace nginx with apache httpd it  
works well for both bigger and smaller message.

Has anyone experienced anything similar? Any thoughts where to look  
for the root cause are more than welcome.

IMO it’s either a bug in nginx or configuration issue. At the moment I  
can share just the output of nginx -V (see [1])

Regards,  
Stevo.

[1] “nginx -V” output  
[foo@bar ~]$ nginx -V  
nginx: nginx version: nginx/1.0.8  
nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-46)  
nginx: TLS SNI support disabled  
nginx: configure arguments: --user=nginx --group=nginx  
–prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx  
–conf-path=/etc/nginx/nginx.conf  
–error-log-path=/var/log/nginx/error.log  
–http-log-path=/var/log/nginx/access.log  
–http-client-body-temp-path=/var/lib/nginx/tmp/client\_body  
–http-proxy-temp-path=/var/lib/nginx/tmp/proxy  
–http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi  
–http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi  
–http-scgi-temp-path=/var/lib/nginx/tmp/scgi  
–pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx  
–with-http\_ssl\_module --with-http\_realip\_module  
–with-http\_addition\_module --with-http\_xslt\_module  
–with-http\_sub\_module --with-http\_gzip\_static\_module  
–with-http\_random\_index\_module --with-http\_secure\_link\_module  
–with-http\_stub\_status\_module --with-cc-opt=’-O2 -g -m64  
-mtune=generic’ --with-cc-opt=’-O2 -g -m64 -mtune=generic’  
–add-module=nginx\_ajp\_module --add-module=ngx\_postgres-0.8  
–add-module=agentzh-nginx-eval-module

---

<div class="post-metadata">

**Author:** ![SSStevo\_SlaviSSSS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@SSStevo\_SlaviSSSS\_S](https://www.ruby-forum.com/u/SSStevo_SlaviSSSS_S)\
**Post date:** [November 1, 2011, 1:22pm UTC](https://www.ruby-forum.com/t/nginx-jmeter-and-xml-rpc/213408/2 "2011-11-01T13:22:13Z")

</div>

Your issue is probably the buffer sizes:  
[http://wiki.nginx.org/HttpProxyModule#proxy\_buffer\_size](http://wiki.nginx.org/HttpProxyModule#proxy_buffer_size)

Greetings,  
Joost

---

<div class="post-metadata">

**Author:** ![SSStevo\_SlaviSSSS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@SSStevo\_SlaviSSSS\_S](https://www.ruby-forum.com/u/SSStevo_SlaviSSSS_S)\
**Post date:** [November 1, 2011, 5:25pm UTC](https://www.ruby-forum.com/t/nginx-jmeter-and-xml-rpc/213408/3 "2011-11-01T17:25:34Z")

</div>

On Tue, Nov 1, 2011 at 6:54 AM, Stevo Slavić [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Has anyone experienced anything similar? Any thoughts where to look  
> for the root cause are more than welcome.
> 
> IMO it’s either a bug in nginx or configuration issue. At the moment I  
> can share just the output of nginx -V (see [1])

You need to provide nginx configuration, and log output at a minimum.  
It is probably configuration, but no one can help you without you  
providing data.
