<div dir="ltr">more on to previous reply (sorry hit the send button by accident)<div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13px">For nova workers option:</span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13px">osapi_compute_workers=None</span><br></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:13px">And what is for keystone what option need to be set?</span></div><div style><div># The number of worker processes to serve the public WSGI</div><div># application. Defaults to number of CPUs (minimum of 2).</div><div># (integer value)</div><div>#public_workers=<None></div><div><br></div><div># The number of worker processes to serve the admin WSGI</div><div># application. Defaults to number of CPUs (minimum of 2).</div><div># (integer value)</div><div>#admin_workers=<None></div><div><br></div><div><br></div><div style>I'll try your solution and let you know the result.</div><div style><br></div><div style>Thanks,</div><div style>Nader.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 29, 2014 at 10:34 AM, Nader Lahouti <span dir="ltr"><<a href="mailto:nader.lahouti@gmail.com" target="_blank">nader.lahouti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Sep 29, 2014 at 9:58 AM, Jay Pipes <span dir="ltr"><<a href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On 09/29/2014 12:48 PM, Nader Lahouti wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Jay,<br>
<br>
I login first and the recreated the problem and here is the log:<br>
<a href="http://paste.openstack.org/show/116776/" target="_blank">http://paste.openstack.org/<u></u>show/116776/</a><br>
</blockquote>
<br></span>
OK. Looks like there isn't anything wrong with your setup. I'm guessing you have set up Keystone to run in Apache with 10 worker processes, and you have the workers config option setting in nova.conf, neutron.conf and all the other project configuration files set to 0, which will trigger a number of worker processes equal to the number of CPU cores on your box, which I'm guessing from looking at your SHOW FULL PROCESSLIST is around 24-32 cores.<br></blockquote><div><br></div></span><div>I haven't modified the default values in *.conf files (I'm using devstack for installation) for workers setting.</div><div>How to check that keystone is using apache with 10 worker process?</div><div>And the number of CPU cores on my box is 32.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Solution: either lower the workers configuration option from 0 to something like 12, or increase the max_connections setting in your my.cnf to something that can handle the worker processes from all the OpenStack services (I'd recommend something like 2000).</blockquote><div><br></div></span><div>Just for clarification, regarding the setting of workers option in the *.conf file:</div><div>Fore neutron:</div><div># api_workers = 0<br></div><div><br></div><div>For nova, what option should be set?</div><div>I see these options:</div><div><table rules="all" style="border:1px solid black;margin-bottom:20px;border-collapse:collapse;color:rgb(0,0,0);font-family:Verdana,Geneva,sans-serif;font-size:12px"><tbody><tr><td style="font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">metadata_workers=None</td><td style="font-size:10pt;font-family:Verdana,Geneva,sans-serif;border:1px solid black;padding:5px">(IntOpt)Number of workers for metadata service</td></tr></tbody></table><br></div><div><br></div><div>I'll try your solution and let you know the result. </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><br>
<br>
Best,<br>
-jay<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></span></div><br></div></div>
</blockquote></div><br></div>