Nate Clark <[email protected]> wrote: > We're using Unicorn to serve a Rails app on a few app servers built on > Amazon EC2 instances. Each of the xlarge EC2 instances have the > equivalent of 8 CPUs, but it seems like our Unicorn master and 8 > workers are only utilizing the first CPU. We've been watching the CPU > graphs from collectd data when the website is under load, and only > cpu-0 shows any activity ... the others seem to be idle, or minimally > used by other services.
What is your request rate and average response time for the application? If requests come in more quickly than one worker can respond, /then/ the kernel may start using more workers. However, it looks like your application is just responding faster and can keep up with requests coming in. > I had assumed that the OS would automatically allocate the Unicorn > worker processes to use multiple CPUs, but now I'm not sure. The kernel does all the work for balancing. -- Eric Wong _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
