# Nginx 1.2.7 + Apache2 2.2.24 on Freebsd 9.1 speedtest mini hosting upload speed problem

**URL:** <https://www.ruby-forum.com/t/nginx-1-2-7-apache2-2-2-24-on-freebsd-9-1-speedtest-mini-hosting-upload-speed-problem/237322>\
**Category:** NGINX\
**Created:** [November 6, 2013, 9:50am UTC](https://www.ruby-forum.com/t/nginx-1-2-7-apache2-2-2-24-on-freebsd-9-1-speedtest-mini-hosting-upload-speed-problem/237322 "2013-11-06T09:50:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [November 6, 2013, 9:50am UTC](https://www.ruby-forum.com/t/nginx-1-2-7-apache2-2-2-24-on-freebsd-9-1-speedtest-mini-hosting-upload-speed-problem/237322/1 "2013-11-06T09:50:26Z")

</div>

I have Nginx 1.2.7 + Apache2 2.2.24. Nginx config is default, no buffer  
sizes changed etc. I moved my speedtest mini host there and got problem  
with  
upload speed. Speedtest folder is on RAMdisk, so there is no problems  
with  
access speed and download speed is 300+ Mbit/s. But upload was anly  
40-50  
Mbit/s After setting sendfile off; in nginx.conf upload speed increased  
to  
80-120 Mbit/s During upload test in top io mode nginx show 100%  
VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND  
4839 0 0 16 0 16 100.00% nginx

and gstat show writing operations on hdd

Setting client\_body\_temp\_path to ramdisk folder and changing  
client\_body\*  
variables to not default values make upload speed slower  
Is there anything onther to change to make uplaod speed much faster

Posted at Nginx Forum:

> **[Nginx 1.2.7 + Apache2 2.2.24 on Freebsd 9.1 speedtest mini hosting upload...](https://forum.nginx.org/read.php?2,244483,244483#msg-244483)**
>
> I have Nginx 1.2.7 + Apache2 2.2.24. Nginx config is default, no buffer sizes changed etc. I moved my speedtest mini host there and got problem with upload speed. Speedtest folder is on RAMdisk, so there is no problems with access speed and download...
