I don't think I've seen this on Mac OS. I assume this is on Linux? I'll start looking for it.
-- Murphy On May 22, 2012, at 9:46 AM, Brandon Heller wrote: > I can confirm that I've seen this too, a number of times, though I haven't > been able to (or tried) to make a repeatable test case yet. > > -b > > On Mon, May 21, 2012 at 11:42 PM, Frank Li <[email protected]> wrote: > Hello, > > On the latest noxrepo/pox master branch, we occasionally run into errors if > the controller is started before the switches connect (and sometimes even > afterward). The traceback is always as follows. Are there any suggestions for > how to prevent these errors? > > DEBUG:openflow.of_01:[Con 32/None] Socket error: Broken pipe > DEBUG:openflow.of_01:[Con 32/None] disconnecting > Exception in thread Thread-1: > Traceback (most recent call last): > File "/usr/lib/python2.7/threading. > py", line 551, in __bootstrap_inner > self.run() > File "/usr/lib/python2.7/threading.py", line 504, in run > self.__target(*self.__args, **self.__kwargs) > File "/home/ubuntu/proj3/pox/pox/lib/recoco/recoco.py", line 574, in > _threadProc > xl.keys(), timeout ) > File "/home/ubuntu/proj3/pox/pox/openflow/of_01.py", line 506, in fileno > return self.sock.fileno() > File "/usr/lib/python2.7/socket.py", line 224, in meth > return getattr(self._sock,name)(*args) > File "/usr/lib/python2.7/socket.py", line 170, in _dummy > raise error(EBADF, 'Bad file descriptor') > error: [Errno 9] Bad file descriptor > > > Thanks, > Frank >
