Open GoogleCodeExporter opened 8 years ago
Good to know. How did you change the tcp parameters on the NAS? Sysctl does not
work.
Original comment by pabl...@gmail.com
on 6 Sep 2011 at 7:28
The configuration files for the TCP settings can be found in /proc/sys/net. I
inserted those four command into my /etc/init.d/ftpsvc:
echo 12582912 > /proc/sys/net/core/wmem_max
echo 12582912 > /proc/sys/net/core/rmem_max
echo "32768 256000 12582912" > /proc/sys/net/ipv4/tcp_wmem
echo "32768 256000 12582912" > /proc/sys/net/ipv4/tcp_rmem
I put them right under the "vsftpd &" to get them executed with every start of
the FTP server. If you go into the web configurator now, you can save this
config to preserve it from being lost during resets of the device.
Maybe only one or two of these files have to be changed to solve the problem
and maybe 12MB is overkill but I did not try any other settings because it
works very well this way.
Hope this help someone!
Original comment by masterst...@googlemail.com
on 7 Sep 2011 at 5:55
Fantastic. Very good. I'll try this later today and see how it works. Thanks
Original comment by pabl...@gmail.com
on 7 Sep 2011 at 9:58
Is possible do overclock with commands?
Original comment by robson__...@hotmail.com
on 13 Oct 2011 at 2:19
Original comment by dwmcqu...@gmail.com
on 20 Oct 2011 at 12:28
@masterst
Can you explain for a total Linux newbie how to use those commands over ssh ?
Original comment by octavian...@gmail.com
on 18 Apr 2012 at 7:20
Attachments:
You open the file /etc/init.d/ftpsvc with your favorite text editor (nano, vi,
...) by entering "nano /etc/init.d/ftpsvc" at your command line.
The editor will show up and you scroll down till you see the start command of
the ftp server "vsftpd &". Then you enter the four commands I wrote down in the
lines below this command. Then save the file and you're done.
Good Luck!
Original comment by masterst...@googlemail.com
on 19 Apr 2012 at 6:19
Original issue reported on code.google.com by
masterst...@googlemail.com
on 2 Sep 2011 at 8:05