Hello, I've installed FDS 1.0.4 on test system with only 256MiBs of RAM. Now I want to test performance and when I've started to query FDS with ldapsearch on my full LDAP tree the load of linux box raised to 12 but FDS memory usage stays @ 90-110MiBs of ram, regardless of that I've added RAM and now linux box has 2048MiBs. Is there any option to set for FDS, that it uses more ram for cache or some other purpose?
koniczynek wrote:
Hello, I've installed FDS 1.0.4 on test system with only 256MiBs of RAM. Now I want to test performance and when I've started to query FDS with ldapsearch on my full LDAP tree the load of linux box raised to 12 but FDS memory usage stays @ 90-110MiBs of ram, regardless of that I've added RAM and now linux box has 2048MiBs. Is there any option to set for FDS, that it uses more ram for cache or some other purpose?
This is an excellent cache/memory tuning document from a Sun employee, primarily targeted to Sun DS users, but almost all of the information is relevant to Fedora DS (since they share a common lineage).
Richard Megginson napisał(a):
This is an excellent cache/memory tuning document from a Sun employee, primarily targeted to Sun DS users, but almost all of the information is relevant to Fedora DS (since they share a common lineage).
Lets say I heven't got much time lately so without thinking I've changed in dse.ldif nsslapd-import-cache-autosize from -1 to 1 and after restarting I've started to receive errors like: "3 Time limit exceeded" Someone do know what to do? ;)
koniczynek wrote:
Richard Megginson napisał(a):
This is an excellent cache/memory tuning document from a Sun employee, primarily targeted to Sun DS users, but almost all of the information is relevant to Fedora DS (since they share a common lineage).
Lets say I heven't got much time lately so without thinking I've changed in dse.ldif nsslapd-import-cache-autosize from -1 to 1 and after restarting I've started to receive errors like: "3 Time limit exceeded" Someone do know what to do? ;)
Change it back ?
David Boreham, dnia 2006-12-01 17:15 napisal:
Lets say I heven't got much time lately so without thinking I've changed in dse.ldif nsslapd-import-cache-autosize from -1 to 1 and after restarting I've started to receive errors like: "3 Time limit exceeded" Someone do know what to do? ;)
Change it back ?
man, please, show some respect ;) I did change it back, but to no avail. Also I can say (to stop further questions): yes, I've stopped the server before change.
koniczynek wrote:
David Boreham, dnia 2006-12-01 17:15 napisal:
Lets say I heven't got much time lately so without thinking I've changed in dse.ldif nsslapd-import-cache-autosize from -1 to 1 and after restarting I've started to receive errors like: "3 Time limit exceeded" Someone do know what to do? ;)
Change it back ?
man, please, show some respect ;) I did change it back, but to no avail. Also I can say (to stop further questions): yes, I've stopped the server before change.
What types of searches are returning time limit exceeded? Can you post relevant excerpts from the access and error logs?
Richard Megginson, dnia 2006-12-01 18:00 napisal:
man, please, show some respect ;) I did change it back, but to no avail. Also I can say (to stop further questions): yes, I've stopped the server before change.
What types of searches are returning time limit exceeded? Can you post relevant excerpts from the access and error logs?
I'm "benchmarking" my FDS with "ldapsearch -x" and earlier it worked and now it does not. In error logs there were "err=3" but I don't remember much more and I'll have access to the logs on Monday, so till then, only I can provide only this information (because I do not remember anything more ;) )
koniczynek wrote:
Richard Megginson, dnia 2006-12-01 18:00 napisal:
man, please, show some respect ;) I did change it back, but to no avail. Also I can say (to stop further questions): yes, I've stopped the server before change.
What types of searches are returning time limit exceeded? Can you post relevant excerpts from the access and error logs?
I'm "benchmarking" my FDS with "ldapsearch -x" and earlier it worked and now it does not. In error logs there were "err=3" but I don't remember much more and I'll have access to the logs on Monday, so till then, only I can provide only this information (because I do not remember anything more ;) )
Then I'm really surprised you didn't get this error before. You're doing a subtree search of all records as anonymous. If you have more than a few thousand records, this will always give a size limit or admin limit exceeded error.
Richard Megginson, dnia 2006-12-03 01:12 napisal:
Then I'm really surprised you didn't get this error before. You're doing a subtree search of all records as anonymous. If you have more than a few thousand records, this will always give a size limit or admin limit exceeded error.
Yes, and I've got error 11 earlier (size limit exceeded - my ldif file is 4MiB big ;) ) but I've changed the limits and everything worked fine till when I've changed this "nsslapd-import-cache-autosize".
koniczynek napisał(a):
Richard Megginson, dnia 2006-12-03 01:12 napisal:
Then I'm really surprised you didn't get this error before. You're doing a subtree search of all records as anonymous. If you have more than a few thousand records, this will always give a size limit or admin limit exceeded error.
Yes, and I've got error 11 earlier (size limit exceeded - my ldif file is 4MiB big ;) ) but I've changed the limits and everything worked fine till when I've changed this "nsslapd-import-cache-autosize".
Ok, I've located the problem: on one of my test machines (machines which queried ldap to generate load and test performance) in ldap.conf file there was timeout set (5 secs). I don't know why earlier it worked, but this is the problem (not the change of attribute value).
389-users@lists.fedoraproject.org