Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1230037 - async simple paged results issue
async simple paged results issue
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base (Show other bugs)
7.0
Unspecified Unspecified
high Severity high
: rc
: ---
Assigned To: Noriko Hosoi
Viktor Ashirov
: ZStream
Depends On: 1228823
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-10 03:40 EDT by Jan Kurik
Modified: 2015-08-05 15:23 EDT (History)
5 users (show)

See Also:
Fixed In Version: 389-ds-base-1.3.3.1-19.el7_1
Doc Type: Bug Fix
Doc Text:
Issue 1. Cause: Asynchronous simple paged results search request code was not thread safe. Consequence: There was a small window that the simple paged result slot was conflicted and it could crash the server. Fix: The code is now thread safe. Result: No more crash is observed. Issue 2. Cause: Abandoning simple paged results request was not handled correctly if an abandon is issued too quickly. Consequence: An internal search result object had a chance not to be released. Fix: At any timing an abandon request is issued, the search result request is safely released. Result: No more memory leak is observed.
Story Points: ---
Clone Of: 1228823
Environment:
Last Closed: 2015-08-05 15:23:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1554 normal SHIPPED_LIVE 389-ds-base bug fix update 2015-08-05 19:23:18 EDT

  None (edit)
Description Jan Kurik 2015-06-10 03:40:19 EDT
This bug has been copied from bug #1228823 and has been proposed
to be backported to 7.1 z-stream (EUS).
Comment 5 Noriko Hosoi 2015-06-10 16:45:22 EDT
Steps to verify:
https://bugzilla.redhat.com/show_bug.cgi?id=1228402#c4
Comment 6 Sankar Ramalingam 2015-06-29 08:35:02 EDT
1. No regression in simplepaged and filter acceptance tests
SIMPLEPAGED startup 	100% (1/1) 	  	 
SIMPLEPAGED run 	100% (17/17) 	  	 
SIMPLEPAGED cleanup 	100% (1/1)

filter startup 	100% (1/1) 	  	 
filter run 	100% (273/273) 	  	 
filter cleanup 	100% (2/2)

2. Proceeding with asynchronous simplepaged results.
Comment 7 Sankar Ramalingam 2015-06-29 08:35:57 EDT
[root@dhcp35-196 ~]# rpm -qa |grep -i 389-ds-base
389-ds-base-1.3.3.1-18.el7_1.x86_64
389-ds-base-libs-1.3.3.1-18.el7_1.x86_64
Comment 14 Noriko Hosoi 2015-07-02 13:56:41 EDT
Thank you so much for the valgrind output, Sankar.  It was very helpful.

Could you please try this scratch build with valgrind and see it changes the behaviour or not?
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=9457717
Thanks!
--noriko
Comment 15 Sankar Ramalingam 2015-07-02 14:56:22 EDT
(In reply to Noriko Hosoi from comment #14)
> Thank you so much for the valgrind output, Sankar.  It was very helpful.
> 
> Could you please try this scratch build with valgrind and see it changes the
> behaviour or not?
> http://brewweb.devel.redhat.com/brew/taskinfo?taskID=9457717

I copied builds from the above brew link and updated them in the same machine. Then, I created a new instance and ran the same tests with valgrind. I will update the bug after few hours.
Instance port: 19589
Inst name - testinst3
Log file locn: --log-file=/var/tmp/val/slapd.vg.3344
> Thanks!
> --noriko
Comment 17 Noriko Hosoi 2015-07-02 16:04:13 EDT
Thank you so much for your quick action, Sankar!!
Comment 23 Sankar Ramalingam 2015-07-08 06:59:05 EDT
Stressed the server with the simplepaged search and I observed No crash. hence, marking the bug as Verified.

Build tested:
[root@qe-blade-12 ~]# rpm -qa |grep -i 389-ds-base389-ds-base-libs-1.3.3.1-19.el7_1.x86_64
389-ds-base-debuginfo-1.3.3.1-19.el7_1.x86_64
389-ds-base-1.3.3.1-19.el7_1.x86_64
Comment 25 errata-xmlrpc 2015-08-05 15:23:33 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1554.html

Note You need to log in before you can comment on or make changes to this bug.