Running multiple SSL servers on same machine
rousskov at measurement-factory.com
Fri Mar 7 21:45:13 UTC 2014
On 03/04/2014 09:05 PM, Alberto Klocker wrote:
> I've been using tasksets as recommended to run multiple instances of the
> polygraph-server on a single machine with great results. However when it
> comes to using SSL on the servers I seem to be hitting a wall.
> Some of my server processes with SSL peak at 100% CPU usage under high
> load tests. If I use tasksets to spread out across cores I find I start
> getting errors because when starting up they create the .pem files in
> /tmp/ with the same names.
> ie all servers create files in /tmp
> named poly-1b5ac501-cert.srl,poly-557ac53b-serverkey.pem
> poly-6401b68e-serverkey.pem etc
> Initially they all used the same myssl.conf file from your example in
> the docs. I tried placing these in different directories with different
> configurations but the files seem to always have the same name. Any
> thoughts on how I can get multiple SSL servers running on one machine?
Yes, please try the attached patch that makes certificate file names
more unique. We use it for SMP testing.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 738 bytes
Desc: not available
More information about the Users