<div dir="ltr"><div>Hi Graham, thanks for your suggestion. But in fact the initial import was a simple while-curl scripts with no concurrency. <br>With this script, a request will not be sent unless previous one gets reponse from designate-api. So I think it's not the rate of initial importing but the number of records that matters.<br><br></div><div>I have filed this bug with detailed error logs here:<br><a href="https://bugs.launchpad.net/designate/+bug/1434479">https://bugs.launchpad.net/designate/+bug/1434479</a><br></div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 19, 2015 at 9:59 PM, Hayes, Graham <span dir="ltr"><<a href="mailto:graham.hayes@hp.com" target="_blank">graham.hayes@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div><div class="h5"><br>
On 03/19/2015 07:41 AM, stanzgy wrote:<br>
> Hi all. I have setup kilo designate services with powerdns backend and mysql innodb storage in a<br>
single node.<br>
> The services function well at first. However, after inserting 13k A<br>
records via API  within 3 domains (5k, 5k, 3k for each), the service<br>
stops working.<br>
><br>
> designate-api returns 500 and many RPCs timeout<br>
> designate-central takes 100% cpu, seems trying hard updating domains<br>
but failed<br>
> designate-mdns also takes 100% cpu, flooded with "Including all<br>
tenants items in query results" logs<br>
> powerdns gets timeout errors during AXFR zones<br>
><br>
> The server doesn't seem to turn any better after suffering in this<br>
state for hours. What I could do to recover the service is to cleanup<br>
databases and restart the service.<br>
><br>
> My question is:<br>
> 1. Is it not recommended to create too many records in a single domain?<br>
> 2. Any suggestions to improve this situation?<br>
><br>
> --<br>
> Best Regards,<br>
><br>
> Zhang Gengyuan<br>
</div></div><<a href="http://www.hp.com/" target="_blank">http://www.hp.com/</a>><br>
<br>
 First off, for that initial burst of activity, I would disable debug<br>
level logging.<br>
<br>
How did you try and add them? Was it via a calling the API as fast as<br>
possible until it fell over?<br>
I would recommend rate limiting the initial import if it was.<br>
<br>
Do you have any logs from the services?<br>
<br>
Graham<br>
<br>
<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best Regards,<br><br>Zhang Gengyuan<br></div></div></div></div>
</div></div></div></div></div>