Page 1 of 2

ENOBUFS - Out of memory error

Posted: 2008-09-17 11:08
by latterd
Hi All,

I am receiving the error:

Could not read from transfer socket: ENOBUFS - Out of memory

On some files when I try to download them, the files in question are text files.

thanks for any help.

Re: ENOBUFS - Out of memory error

Posted: 2008-09-17 14:28
by botg
Complete logs would be more than nice.

Re: ENOBUFS - Out of memory error

Posted: 2008-09-18 10:36
by latterd
Hi,

heres the dialog that occurs when I try to download, you will see some repeated actions as FileZilla keeps re-showing the download dialog box although I state I wish to overwrite the file if it already exists, If the file doesnt exist, it just gives me the error, and downloads the file either empty or with content missing:

Code: Select all

Command:	TYPE A
Response:	200 TYPE is now ASCII
Command:	PASV
Response:	227 Entering Passive Mode (70,87,201,226,223,254)
Command:	RETR head.tpl
Response:	150 Accepted data connection
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 38.12 Mbytes per second
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Status:	Starting download of /HIDDEN/head/head.tpl
Command:	PASV
Response:	227 Entering Passive Mode (70,87,201,226,36,163)
Command:	RETR head.tpl
Response:	150 Accepted data connection
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 30.35 Mbytes per second
Status:	Starting download of /HIDDEN/head/head.tpl
Command:	PASV
Response:	227 Entering Passive Mode (70,87,201,226,176,141)
Command:	RETR head.tpl
Response:	150 Accepted data connection
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 32.94 Mbytes per second
Status:	Starting download of /HIDDEN/head/head.tpl
Command:	PASV
Response:	227 Entering Passive Mode (70,87,201,226,162,19)
Command:	RETR head.tpl
Response:	150 Accepted data connection
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 45.10 Mbytes per second
Error:	Could not read from transfer socket: ENOBUFS - Out of memory

Re: ENOBUFS - Out of memory error

Posted: 2008-09-18 13:49
by botg
Very odd. Are you using any firewalls, virus scanners or so-called security solutions?

What happens if you completely uninstall them? (Merely disabling them still leaves their drivers loaded and running)

Re: ENOBUFS - Out of memory error

Posted: 2008-10-13 15:52
by cybersteven
Hello, I'm having similar issues with this perfect Open-Source FTP solution.
Almost all files are being downloaded and some files not - thrown in the failed transfers tab. I usually reenqueue them to no success.

Code: Select all

Response:	227 Entering Passive Mode (216,97,225,50,251,0)
Command:	RETR 224_lavica.gif
Response:	350 Restarting at 0
Command:	RETR 222_getimgca30lgsx.gif
Response:	350 Restarting at 0
Command:	RETR 223_zaka4alka.gif
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Response:	150 Accepted data connection
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 19.88 Mbytes per second
Status:	Starting download of /public_html/xxxxxxxxxxxxxxxxxxxx/images/listing_photos/224_lavica.gif
Command:	PASV
Response:	150 Accepted data connection
Response:	150 Accepted data connection
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Response:	226-File successfully transferred
Response:	226 0.008 seconds (measured here), 439.48 Kbytes per second
Status:	Starting download of /public_html/xxxxxxxxxxxxxxxxxn/images/listing_photos/222_getimgca30lgsx.gif
Command:	PASV
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Response:	226-File successfully transferred
Response:	226 0.010 seconds (measured here), 359.87 Kbytes per second
Status:	Starting download of /public_html/xxxxxxxxxxxxxxxx/images/listing_photos/223_zaka4alka.gif
Command:	PASV
Response:	227 Entering Passive Mode (216,97,225,50,156,179)
Command:	RETR 224_lavica.gif
Response:	227 Entering Passive Mode (216,97,225,50,11,129)
Command:	RETR 222_getimgca30lgsx.gif
Response:	227 Entering Passive Mode (216,97,225,50,21,103)
Command:	RETR 223_zaka4alka.gif
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Response:	150 Accepted data connection
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 20.80 Mbytes per second
Status:	Starting download of /public_html/xxxxxxx/images/listing_photos/224_lavica.gif
Command:	PASV
Response:	150 Accepted data connection
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 25.71 Mbytes per second
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Response:	150 Accepted data connection
Response:	226-File successfully transferred
Response:	226 0.000 seconds (measured here), 25.57 Mbytes per second
Status:	Starting download of /public_html/xxxxx/images/listing_photos/222_getimgca30lgsx.gif
Command:	PASV
Error:	Could not read from transfer socket: ENOBUFS - Out of memory
Status:	Starting download of /public_html/xxxxx/images/listing_photos/223_zaka4alka.gif
Command:	PASV
Response:	227 Entering Passive Mode (216,97,225,50,108,181)
Command:	RETR 224_lavica.gif
Response:	227 Entering Passive Mode (216,97,225,50,17,39)
Command:	RETR 222_getimgca30lgsx.gif
Response:	227 Entering Passive Mode (216,97,225,50,54,188)


