Автор Тема: Proftp  (Прочетена 2264 пъти)

Uvigii

  • Напреднали
  • *****
  • Публикации: 381
    • Профил
Proftp
« -: Apr 21, 2006, 14:06 »
Здравейте,
проблемът се състои в това, че при сваляне размерът (и съдържанието) на файловете се променя. Някакви идеи от къде може да идва проблема ?
Дистрибуцията е  Дебиан 3.1
Ядрото е 2.6.14.3

Какво съм констатирал до момента:
* Проблемът съществува при всички тествани версии на ПроФТПд (1.2.10 и 1.3.0) както компилирани от мен така и бинарни т.е. проблемът не е тук.
* Проблемът според мен е свързан с Дебиан-а (който почти не познавам) тъй като с това ядро и други дистрибуции всичко работи нормално.

примерна сесия
Примерен код
Connected to localhost.
220 ProFTPD 1.3.0 Server (Test)
Name (localhost:u): u
331 Password required for u.
Password:
230 User u logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 root     root       164468 Apr 21 09:02 tar
226 Transfer complete.
ftp> binary
200 Type set to I
ftp> get tar tar2
local: tar2 remote: tar
200 PORT command successful
150 Opening BINARY mode data connection for tar (164468 bytes)
226 Transfer complete.
1072496 bytes received in 0.01 secs (118385.8 kB/s)


xferlog
Примерен код
Fri Apr 21 09:04:45 2006 0 localhost 164468 /home/u/tar b _ o r u ftp 1 * c


и последното което най-много ме притеснява е :
Примерен код
transmit_sendfile() error, reverting to normal data transmission: [75] Value too large for defined data type


Благодаря предварително за всички отговори .
Активен

http://www.openlab.info мрежова лаборатория

Uvigii

  • Напреднали
  • *****
  • Публикации: 381
    • Профил
Proftp
« Отговор #1 -: May 06, 2006, 15:00 »
Цитат
3. sendfile()

sendfile() is a system call which streamlines the copying of data between the disk and the tcp socket. The call copied from the page cache directly rather than requiring a kernel -> user space -> kernel space copy for every read() and write() call. Generally the advantages are only felt on heavily loaded servers. The call is supported in ProFTPD for Linux and FreeBSD.

    There appear to be a number of problems with sendfile() particularly with the directives and features which require accurate determination of filesize. Such as the Rate* functions and downloading large files, the best advice at the moment appears to be to disable sendfile by default ( --disable-sendfile ).

   Sendfile() also appears to be the source of a number of file corruption problems.
Активен

http://www.openlab.info мрежова лаборатория

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Proftp
Настройка на програми
forum 2 2053 Последна публикация Apr 12, 2004, 06:49
от forum
ProFTP логин с различни потребители
Настройка на програми
Astor 4 2474 Последна публикация Jul 23, 2005, 14:21
от VladSun
Proftp & iptables problem
Настройка на програми
sharky 7 2821 Последна публикация Feb 22, 2007, 00:24
от sharky
Proftp проблем
Настройка на програми
mrowcp 2 1656 Последна публикация Nov 10, 2007, 15:04
от mrowcp
имам проблем с apache2 или proftp
Настройка на програми
koi 0 1083 Последна публикация May 29, 2009, 17:09
от koi