Home > Archive > LDAP > June 2007 > Getting segmentation faults
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Getting segmentation faults
|
|
| Briese, Craig 2007-04-23, 7:13 pm |
| While trying to do a search search that will return over 500,000
entries, I am getting segmentation faults.
Searches returning fewer results are okay (say 200,000-300,000 entries).
I am connecting to a Novell eDirectory 8.7.3 server running on RedHat
Enterprise Linux 3 ES with perl version 5.8.0 and perl-ldap 0.34. The
Perl program runs from the same server. The perl program grows to over
2500MB in memory, then crashes.
I know this is a bit vague, so please let me know what more would be
needed in terms of information.
| |
| Don Miller 2007-04-23, 7:13 pm |
| Craig, without seeing your script I won't be able to tell you exactly
but a common mistake is to read all the objects for a large query using
->entries. Try using: while ($object =3D $search->shift_entry) and you
will have less memory issues.
Don
-----Original Message-----
From: Briese, Craig [mailto:Craig.Briese@uscellular.com]=20
Sent: Monday, April 23, 2007 2:11 PM
To: perl-ldap@perl.org
Subject: Getting segmentation faults
While trying to do a search search that will return over 500,000
entries, I am getting segmentation faults.
Searches returning fewer results are okay (say 200,000-300,000 entries).
I am connecting to a Novell eDirectory 8.7.3 server running on RedHat
Enterprise Linux 3 ES with perl version 5.8.0 and perl-ldap 0.34. The
Perl program runs from the same server. The perl program grows to over
2500MB in memory, then crashes.
I know this is a bit vague, so please let me know what more would be
needed in terms of information.
| |
|
|
| Desshgh 2007-05-24, 8:37 am |
| HaCkeD aDuLT SiTe :)
Direct access to member zone
http://uniqueadult.com/members/video.php?file=1
username: 218571
password: wanttocome
change the number in the link to get other videos! There are gigs of them! | |
|
|
|
|
|
|
|