Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large LDAP Database #6

Open
pixie79 opened this issue Mar 27, 2013 · 2 comments
Open

Large LDAP Database #6

pixie79 opened this issue Mar 27, 2013 · 2 comments

Comments

@pixie79
Copy link

pixie79 commented Mar 27, 2013

Hi,

I have just loaded in my ldap db to ldapjs-riak however it stopped loading halfway through. Then when i tried even a basic search it failed.

When I repeated the search on the command line using curl I noticed the error appears to be that when you have keys set to true, you hit a max buffer in riak, but if you change it to streams then it works ok.
curl -v http://127.0.0.1:8098/riak/ufds?keys=true&props=false -H "Accept: text/plain"
curl: (27) Avoided giant realloc for header (max is 102400)!

curl -v http://127.0.0.1:8098/riak/ufds?keys=stream&props=false -H "Accept: text/plain"

I looked to just change this in the nodejs under line 184 of riak.js, this however blew up with the following reply to an ldapsearch call:
text: riak failure: Unexpected token {

I am guessing what ever calls the search does not handle a stream and is looking for a single reply ? but I am not sure where to look to help update this to handle streams and a larger payload.

Regards

Mark

@mcavage
Copy link
Owner

mcavage commented Mar 27, 2013

Hi Mark,

Sorry - I've abandoned this project for some time :\ -- internally we switched to using a custom sharded postgres system for the backend (we eventually got to where we really needed strong consistency).

@pixie79
Copy link
Author

pixie79 commented Mar 27, 2013

Hi,

Thanks for letting me know, I will dig deeper then and see if i can locate the issue.

Regards

Mark

-----Original Message-----
From: "Mark Cavage" notifications@github.com
Sent: Wednesday, March 27, 2013 15:17
To: "mcavage/node-ldapjs-riak" node-ldapjs-riak@noreply.github.com
Cc: "Mark Olliver" mark@olliver.me.uk
Subject: Re: [node-ldapjs-riak] Large LDAP Database (#6)

Hi Mark,

Sorry - I've abandoned this project for some time :\ -- internally we switched to using a custom sharded postgres system for the backend (we eventually got to where we really needed strong consistency).


Reply to this email directly or view it on GitHub:
#6 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants