ASF Bugzilla – Attachment 26555 Details for
Bug 44736
mod_proxy_balancer looses it's mind on reloads.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
keepalive.py - Python script to keep an apache process alive indefinitely by using the keepalive issue
keepalive.py (text/x-python), 544 bytes, created by
Andrew
on 2011-01-26 20:03:50 UTC
(
hide
)
Description:
keepalive.py - Python script to keep an apache process alive indefinitely by using the keepalive issue
Filename:
MIME Type:
Creator:
Andrew
Created:
2011-01-26 20:03:50 UTC
Size:
544 bytes
patch
obsolete
>import socket >import time >import sys > >#host = "cs2us1-int1-jv.dc.ash.247realmedia.com" >host = sys.argv[1] >s = socket.socket() >s.connect((host,80)) >s.settimeout(1) > >request = "GET /whoami?%s HTTP/1.1\r\n" "Host: %s\r\n\r\n" % (time.strftime("%H%M"), host) > >print "Request" >print "===============" >print request >print "===============" >count = 0 >try: > while 1: > s.send(request) > s.recv(1024) > time.sleep(1) > count += 1 > sys.stdout.write("%i\r"%(count,)) > sys.stdout.flush() >except: > print "Final count=%i"%(count,) > raise
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44736
:
26555
|
32086
|
32087
|
32091
|
32093
|
32095
|
32098
|
32159