apache and http_keep_alive

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • martijn.oldenburg@gmail.com

    #1

    apache and http_keep_alive

    LS,

    In the apache forums/newsgroups nobody seems to know the answer so I
    am trying my luck here. Maybe it is a php problem after all.

    My flash multiple upload systeem keep timing out after 300 seconds.
    The timeout and all othere related settings in httpd.conf are set to
    1000 seconds. There is no setting in httpd.conf set at 300. But still
    phpinfo() shows http_keep_alive being 300.

    Anyone have an idea how to change that setting. There doesn't seem to
    be any information about this problem. Maybe I am missing the obvious.

    Kind regards.

  • Colin McKinnon

    #2
    Re: apache and http_keep_alive

    martijn.oldenbu rg@gmail.com wrote:
    LS,
    >
    In the apache forums/newsgroups nobody seems to know the answer so I
    am trying my luck here. Maybe it is a php problem after all.
    >
    My flash multiple upload systeem keep timing out after 300 seconds.
    The timeout and all othere related settings in httpd.conf are set to
    1000 seconds. There is no setting in httpd.conf set at 300. But still
    phpinfo() shows http_keep_alive being 300.
    >
    Anyone have an idea how to change that setting. There doesn't seem to
    be any information about this problem. Maybe I am missing the obvious.
    >
    KeepAliveTimeou t is a limit on the interval between requests for Apache -
    not the total amount of time to keep a single connection open. Having said
    that - if it is a proper HTTP client it should have no problem opening a
    new connection and using that if the connection has gone idle or
    MaxKeepAliveReq uests is exceeded.

    C.


    Comment

    • martijn.oldenburg@gmail.com

      #3
      Re: apache and http_keep_alive

      On Mar 17, 6:56 pm, Colin McKinnon
      <colin.thisisno tmysurn...@ntlw orld.deletemeun lessURaBot.comw rote:
      martijn.oldenb. ..@gmail.com wrote:
      LS,
      >
      In the apache forums/newsgroups nobody seems to know the answer so I
      am trying my luck here. Maybe it is a php problem after all.
      >
      My flash multiple upload systeem keep timing out after 300 seconds.
      The timeout and all othere related settings in httpd.conf are set to
      1000 seconds. There is no setting in httpd.conf set at 300. But still
      phpinfo() shows http_keep_alive being 300.
      >
      Anyone have an idea how to change that setting. There doesn't seem to
      be any information about this problem. Maybe I am missing the obvious.
      >
      KeepAliveTimeou t is a limit on the interval between requests for Apache -
      not the total amount of time to keep a single connection open. Having said
      that - if it is a proper HTTP client it should have no problem opening a
      new connection and using that if the connection has gone idle or
      MaxKeepAliveReq uests is exceeded.
      >
      C.
      LS,

      Thank you for your reply.

      If that is true then I should not have timeouts. Because my test
      uploads consists of 35 jpg files of about 700k to 900k each. Each
      single upload takes about 30 seconds. But after a total time of 300
      seconds the upload times out.

      MaxKeepAliveReq uests is set at 0 to be unlimited (I also tried 1000
      and higher).
      KeepAliveTimeou t is set at 3600.

      Is there no single setting to change http_keep_alive to a higher
      setting?

      Kind regards.

      Comment

      • Jerry Stuckle

        #4
        Re: apache and http_keep_alive

        martijn.oldenbu rg@gmail.com wrote:
        On Mar 17, 6:56 pm, Colin McKinnon
        <colin.thisisno tmysurn...@ntlw orld.deletemeun lessURaBot.comw rote:
        >martijn.oldenb ...@gmail.com wrote:
        >>LS,
        >>In the apache forums/newsgroups nobody seems to know the answer so I
        >>am trying my luck here. Maybe it is a php problem after all.
        >>My flash multiple upload systeem keep timing out after 300 seconds.
        >>The timeout and all othere related settings in httpd.conf are set to
        >>1000 seconds. There is no setting in httpd.conf set at 300. But still
        >>phpinfo() shows http_keep_alive being 300.
        >>Anyone have an idea how to change that setting. There doesn't seem to
        >>be any information about this problem. Maybe I am missing the obvious.
        >KeepAliveTimeo ut is a limit on the interval between requests for Apache -
        >not the total amount of time to keep a single connection open. Having said
        >that - if it is a proper HTTP client it should have no problem opening a
        >new connection and using that if the connection has gone idle or
        >MaxKeepAliveRe quests is exceeded.
        >>
        >C.
        >
        LS,
        >
        Thank you for your reply.
        >
        If that is true then I should not have timeouts. Because my test
        uploads consists of 35 jpg files of about 700k to 900k each. Each
        single upload takes about 30 seconds. But after a total time of 300
        seconds the upload times out.
        >
        MaxKeepAliveReq uests is set at 0 to be unlimited (I also tried 1000
        and higher).
        KeepAliveTimeou t is set at 3600.
        >
        Is there no single setting to change http_keep_alive to a higher
        setting?
        >
        Kind regards.
        >
        http_keep_alive is an Apache configuration parameter, not PHP. Try
        alt.apache.conf iguration.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • Martin Mandl - m2m tech support

          #5
          Re: apache and http_keep_alive

          On Mar 17, 10:20 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
          martijn.oldenb. ..@gmail.com wrote:
          On Mar 17, 6:56 pm, Colin McKinnon
          <colin.thisisno tmysurn...@ntlw orld.deletemeun lessURaBot.comw rote:
          martijn.oldenb. ..@gmail.com wrote:
          >LS,
          >In the apache forums/newsgroups nobody seems to know the answer so I
          >am trying my luck here. Maybe it is a php problem after all.
          >My flash multiple upload systeem keep timing out after 300 seconds.
          >The timeout and all othere related settings in httpd.conf are set to
          >1000 seconds. There is no setting in httpd.conf set at 300. But still
          >phpinfo() shows http_keep_alive being 300.
          >Anyone have an idea how to change that setting. There doesn't seem to
          >be any information about this problem. Maybe I am missing the obvious.
          KeepAliveTimeou t is a limit on the interval between requests for Apache -
          not the total amount of time to keep a single connection open. Having said
          that - if it is a proper HTTP client it should have no problem opening a
          new connection and using that if the connection has gone idle or
          MaxKeepAliveReq uests is exceeded.
          >
          C.
          >
          LS,
          >
          Thank you for your reply.
          >
          If that is true then I should not have timeouts. Because my test
          uploads consists of 35 jpg files of about 700k to 900k each. Each
          single upload takes about 30 seconds. But after a total time of 300
          seconds the upload times out.
          >
          MaxKeepAliveReq uests is set at 0 to be unlimited (I also tried 1000
          and higher).
          KeepAliveTimeou t is set at 3600.
          >
          Is there no single setting to change http_keep_alive to a higher
          setting?
          >
          Kind regards.
          >
          http_keep_alive is an Apache configuration parameter, not PHP. Try
          alt.apache.conf iguration.
          >
          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstuck...@attgl obal.net
          =============== ===
          Dear Martijn,

          is the timeout exactly the same if you use different browsers? If not
          it would be an indication that it is a timeout of the browser - which
          does not receive a result and gives up ...

          Good luck
          Martin

          ------------------------------------------------
          online accounting on bash bases
          Online Einnahmen-Ausgaben-Rechnung

          ------------------------------------------------
          m2m server software gmbh


          Comment

          Working...