Thread: vsftpd
Status: Alpha
Brought to you by:
coroberti
From: BuraphaLinux S. <bur...@gm...> - 2007-06-22 12:47:20
Attachments:
ftploadit.conf
|
Hello, I attached my conf file. I want to do ftp load testing, and all clients share one IP. I am able to ftp and get files normally with an ftp client, curl, wget, etc. However, when I try to use curl-loader-0.32 I get errors. The log file says this: 0 2 (192.168.0.2) :<= WARNING: parsing error: wrong response code (FTP?) 0 . for every connection. The files I want to fetch are large, and the ftp server is vsftpd and it has a 512k/sec rate limit set. It looks like curl-loader gets confused and doesn't ever send the commands to the server to start the download. So I think either the transfer does not start or it takes so long curl-loader gives up. I tried to read everything but I probably missed something obvious. The server does fork enough daemons so they all do get connected, but beyond that nothing seems to happen. The ftp server does send a banner file - do I have to turn that off? How can I get this working? |
From: Robert I. <cor...@gm...> - 2007-06-22 13:58:55
|
Hi, On 6/22/07, BuraphaLinux Server <bur...@gm...> wrote: > > Hello, I attached my conf file. I want to do ftp load testing, and > all clients share one IP. > I am able to ftp and get files normally with an ftp client, curl, > wget, etc. However, when > I try to use curl-loader-0.32 I get errors. The log file says this: > > 0 2 (192.168.0.2) :<= WARNING: parsing error: wrong response code (FTP?) 0 > . > > for every connection. The files I want to fetch are large, and the > ftp server is vsftpd and > it has a 512k/sec rate limit set. It looks like curl-loader gets > confused and doesn't ever send > the commands to the server to start the download. So I think either > the transfer does not start > or it takes so long curl-loader gives up. I tried to read everything > but I probably missed > something obvious. The server does fork enough daemons so they all do > get connected, > but beyond that nothing seems to happen. The ftp server does send a > banner file - do I > have to turn that off? Which curl-loader version you are working with? Lets align our efforts and work with the latest version to download, namely, curl-loader-0.32. OK? Thanks. How can I get this working? > > First of all, please, remove REQUEST_TYPE as it is applicable for HTTP only. #REQUEST_TYPE=GET - better remove it Second, lets start from a single url and a single client and a single cycle. CLIENTS_NUM_MAX=1 CLIENTS_NUM_START=1 #CLIENTS_RAMPUP_INC=5 Please, run it with command line options -v and -u (which means verbose and url) and send me the log-file (ftp.log). Y may also wish to look at it. Don't worry, we'll work together to rectify the issues, which could our bug, libcurl bugs or server/client side configuration issue. -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |
From: Robert I. <cor...@gm...> - 2007-06-22 14:13:46
|
Hi, On 6/22/07, BuraphaLinux Server <bur...@gm...> wrote: > > Hello, I attached my conf file. I want to do ftp load testing, and > all clients share one IP. > I am able to ftp and get files normally with an ftp client, curl, > wget, etc. However, when > I try to use curl-loader-0.32 I get errors. The log file says this: > > 0 2 (192.168.0.2) :<= WARNING: parsing error: wrong response code (FTP?) 0 > . > > for every connection. The files I want to fetch are large, and the > ftp server is vsftpd and > it has a 512k/sec rate limit set. It looks like curl-loader gets > confused and doesn't ever send > the commands to the server to start the download. So I think either > the transfer does not start > or it takes so long curl-loader gives up. I tried to read everything > but I probably missed > something obvious. The server does fork enough daemons so they all do > get connected, > but beyond that nothing seems to happen. The ftp server does send a > banner file - do I > have to turn that off? > > How can I get this working? More options to try with a single client and a single url and -v -u option are: FTP_ACTIVE=1 By the way, have you ensured routing to the ip-address you are using for loading 192.168.0.2? Do you have ping working (use i-capital - I to issue ping from the address you are using : #ping -I 192.168.0.2 192.168.0.3? -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |
From: Robert I. <cor...@gm...> - 2007-06-22 18:08:27
|
Hi, On 6/22/07, BuraphaLinux Server <bur...@gm...> wrote: > > Hello, > > I'm ashamed to say I found the problem was in the firewalls on the > two machines. I use linux 2.6.x with a modular kernel, and somehow the > module for nf_conntrack_ftp keeps getting unloaded since the system > says it is unused. So I would force load that module on client and server > and things work with normal ftp tools, but if I come back an hour later > they don't because those modules get unloaded (/etc/cron.hourly/kmod > does rmmod -as). That's not a curl-loader problem, that's my own > configuration problem. I finally just added: > > # bizzare trick to prevent unloading of nf_conntrack_ftp > remove nf_conntrack_ftp /bin/true > > to the end of my /etc/modprobe.conf on both machines, but I'm sure > that is not the elegant solution. > > Now I got 10 simultaneous ftp with passive mode working well. > Great, thanks for updating us. No shame, it happens. Y may wish to subscribe to curl-loader-devel list for future updates and discussions. The list is not bulky. -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |