Dave Augustus
2007-Sep-11 22:10 UTC
[Fedora-directory-users] FDS crash - happened after adding views
Hello all, On Centos 5 x86_64, we have fedora-ds-1.0.4-1.FC6.x86_64 installed. We are in the painful process of migrating from OpenLDAP to FDS. After adding around 40 views. The server crashed and won''t restart. Running slapd-server -d 1 provides no clues until the last statement: [11/Sep/2007:16:42:33 -0500] views-plugin - <-- views_cache_build_view_list ./start-slapd: line 33: 14540 Segmentation fault ./ns-slapd - D /opt/fedora-ds/slapd-ldap1-server1 -i /opt/fedora-ds/slapd-ldap1- server1/logs/pid -w $STARTPIDFILE "$@" Is there a limit to views? The changelog shows that it has been around for awhile. How do I recover? I have an ldif export but if I import the data with these views will I run into the same problems? Thanks, Dave
Dave Augustus
2007-Sep-11 22:46 UTC
Re: [Fedora-directory-users] FDS crash - happened after adding views
On Tue, 2007-09-11 at 17:10 -0500, Dave Augustus wrote:> Hello all, > > On Centos 5 x86_64, we have fedora-ds-1.0.4-1.FC6.x86_64 installed. > > We are in the painful process of migrating from OpenLDAP to FDS. After > adding around 40 views. The server crashed and won''t restart. > > Running slapd-server -d 1 provides no clues until the last statement: > > [11/Sep/2007:16:42:33 -0500] views-plugin - <-- > views_cache_build_view_list > ./start-slapd: line 33: 14540 Segmentation fault ./ns-slapd - > D /opt/fedora-ds/slapd-ldap1-server1 -i /opt/fedora-ds/slapd-ldap1- > server1/logs/pid -w $STARTPIDFILE "$@" > > Is there a limit to views? The changelog shows that it has been around > for awhile. > > How do I recover? I have an ldif export but if I import the data with > these views will I run into the same problems? > > Thanks, > Dave > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-usersAlso, when this occurred, the "Maximum Number of Files Open" via "fs.file-max" was not set. It is now set to 8192. Could this have caused my problem?
Richard Megginson
2007-Sep-12 00:56 UTC
Re: [Fedora-directory-users] FDS crash - happened after adding views
Dave Augustus wrote:> On Tue, 2007-09-11 at 17:10 -0500, Dave Augustus wrote: > >> Hello all, >> >> On Centos 5 x86_64, we have fedora-ds-1.0.4-1.FC6.x86_64 installed. >> >> We are in the painful process of migrating from OpenLDAP to FDS. After >> adding around 40 views. The server crashed and won''t restart. >> >> Running slapd-server -d 1 provides no clues until the last statement: >> >> [11/Sep/2007:16:42:33 -0500] views-plugin - <-- >> views_cache_build_view_list >> ./start-slapd: line 33: 14540 Segmentation fault ./ns-slapd - >> D /opt/fedora-ds/slapd-ldap1-server1 -i /opt/fedora-ds/slapd-ldap1- >> server1/logs/pid -w $STARTPIDFILE "$@" >> >> Is there a limit to views? The changelog shows that it has been around >> for awhile. >> >> How do I recover? I have an ldif export but if I import the data with >> these views will I run into the same problems? >> >> Thanks, >> Dave >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > > > Also, when this occurred, the "Maximum Number of Files Open" via > "fs.file-max" was not set. It is now set to 8192. > > Could this have caused my problem? >Possibly, but I doubt it. This looks like it could be a bug. Please file a bug in bugzilla.redhat.com.> > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Dave Augustus
2007-Sep-12 15:54 UTC
Re: [Fedora-directory-users] FDS crash - happened after adding views
On Tue, 2007-09-11 at 18:56 -0600, Richard Megginson wrote:> Dave Augustus wrote: > > On Tue, 2007-09-11 at 17:10 -0500, Dave Augustus wrote: > > > >> Hello all, > >> > >> On Centos 5 x86_64, we have fedora-ds-1.0.4-1.FC6.x86_64 installed. > >> > >> We are in the painful process of migrating from OpenLDAP to FDS. After > >> adding around 40 views. The server crashed and won''t restart. > >> > >> Running slapd-server -d 1 provides no clues until the last statement: > >> > >> [11/Sep/2007:16:42:33 -0500] views-plugin - <-- > >> views_cache_build_view_list > >> ./start-slapd: line 33: 14540 Segmentation fault ./ns-slapd - > >> D /opt/fedora-ds/slapd-ldap1-server1 -i /opt/fedora-ds/slapd-ldap1- > >> server1/logs/pid -w $STARTPIDFILE "$@" > >> > >> Is there a limit to views? The changelog shows that it has been around > >> for awhile. > >> > >> How do I recover? I have an ldif export but if I import the data with > >> these views will I run into the same problems? > >> > >> Thanks, > >> Dave > >> > >> -- > >> Fedora-directory-users mailing list > >> Fedora-directory-users@redhat.com > >> https://www.redhat.com/mailman/listinfo/fedora-directory-users > >> > > > > > > Also, when this occurred, the "Maximum Number of Files Open" via > > "fs.file-max" was not set. It is now set to 8192. > > > > Could this have caused my problem? > > > Possibly, but I doubt it. This looks like it could be a bug. Please > file a bug in bugzilla.redhat.com. > >OK, will do. I was kind of surprised with the problem as it seems that views have been around awhile. Would using a different rpm perhaps help?> > -- > > Fedora-directory-users mailing list > > Fedora-directory-users@redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
Richard Megginson
2007-Sep-12 15:56 UTC
Re: [Fedora-directory-users] FDS crash - happened after adding views
Dave Augustus wrote:> On Tue, 2007-09-11 at 18:56 -0600, Richard Megginson wrote: > >> Dave Augustus wrote: >> >>> On Tue, 2007-09-11 at 17:10 -0500, Dave Augustus wrote: >>> >>> >>>> Hello all, >>>> >>>> On Centos 5 x86_64, we have fedora-ds-1.0.4-1.FC6.x86_64 installed. >>>> >>>> We are in the painful process of migrating from OpenLDAP to FDS. After >>>> adding around 40 views. The server crashed and won''t restart. >>>> >>>> Running slapd-server -d 1 provides no clues until the last statement: >>>> >>>> [11/Sep/2007:16:42:33 -0500] views-plugin - <-- >>>> views_cache_build_view_list >>>> ./start-slapd: line 33: 14540 Segmentation fault ./ns-slapd - >>>> D /opt/fedora-ds/slapd-ldap1-server1 -i /opt/fedora-ds/slapd-ldap1- >>>> server1/logs/pid -w $STARTPIDFILE "$@" >>>> >>>> Is there a limit to views? The changelog shows that it has been around >>>> for awhile. >>>> >>>> How do I recover? I have an ldif export but if I import the data with >>>> these views will I run into the same problems? >>>> >>>> Thanks, >>>> Dave >>>> >>>> -- >>>> Fedora-directory-users mailing list >>>> Fedora-directory-users@redhat.com >>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>> >>>> >>> Also, when this occurred, the "Maximum Number of Files Open" via >>> "fs.file-max" was not set. It is now set to 8192. >>> >>> Could this have caused my problem? >>> >>> >> Possibly, but I doubt it. This looks like it could be a bug. Please >> file a bug in bugzilla.redhat.com. >> > OK, will do. I was kind of surprised with the problem as it seems that > views have been around awhile. > > Would using a different rpm perhaps help? >Perhaps, but I doubt it. CentOS 5 is very, very close to FC6, so that should be the most appropriate binary to use. Could you narrow the problem down? You say it crashes when using 40 views - does it work if you use fewer views?> >>> -- >>> Fedora-directory-users mailing list >>> Fedora-directory-users@redhat.com >>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>> >>> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >