[lftp] lftp stuck at Getting directory content (51558960) [receiving data]

2014-03-27 Thread nopleasenospam
Hello,

I'm using LFTP to transfer a huge amount of files. I have an image hosting
site and I'm moving into a new server.

It worked for 2 folders with 180 00 files, it took a very long time, close
to 24 hours to do it but it worked.



Now I have a problem with a folder containing +380 000 files, it is stuck
at:

Getting directory content (51558960) [receiving data]

And it's like that since 10 hours.

I read a lot in the forums and tried several settings but with no luck.

The other folders worked with this command:

lftp ftp://user:p...@nicholas-gilman.dreamhost.com  -e mirror --parallel=8
-n / /var/www/ ; quit



This is all the setting I added and tried with no luck:

lftp ftp://user:p...@nicholas-gilman.dreamhost.com -e set
ftp:ssl-protect-list no -e set ftp:ssl-allow no -e set net:timeout 0 -e
set ftp:sync-mode off -e set ftp:use-mdtm off -e mirror --parallel=8 -n
/6pix.net/images /var/www/6pix.net/images ; quit



I'm still stuck to the same point.



Thanks for your help.

Christian.





---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp stuck at Getting directory content (51558960) [receiving data]

2014-03-27 Thread Alexander V. Lukyanov
On Thu, Mar 27, 2014 at 11:40:25AM +0100, nopleasenospam wrote:
 Now I have a problem with a folder containing +380 000 files, it is stuck
 at:

 Getting directory content (51558960) [receiving data]

 And it's like that since 10 hours.

Do you use the latest stable lftp version? (4.4.15)

Try to run strace -p PID where PID is that of lftp process.
If it shows nothing, run gdb /usr/bin/lftp PID and type info stack.
Also try top and see what is the state of lftp process.

--
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp stuck at Getting directory content (51558960) [receiving data]

2014-03-27 Thread Alexander V. Lukyanov
On Thu, Mar 27, 2014 at 03:41:53PM +0400, Alexander V. Lukyanov wrote:
 If it shows nothing, run gdb /usr/bin/lftp PID and type info stack.

pstack PID is a simpler command for this.

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp