Michael Granger
Michael Granger
I've confirmed that data comes out of Ruby-LDAP as ASCII-8BIT, which is why Treequel's strings have that encoding: ``` ruby [1] pry(main)> require 'ldap' => true [2] pry(main)> c =...
**Original comment by Chris Bandy (Bitbucket: [cbandy](https://bitbucket.org/cbandy), GitHub: [cbandy](https://github.com/cbandy)).** ---------------------------------------- Jeff, when you say “DNS failover” do you mean that PostgreSQL has failed over to a replica and also a...
**Original comment by Jeff Wallace (Bitbucket: [tjwallace](https://bitbucket.org/tjwallace), GitHub: [tjwallace](https://github.com/tjwallace)).** ---------------------------------------- We are simulating a master failover by upgrading our database instance. This causes the DNS record to change. [Here are...
**Original comment by Lars Kanis (Bitbucket: [larskanis](https://bitbucket.org/larskanis), GitHub: [larskanis](https://github.com/larskanis)).** ---------------------------------------- I currently have no idea about the cause of this starvation. However you could try to disable ruby’s internal socket...
**Original comment by Jeff Wallace (Bitbucket: [tjwallace](https://bitbucket.org/tjwallace), GitHub: [tjwallace](https://github.com/tjwallace)).** ---------------------------------------- Thanks @{557058:e7024124-e281-4b49-929e-aa8361e13886} we tried with `PG::Connection.async_api = false` and still the Sidekiq worker locked up.
**Original comment by Lars Kanis (Bitbucket: [larskanis](https://bitbucket.org/larskanis), GitHub: [larskanis](https://github.com/larskanis)).** ---------------------------------------- And did you check the gdb backtrace? It should no longer contain wait\_socket\_readable and rb\_wait\_for\_single\_fd when using synchronous methods.
Yeah, I can take a look at this.
**Original comment by Chris Bandy (Bitbucket: [cbandy](https://bitbucket.org/cbandy), GitHub: [cbandy](https://github.com/cbandy)).** ---------------------------------------- That error message is coming from the PostgreSQL server. I’ve not seen a syntax error _inside_ whitespace like that before....
**Original comment by Jerko Čulina (Bitbucket: [JerkoCulina](https://bitbucket.org/JerkoCulina), ).** ---------------------------------------- This sql is crated in Postico where it works fine. Then I copied it in rails and tried it in rails...
@benone Did you compile pg on the same machine you're running it on? I have had this problem deploying to an ARM-based machine after compiling it on an x86 one....