Vsftpd and large downloads - cache problem

Today I have raised vsftpd to transfer a lot of files (~30 GB) to my friend's machine. At start all was ok - full download speed was 2 MB/s, and iotop showed these MB's read from FS. When about 4 GB where downloaded  from me, strange things happened. Despite config file (max_clients and max_per_ip were 10, friend was using 10 simulateonous connections in filezilla), many following messages appeared in log (xxx.xxx.xxx.xxx - friend's address):
Tue Aug 24 16:30:05 2010 [pid 2] CONNECT: Client "xxx.xxx.xxx.xxx", "Connection refused: too many sessions."
Also the speed felt dramatically - at start there was ~220 KB/s per connection, now lower than 10 KB/s. iotop shows only eventual 124 KB reads from vsftpd. Cache filled all my memory (600 MB data - it's running KDE4 plus some documents and Opera opened):
$ free -m
total used free shared buffers cached
Mem: 3862 3806 55 0 441 2766
-/+ buffers/cache: 599 3263
Swap: 2047 0 2047
Also responsiveness of system changed strangely - operations with disk are as fast as usual, but with RAM became much slower. E.g., I use pacman-cage, and now pacman -Syu works many times slower. I know that reboot would take away this problem, but it's only partial solution.
Is it the intended caching behavior? (IMO, it's rather not)
How can be I/O optimized to not to overload cache?
P.S. My vsftpd.conf:
listen=YES
# User access parameters
anonymous_enable=YES
anon_upload_enable=NO
local_enable=YES
write_enable=NO
download_enable=YES
connect_from_port_20=YES
# Userlist
#userlist_deny=NO
userlist_enable=NO
#userlist_file=/etc/vsftpd/vsftpd_users
force_dot_files=YES
hide_ids=YES
deny_file={lost+found}
ls_recurse_enable=YES
local_umask=026
ascii_download_enable=NO
# Limits
max_clients=10
max_per_ip=10
#connect_timeout=60
data_connection_timeout=3000
idle_session_timeout=6000
# Messages
dirlist_enable=YES
dirmessage_enable=YES
ftpd_banner=Welcome to Stonehenge-III FTP archive
# Encryption
ssl_enable=NO
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
rsa_cert_file=/etc/vsftpd/vsftpd.pem
pam_service_name=vsftpd
# Chroot everyone
chroot_local_user=YES
passwd_chroot_enable=YES
chroot_list_enable=NO
#local_root=/srv/ftp/
# Logging
xferlog_enable=YES
P.P.S. Tried to find appropriate forum. If I was wrong, please move it to a better one.

since your on a fast network, lower your timeout values, they are much too high, also, increase your connections to 15, but tell your friend to only download using 10 or lower connections.
are the files downloaded small (many files) or large ones. check /var/log/everything.log for related error messages, e.g, I/O, file descriptors.

Similar Messages

  • Download cache problem...

    I am having a recurring problem with Safari (and other browsers) were I will download an update of a bit of software (Like recently it happened with Onyx and Amazing Slow Downer) and because each release of the software have the same name i.e OnyX.dmg, my browsers are grabbing the previous versions! I think that the cache must be getting confused because the new release have the same names as the old.
    It may also be because I downloaded older versions from version tracker who I believe keep links to older versions - whereas each of the developer sites for the software i mention above seem to only have up the most recent version of the software on their sites. Even if i try to download the software from the developers site, the cache will see that it has the same name as an older .dmg on version tracker and download it. This problem usually sorts itself out after a week or so, but it is really starting to annoy me!!!
    I have tried clearing safari's cache, resetting safari, tried brand new browsers that iv never used before, and i have also tried using onyx to clear all of my computers caches etc, but i continue to experience this problem on a regular basis!!
    Could anyone offer up any advice?
    Thanks

    Hi MajorTom,
    I am having a recurring problem with Safari (and other browsers)...were I will download an update of a bit of software my browsers are grabbing the previous versions!
    Odd.
    It may also be because I downloaded older versions from version tracker who I believe keep links to older versions - whereas each of the developer sites for the software i mention above seem to only have up the most recent version of the software on their sites.
    Are you sure you have chosen the most recent version from the dropdown menu on VT? Have you tried MacUpdate, or as you suggest next, the developer site?
    So I suspect that even if i try to download the software from the developers site, the cache will see that it has the same name as an older .dmg on version tracker and download it. This problem usually sorts itself out after a week or so, but it is really starting to annoy me!!!
    Try this, create a new account, name it "test" and see how your downloads work in that User acct? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account. Try a download in Safari first.
    Let us know and we'll troubleshoot this further.
    -mj
    [email protected]

  • Jsp and Presentation screen cache problem

    Hi,
    I have a existing presentation screen which i replaced it with our custom jsp. Now once again i am trying to go back to presentation screen, but my workspace is still showing the Jsp only.
    Is there anyway i can clear the engine cache or workspace cache?
    More Detail:
    1.My presentation screen is called through Interactive component cell
    2.which i replaced with custom jsp by changing Implementationtype to BPM Object Interactive call and by selecting Use Jsp Presentation.At this point i am able to see my Jsp instead of presentation screen.
    3.Now when i changed to Presentation screen again i am able to see the jsp but not the presentation screen.
    Thanks in advance.

    Hi,
    Thanks for your reply. But in our case we found out the problem. We copied Catalog.jar in C:\OraBPMStudioHome\webapps\workspace\WEB-INF\lib
    so what all the changes we made in studio are not reflecting on the workspace. The solution we took is copied the latest catalog.jar from C:\Documents and Settings\xyz\OracleBPMWorkspace\xyzWorkflow\build and replaced C:\OraBPMStudioHome\webapps\workspace\WEB-INF\lib.

  • Forms10g JAR and Java Plugin Caching problems

    Hello,
    Does anybody know following problem:
    We are deploying the forms java classes in a jar-file
    signed with our own certificate.
    We have a our own second (JavaBeans for forms) and a third jar file signed and deploying it in the right order
    archive = 'f90...jar,f2.jar,f3.jar'
    We are using the Sun Java Plugin 1.4.2 on the Client.
    Everything starts and works correct when it loads
    from the Application server the first time.
    Then the jar-files are in the cache.
    If you restart your Browser the Java Console hangs...
    No error messages in the console
    If we only load the forms jar file starting works
    except the error message in the console:
    Deactivating Caching also helps.
    Any ideas why there are problems with the
    Caching?
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
         at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
         at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
         at sun.awt.image.ImageFetcher.run(Unknown Source)
    proxyHost=null
    proxyPort=0
    connectMode=HTTPS, native.
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.util.ResourceBundle.loadBundle(Unknown Source)
         at java.util.ResourceBundle.findBundle(Unknown Source)
         at java.util.ResourceBundle.getBundleImpl(Unknown Source)
         at java.util.ResourceBundle.getBundle(Unknown Source)
         at oracle.forms.registry.MessageManager.getMessage(Unknown Source)
         at oracle.forms.registry.MessageManager.getMessage(Unknown Source)
         at oracle.forms.engine.Runform.createInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Version von Forms-Applet: 9.0.4.0
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
         at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
         at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
         at sun.awt.image.ImageFetcher.run(Unknown Source)

    Thanks. But It is not solely about LAF. It is just that my form applet is not getting dowloaded as soon as user opens application on browser. It is the whole applet nothing about LAf. But still I would send the email.
    Thanks,
    RK

  • Addins and Wizards download with problems ??

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename:
    http://otn.oracle.com/products/jdev/htdocs/partners/addins/SampleOne.zip
    - Date/Time: July 30
    - Browser + Version: Netscape 6.2
    - O/S + Version: Win 98
    - Error Msg
    Hi !, I download the zip file http://otn.oracle.com/products/jdev/htdocs/partners/addins/SampleOne.zip
    which is for getting started with Jdeveloper, and in the instructions it says exactly this:
    "To install it, you need to unzip this file and extract the jar-file it contains. This jar-file has to be dropped in the directory named [JDEV_HOME]/jdev/lib/ext, where [JDEV_HOME] represents the directory where JDeveloper is installed."
    but the JAR-FILE does NOT apear in the zip File!!!!!!, and i dont know what to do.
    Can anybody help me please ?
    Thanks.
    CristiAn.

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the broken tracks from your iTunes library, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    If you don't see them straight away it may help to close and restart iTunes.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unticked.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    See also: HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

  • Where is Movie Download Cache - Safari 2.0.1?

    In Quicktime 7 there's a preference checkbox that says "Save movies in disk cache" and "Movie Download Cache Size" but I don't know where the movie download cache is in Safari 2.0.1. Can't see to find it using variants in Spotlight searches either. Anybody know where this might be?

    On http://www.oracle.com/technetwork/developer-tools/warehouse/downloads/index.html the first link (for Linux x86) leads to only one file (after logging in). Take that one.
    Edited by: Cortanamo on 16.12.2010 07:01

  • I have a black MacBook from 2008 and tried downloading snow leopard 10.6. It told me I had to restart my computer. However once I restarted my MacBook my touchpad and keyboard were not working so I am unable to sign in. I have no idea what the problem is

    I have a black MacBook from 2008 and tried downloading snow leopard 10.6. It told me I had to restart my computer. However once I restarted my MacBook my touchpad and keyboard were not working so I am unable to sign in. I have no idea what the problem is

    You cannot download the upgrade to Snow Leopard.
    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • Hi people, have on the phone till Apple, the reason i cant download OS X Lion is because BT are having issues with the large download & are working on a fix. Was told to phone back in 24 hours if problem continues

    Hi people, have on the phone till Apple, the reason i cant download OS X Lion is because BT are having issues with the large download & are working on a fix. Was told to phone back in 24 hours if problem continues

    Hi, just got off the phone from BT Business. It is the Business 2wire hub that has the issue. The girl from technical talked through a direct modem to Mac connection and my download took 20 minutes. If you are on Fibre broadband this is the only current fix or a new router if non fibre customer. Hope that helps.

  • Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.  Error Code: c0000005  Address: 76f73ac3     I clicked on the OK button and the downloader closed.     I then tried to download from the organizer. I

    Photoshop Elements 12
    Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Code: c0000005
    Address: 75e32f71
    I clicked on the OK button and the downloader closed.
    I did a search on this error code (c0000005) and there seems to be a workaround but no solutions, why is this? I ask that because this problem seems to be years and years old, going back to at least 2005 (do the math that is 10 years).
    I don't even have the Camera hooked up and I get this error on download.  I redownloaded everything and reinstalled.  I allso saw the AVI issues reported with this proble so i updated Quicktime though without the camera being hooked up when I get this error I didn't expect that to work.  I tried support and they wouldn't help because I bought it in March this year.  Pretty frustrating as I have re-purchased Elements about every 2 years.  I think I might need a new CODEC?   I had this problem on an Earlier version And I seem to remember that being the Fix but this may be something completely different

    I finally found that it was missing a picture so the Catalog was "corrupted".  I just deleted the picture and it started working.
    I hate Adobe and their total lack of support - thanks for nothing Adobe .  Also get this - they offered me to upgrade to 13.0 ( My 12.0 is only 6 months old  but they still don't support it on errors.  Only install errors!
    I have upgrade and repurchase this product 4 times now.  I will find something else next time!

  • When I plug my iPhone in to my computer, iTunes doesn't recognize it as a device.  I have deleted and re-downloaded iTunes twice which seems to fix the problem temporarily but then the next time, the device is not recognized.

    when I plug my iPhone in to my computer, iTunes doesn't recognize it as a device.  I have deleted and re-downloaded iTunes twice which seems to fix the problem temporarily but then the next time I plug my phone in, the device is not recognized.

    What happens if you go to iTunes > File > Devices, do you get the option to Sync iPhone?
    You could try a reinstall of iTunes. OS X Yosemite: Reinstall apps that came with your Mac

  • I bought a song on ITUNES and had problems downloading it. I got in touch with support and and they downloaded the song to my account but now when I try to play it, it tells me my computer isn't authorized to . Reauthorizing computer doesn't work. HELP

    I bought a song in ITUNES and had problem downloading it. I contacted support and they downloaded the song for me. Now when I try to play the song, I get a message saying my computer isn't authorized to play it. I try reauthorizing but that doesn't work, just keep getting the same message. Can anyone help?

    Hello
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Best of luck,
    Mario

  • I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. Help

    I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. It just wont give me my notifications. Help please.

    Go to Settings > Privacy > Location Services.
    Turn off SnapChat.
    Go to Settings > Notification Center
    Turn off SnapChat.
    Restart the device.
    Go to Settings > Privacy > Location Services.
    Turn on SnapChat.
    Go to Settings > Notification Center
    Turn on SnapChat.
    Test the issue.

  • Whenever i open firefox it held and not responding and i have to close it through task manager.i have uninstall it and again download it but problem is still there.what shoud i do?

    i am using firefox for many years.its a great browser i have ever used.but the problem i am having from couple of days is unexpected.whenever i open my firefox it held and do not respond even cant close it.nothing respond.i have uninstall it many times and then download it and install it again and again but the problem is still there.please help me out.

    Did you see this article linked from the main Firefox Help page?
    [[Removing Babylon, SearchQU or MyStart]]
    Post back if you need more help.

  • I had an iphone 4 and when I downloaded the IOS7 started having problems. Gone the phone keypad, could not type more names of my contacts in the phone search. I decided to buy the iphone 5S and since downloaded the IOS7.1.2 the search of yo

    I had an iphone 4 and when I downloaded the IOS7 started having problems. Gone the phone keypad, could not type more names of my contacts in the phone search. I decided to buy the iphone 5S and since downloaded the IOS7.1.2 the search of your phone contacts it takes to open or write

    dedegodoy wrote:
    I decided to buy the iphone 5S and since downloaded the IOS7.1.2 the search of your phone contacts it takes to open or write
    What does that mean? What is your technical support question?

  • What do i do after downloading iOS 3.1 software and "There was a problem downloading iOS 3.1.1 software update for ipod touch. an unknown error occurred (8288). Please check that the connection to the network is active and try again." comes up?

    what do i do after downloading iOS 3.1 software and "There was a problem downloading iOS 3.1.1 software update for ipod touch. an unknown error occurred (8288). Please check that the connection to the network is active and try again." comes up?

    Hello, I hope by now you have resolved the upgrade issue, but if not, here is what I ended up having to do:
    “SUCCESS!!! I took my iPod to a friend who is a computer programmer/genius. He turned off his wireless, hooked the ethernet cable directly into his computer, and the download went through without a hitch. YAY!”
    Here is my original post explaining what I had already tried:
    “Hi all,
    I got an iPod Touch 1st gen for my youngest son for Christmas as a starter. It has the 2.1.2 ios on it, but after I paid for the upgrade to 3.1.1, I keep getting an error message (8288) saying there was a problem with the network connection. I have called customer service, and they suggested I try on a different computer, and if that didn't work, try connecting to a different network, and then trying the update. None of this has worked. It seems that tech support is clueless with this issue.
    I have installed and unistalled iTunes 10.5, 10.3, 10.4, and now I am back with 10.5. I have tried looking up the issue from several search engines but no one seems to have a universal solution and I have tried several.
    I really want to have this thing updated for himw hwne he opens it, but I am starting to worry that my purchase was a bust. I know this is the oldest version, but I don't want to buy a newer, more expensive iPod and him still not be mature enough to really take care of it. As I said, this one is a starter.
    Can anyone help? Please?!
    Thank you!!!
    P.S. We have a PC, with Windows XP Home.”
    Now, there seem to be a lot of different ways to solve the 8288 error, none of which are universal. Best of luck getting yours upgraded!
    Tiffany
    P.S. The post by Sparkhi is a link to his blog going into a long story about how he wanted Apple to pay him for “solving” the issue….the one that apparently has been solved by multiple solutions. I’m not trying to bash, it just bothers me that he put up this whole story and finally, at the very end of his blog post, posts his solution.

Maybe you are looking for

  • How do I share my photographs between User Accounts

    I want to share my iphoto photographs between users on the iMAC. Is this as suimple as moving the iphoto folder to the public folder? iMAC   Mac OS X (10.4.9)  

  • Adding images in custom dialog box

    Hi! Do  you know if it's possibile to insert an image in a custom dialog box? I mean during the custom dialog box design (during the .dre file creation). Thanks to all!

  • Set new name in RMAN

    Hi, We have 12 TB of data to be restored from PROD to DEV. In Prod, we have ASM having 12TB of space and in DEV, we have 2 filesystem (DATA1 & DATA2) shares 6TB each. We used the below script for RMAN restore using set new name to restore it to the d

  • Do I need to uninstall 30 day trial Adobe CC to install Adobe CC full licence?

    Please advice

  • Conversion of .dwg format

    Hi, I am using Location Appliance 2700 Serie, and I must import a plant in WCS. According to "Cisco 2700 Series Wireless Location Appliance - Deployment Guide", the only two importable formats are: .jgps and .bmps. I have a plant in .dwg format. Can