{"id":4004,"date":"2012-10-03T23:38:31","date_gmt":"2012-10-03T15:38:31","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4004"},"modified":"2023-04-28T09:48:59","modified_gmt":"2023-04-28T09:48:59","slug":"how-to-increase-file-descriptors-for-389-directory-server","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-increase-file-descriptors-for-389-directory-server\/","title":{"rendered":"How to Increase File Descriptors for 389 Directory Server"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2013\/05\/3891-150x150.png\" alt=\"389\" title=\"389\" width=\"150\" height=\"150\" class=\"alignleft size-thumbnail wp-image-717 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/150;\" \/>This post will share with you on how to increase file descriptor on 389 Directory Server. The steps should be similar either in CentOS or Redhat Enterprise server. 389 Directory Server is an enterprise-class open source LDAP server for Linux. It is based on Fedora Directory Server.<\/p>\n<p>1. Edit the \/etc\/sysconfig\/dirsrv file and add the following line : <\/p>\n<pre>\nulimit -n 8192\n<\/pre>\n<p>2. Increase nsslapd-maxdescriptors value. Assumed that directory instance was configured as slapd-centos62 :<\/p>\n<pre>\n[root@ldap ~]# vi \/etc\/dirsrv\/slapd-centos62\/dse.ldif\n<\/pre>\n<p>Add the following :<\/p>\n<pre>\nnsslapd-maxdescriptors: 8192\n<\/pre>\n<p>3. Restart dirsrv service to apply changes :<\/p>\n<pre>\n[root@ldap ~]# service dirsrv stop\nShutting down dirsrv:\n    centos62...                                            [  OK  ]\n[root@ldap ~]# service dirsrv start\nStarting dirsrv:\n    centos62...                                            [  OK  ]\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This post will share with you on how to increase file descriptor on 389 Directory Server. The steps should be similar either in CentOS or Redhat Enterprise server. 389 Directory&#8230;<\/p>\n","protected":false},"author":6,"featured_media":717,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1102],"tags":[1178,1190,1244,1536,1546,1825],"class_list":["post-4004","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-389-directory-server","tag-389-directory","tag-analysis","tag-centos","tag-linux","tag-linux-utilities","tag-system-tuning"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4004"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4004\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/717"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}