Loading ...
Sorry, an error occurred while loading the content.
 

concurrent users

Expand Messages
  • yairinbal
    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
    Message 1 of 4 , Dec 11, 2003
      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 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
      robouser97::ftpCmdDone: xerr 32, aborting
      .
      .
      .

      I think that poll() returns that all fd's are ready, but read()
      returns 0 bytes.

      Do you have any ideas?

      Thanks,
      Yair
    • Richard Pang
      Dear Dan, How could I remove from ftpbench mail list? Regards, Tak ... _________________________________________________________ Do You Yahoo!?
      Message 2 of 4 , Dec 14, 2003
        Dear Dan,
        How could I remove from ftpbench mail list?
        Regards,

        Tak

        --- Dan Kegel <dank@...> 寫道:>
        "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
        >

        _________________________________________________________
        Do You Yahoo!?
        登記免費的 @... 中文電子郵件 @ http://chinese.mail.yahoo.com
        Get your free @... address at http://chinese.mail.yahoo.com
      • Dan Kegel
        ... The correct unsubscribe info is To unsubscribe from this group, send an email to: ftpbench-unsubscribe@yahoogroups.com - Dan
        Message 3 of 4 , Dec 14, 2003
          Richard Pang wrote:
          > Dear Dan,
          > How could I remove from ftpbench mail list?

          Hmm, looks like I should update the trailer on all messages:

          > Community email addresses:
          > Post message: ftpbench@onelist.com
          > Subscribe: ftpbench-subscribe@onelist.com
          > Unsubscribe: ftpbench-unsubscribe@onelist.com
          > List owner: ftpbench-owner@onelist.com
          >
          > Shortcut URL to this page:
          > http://www.onelist.com/community/ftpbench

          The correct unsubscribe info is

          "To unsubscribe from this group, send an email to:
          ftpbench-unsubscribe@yahoogroups.com"

          - Dan
        Your message has been successfully submitted and would be delivered to recipients shortly.