Master for now. newshare will be merged in and released very soon.
Yes, I did. It looked like all the open files were sockets from miners, so there may not be anything you can do. Do you expect to have hundreds of simultaneous connections from miners? If so, you might want to look at load-balancing over multiple P2Pool instances. If not, someone may be attacking your node by making hundreds of connections to it.
Hmm. Can you give me more info about load-balancing? The only things I found about it are load-balancing the network connection, not 2 instances of a process.
Also, is it normal that the pool is finding valid shares but Payout if a block were found NOW is stuck at 0, even though fee is set to 2%?
Use something like the "balance" program to do TCP load balancing between multiple P2Pool instances. You'll have to start two separate P2Pool instances listening on different worker ports, then use balance to make a public port that round-robins between them.
The fee is probabilistic - 2% of shares will go to you, not 2% of every share, so you're probably just unlucky at the moment.