Search the web
Sign In
New User? Sign Up
ftpbench · To develop an open-source FTP benchmark application,
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: concurrent users   Message List  
Reply | Forward Message #265 of 282 |
"yairinbal" <yairinbal@...> wrote:
> I am trying to messure 100 concurrent users:
>
> ./dkftpbench -h192.168.41.37 -n100 -c100 -uftpuser0 -pasdf
-f/home/ftpuser0/FtpFile
>
> I am running RH8
>
> Here is part of the output when DPRINT is enabled:
> countStateChange: user 97, oldstate 1, counts 0 1 99 0 0 0 0 0 ;
> newstate 2, counts 0 0 100 0 0 0 0 0
> Sked::delClient: index 1, m_used 101
> Sked::addClient(0xbffbf740, -318121616)
> waitForEvents: got 100 events
> getNextEvent: fd 102 revents 5 j 99 m_rfds 99
> ftp_client_pipe_t::notifyPollEvent(fd 102, 5): state 0
> ftp_client_pipe_t::notifyPollEvent_cfd(fd 102, 5): state 0, cning 1
> ftp_client_pipe_t::notifyPollEvent_cfd: Connect cfd 102 succeeded
> ftp_client_pipe_t::notifyPollEvent_cfd: fillFrom returns 32?
> ftp_client_pipe_t::notifyPollEvent_cfd: fillFrom returns 32?
> ftp_client_pipe_t::notifyPollEvent: xerr 32
> ftp_client_pipe_t::notifyPollEvent: adding m_cfd 102, events 5
> setMask(102, 5): new mask 5
> ftp_client_pipe_t::notifyPollEvent:notify_app: status 0, dfd_conn 0,
> dfd -1, xerr 32
> robouser97::ftpCmdDone: xerr 32, status 0
> robouser97::ftpCmdDone: xerr 32, aborting ...
>
> I think that poll() returns that all fd's are ready, but read()
> returns 0 bytes.

It seems to think the connection was closed as soon as it
connected. To get more detail, edit nbbio.cc and change
the #if 0 to #if 1. But before you do that:

It's always a good idea to try to find the smallest number of users
that causes a problem. Have you tried fewer users? Does 99 users fail
in the same way? Does 98? etc.

Also, have you followed the suggestions in "System Tuning" in the
dkftpbench doc?
Finally, you might need to set /proc/sys/net/ipv4/tcp_tw_recycle to 1
for large tests.
- Dan



Thu Dec 11, 2003 3:38 pm

dankegel
Offline Offline
Send Email Send Email

Forward
Message #265 of 282 |
Expand Messages Author Sort by Date

... It seems to think the connection was closed as soon as it connected. To get more detail, edit nbbio.cc and change the #if 0 to #if 1. But before you do...
Dan Kegel
dankegel
Offline Send Email
Dec 11, 2003
3:41 pm

Hi, I am trying to messure 100 concurrent users: ./dkftpbench -h192.168.41.37 -n100 -c100 -uftpuser0 -pasdf - f/home/ftpuser0/FtpFile I am running RH8 Here is...
yairinbal
Offline Send Email
Dec 11, 2003
6:03 pm

Dear Dan, How could I remove from ftpbench mail list? Regards, Tak ... _________________________________________________________ Do You Yahoo!? ...
Richard Pang
takwonder
Offline Send Email
Dec 14, 2003
2:03 pm

... The correct unsubscribe info is "To unsubscribe from this group, send an email to: ftpbench-unsubscribe@yahoogroups.com" - Dan...
Dan Kegel
dankegel
Offline Send Email
Dec 14, 2003
4:30 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help