[haiku-bugs] Re: [Haiku] #5790: panic: out of ports, but sUsedPorts is broken

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Mon, 03 May 2010 12:51:05 -0000

#5790: panic: out of ports, but sUsedPorts is broken
---------------------------+------------------------------------------------
 Reporter:  mmlr           |       Owner:  axeld         
     Type:  bug            |      Status:  new           
 Priority:  normal         |   Milestone:  R1            
Component:  System/Kernel  |     Version:  R1/Development
 Keywords:                 |   Blockedby:                
 Platform:  All            |    Blocking:                
---------------------------+------------------------------------------------

Comment(by mmlr):

 After a bit more than ten days of uptime the port ids are already at
 544968881+, so it is quite likely that after the 30+ days of uptime they
 wrapped. Anything linking to libbe currently uses up the 3 default reply
 ports of the static BMessage initialization. Since the server is flooded
 by the ssh bruteforce attacks which spawn sshd instances which happen to
 produce these reply ports it sounds like a reasonable explanation. On one
 side the static BMessage initialization could be made more lazy, on the
 other we probably should come up with a way to handle the id reuse case in
 general.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5790#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: