Tune bitcoind and P2PoolIf you can't use the methods above or they aren't enough you can limit the number of connections used by bitcoind and P2Pool.
For bitcoind, use the parameter maxconnections in bitcoin.conf
maxconnections=10 # 20 is the default
Then p2pool cannot connect to the bitcoind.