Sygate Personal Firewall + AVG Free Antivirus installed on my PC.
Have tried the solution suggested by "botg" and disabled both the firewall and the antivirus software( not uninstalled though).

The failed transfers succeeded with no ENOBUFS - out of memory.

That's fine but I think that's not the proper repeated action we should undertake everytime this error occurs.
Should the firewall be properly configured or somtehing else?

Thanks for this perfect software go to all the contributors of FileZilla.

Re: ENOBUFS - Out of memory error

Posted: 2008-10-13 16:55
by botg
Please try again with those things uninstalled.

Re: ENOBUFS - Out of memory error

Posted: 2008-10-16 09:49
by cybersteven
He-he, OK, but should I use my PC without antivirus and firewall software???
Disabling and stopping them when this problem occurs works, but is a temporary solution.
Please, another guess!
Thanks for help and suggestions!

Re: ENOBUFS - Out of memory error

Posted: 2008-10-16 09:54
by botg
OK, but should I use my PC without antivirus and firewall software???
I don't use firewalls and I don't use AV software. And I also use Windows. No infection ever yet. It just requires proper configuration and a grain of common sense.

Re: ENOBUFS - Out of memory error

Posted: 2008-10-16 10:13
by cybersteven
I think it's smth with ports that Filezilla opens and their range, next time when FTP-ing I'll check if manipulating them through FileZilla control panel will help.

Sorry, "botg" but this is unacceptable (no antivirus, no firewall). Thanks for your time.

Re: ENOBUFS - Out of memory error

Posted: 2008-12-15 11:43
by BigGerbil
I had the same problem but it was resolved after I made the following changes:

1) Edit > Settings...
2) Connection > FTP > Passive Mode
3) Change the passive mode setting to 'Fall back to active mode'.

Reconnect to the server and retry your file transfers.

Hope this helps.

Re: ENOBUFS - Out of memory error

Posted: 2008-12-15 20:50
by boco
This is only a workaround, no solution. Passive mode is the recommended one still.

Re: ENOBUFS - Out of memory error

Posted: 2009-03-16 23:23
by seanmac
botg wrote:I don't use firewalls and I don't use AV software. And I also use Windows. No infection ever yet.
I'm intrigued. If you don't use AV software then how can you be sure your machine hasn't been infected?

Re: ENOBUFS - Out of memory error

Posted: 2009-03-17 08:36
by botg
The same way you can be sure you're not infected by malware your virus scanner cannot detect.

Re: ENOBUFS - Out of memory error

Posted: 2009-03-17 13:30
by boco
The best virus and malware scanner is called Brain 1.0.

Re: ENOBUFS - Out of memory error

Posted: 2009-04-13 18:50
by seanmac
botg wrote:The same way you can be sure you're not infected by malware your virus scanner cannot detect.
Okaaaay. Well, thanks for your input but I think I'll stick with the AV software that definitely has saved me from numerous trojans and the firewall that I can see from the logs to be protecting me from daily intrusion attempts. I'm not about to give up peace of mind for the sake of one out of many available FTP clients.

Pity that, as otherwise it's pretty decent software. It's just a shame it's not supported for use in the real world.