only two concurrent php scripts at a time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • em

    only two concurrent php scripts at a time

    hi,
    i can't make more than two concurrent requests to a php script - i mean
    when i make say 20 simultaneous requests then two first execute but 18 remaining
    are waiting for them, then the next two scripts are handled and so on.
    why only two? how to change that?
    it's not session locking for sure - i use session_write_c lose,
    and actually i stripped down my script so that now has just some
    slow-down loop.
    it's php 4.2 and apache 2, linux
    regards
    em
  • Adam Plocher

    #2
    Re: only two concurrent php scripts at a time

    Apache limits it to two defaultly. I believe it's the MaxClients
    directive in the httpd.conf.

    Comment

    • em

      #3
      Re: only two concurrent php scripts at a time

      > Apache limits it to two defaultly. I believe it's the MaxClients[color=blue]
      > directive in the httpd.conf.[/color]

      No, MaxClients is usually more than 100. The problem was in Firefox and IE
      - they have a limit of 2 concurrent connections to one server... :/
      Thanks anyway,
      em

      Comment

      • d

        #4
        Re: only two concurrent php scripts at a time

        "em" <example@exampl e.com> wrote in message
        news:dqt7o7$i7d $1@inews.gazeta .pl...[color=blue][color=green]
        >> Apache limits it to two defaultly. I believe it's the MaxClients
        >> directive in the httpd.conf.[/color]
        >
        > No, MaxClients is usually more than 100. The problem was in Firefox and IE
        > - they have a limit of 2 concurrent connections to one server... :/
        > Thanks anyway,
        > em[/color]

        You can get round that by using subdomains. That'll give you as many
        connections as you want:

        site1.mysite.co m
        site2.mysite.co m

        etc.


        Comment

        Working...