Python test app for Globus FD limit

Robert Olson olson at mcs.anl.gov
Mon Sep 22 16:47:08 CDT 2003


For a fixed pyGlobus, you'll see this at the end:

2044 3396
2045 3397
2046 3398
2047 3399
2048 3400
Globus error: File table overflow.

For an unfixed pyGlobus, you'll see this and a python crash dialog:

252 3653
253 3654
254 3655
255 3656
256 3657


from pyGlobus import io

class cl:
     pass

def lcb(*args):
     pass

x = []
i = 0
while 1:
     fh = io.GSITCPServer(("", 0), cl)
     print i, fh.port

     fh.socket.register_listen(lcb, None)

     x.append(fh)
     i += 1




More information about the ag-dev mailing list