<p>With master and luajit</p>
<pre><code>Processing: Node(5043406k 4137.3k/s) Way(563353k 40.39k/s) Relation(6601440 1005.55/s)  parse time: 21733s
Node stats: total(5043406477), max(6285198313) in 1219s
Way stats: total(563353404), max(671171896) in 13949s
Relation stats: total(6602164), max(9334518) in 6565s
Committing transaction for admin_area
Committing transaction for admin_line
Committing transaction for place_point
...
Mid: removing persistent node cache at nodes.bin
node cache: stored: 5043406477(100.00%), storage efficiency: 83.12% (dense blocks: 694886, sparse nodes: 187737901), hit rate: 100.00%
Osm2pgsql failed due to ERROR: Connection to database failed: FATAL:  sorry, too many clients already
</code></pre>
<p>with <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/osm2pgsql/commit/b89aea3db960711d7621f44c4939d553ab54e59c/hovercard" href="https://github.com/openstreetmap/osm2pgsql/commit/b89aea3db960711d7621f44c4939d553ab54e59c"><tt>b89aea3</tt></a> and no luajit</p>
<pre><code>Processing: Node(5043406k 2688.4k/s) Way(563353k 25.76k/s) Relation(6601590 979.76/s)  parse time: 30484s
Node stats: total(5043406477), max(6285198313) in 1876s
Way stats: total(563353404), max(671171896) in 21870s
Relation stats: total(6602164), max(9334518) in 6738s
Mid: removing persistent node cache at nodes.bin
node cache: stored: 5043406477(100.00%), storage efficiency: 83.12% (dense blocks: 694886, sparse nodes: 187737901), hit rate: 100.00%
Osm2pgsql failed due to ERROR: Connection to database failed: FATAL:  sorry, too many clients already
</code></pre>
<p>I'm rerunning with luajit, I forgot to enable it when building the branch</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/914#issuecomment-468946296">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7hIMeSX-WR-iK4qpzQv8_7rtNLG9ks5vSsE7gaJpZM4bN3Pw">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7gEZ-JHVyMX24sAy9brI_SHMydMuks5vSsE7gaJpZM4bN3Pw.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@pnorman in #914: With master and luajit\r\n```\r\nProcessing: Node(5043406k 4137.3k/s) Way(563353k 40.39k/s) Relation(6601440 1005.55/s)  parse time: 21733s\r\nNode stats: total(5043406477), max(6285198313) in 1219s\r\nWay stats: total(563353404), max(671171896) in 13949s\r\nRelation stats: total(6602164), max(9334518) in 6565s\r\nCommitting transaction for admin_area\r\nCommitting transaction for admin_line\r\nCommitting transaction for place_point\r\n...\r\nMid: removing persistent node cache at nodes.bin\r\nnode cache: stored: 5043406477(100.00%), storage efficiency: 83.12% (dense blocks: 694886, sparse nodes: 187737901), hit rate: 100.00%\r\nOsm2pgsql failed due to ERROR: Connection to database failed: FATAL:  sorry, too many clients already\r\n```\r\n\r\nwith b89aea3 and no luajit\r\n```\r\nProcessing: Node(5043406k 2688.4k/s) Way(563353k 25.76k/s) Relation(6601590 979.76/s)  parse time: 30484s\r\nNode stats: total(5043406477), max(6285198313) in 1876s\r\nWay stats: total(563353404), max(671171896) in 21870s\r\nRelation stats: total(6602164), max(9334518) in 6738s\r\nMid: removing persistent node cache at nodes.bin\r\nnode cache: stored: 5043406477(100.00%), storage efficiency: 83.12% (dense blocks: 694886, sparse nodes: 187737901), hit rate: 100.00%\r\nOsm2pgsql failed due to ERROR: Connection to database failed: FATAL:  sorry, too many clients already\r\n```\r\n\r\nI'm rerunning with luajit, I forgot to enable it when building the branch"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/osm2pgsql/pull/914#issuecomment-468946296"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/914#issuecomment-468946296",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/914#issuecomment-468946296",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>