Why is mod_limitipconn-0.23 in Ubuntu 8.04 not working?
Mumia W.
paduille.4062.mumia.w+nospam at earthlink.net
Wed Jul 16 11:45:19 UTC 2008
Jimmy Snell wrote:
> Hi, guys,
>
Hello.
> [...]
> Then, I started Apache, and there wasn't any error message; everything
> seemed to go fine.
>
> However, then I tried to test whether this module was working.
> I used the "ab" command to test from my machine:
> ab -n 1000000 -c 100 http://www.myhost.com
>
> Unfortunately, I found on my server that it showed there are 2620 HTTP
> connections from my machine. During the ab command was running, I also
> tried to visit http://www.myhost.com by FireFox. Here is the error
> message that I saw in FireFox:
> ========================
> 503 Service Temporarily Unavailable
> The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later.
> ========================
>
> After I stopped the ab command in my machine, everything went back to normal.
>
> Could anyone please give me some suggestions on this issue?
> Any reply is appreciated.
> Thanks.
>
Perhaps it is working. Maybe 999,997 of those connections received HTTP
503 errors. AFAIK, the returning of an error page doesn't break the
TCP/IP connection. You could configure Apache to immediately close
connections after the first request, but that might negatively affect
performance for people who are not going above the connection limit.
More information about the ubuntu-users
mailing list