Bug 492422

Summary: perl well known syslog select timeout bug
Product: [Fedora] Fedora Reporter: Dieter Stolte <dstolte>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 10CC: kasal, mmaslano, rc040203, robin.norwood, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.10.0-68.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-22 01:08:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dieter Stolte 2009-03-26 19:26:36 UTC
Description of problem:
Sys::Syslog contains a bug which leads to a huge performance loss. In line 744 of 
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/Sys/Syslog.pm you can see a select with a timeout of 250ms. This select always times out so we essentially have a sleep here. If you call syslog in a loop as we did in a cgi-script you will experience a slooooow execution time which made our web app almost unusable. This bug is well known and has already been fixed in the syslog version 0.27 (check it here: http://search.cpan.org/~saper/Sys-Syslog-0.27/Syslog.pm (click on "source" and find "connection_ok" function)).

Version-Release number of selected component (if applicable):
perl-5.10.0-56.fc10.x86_64

How reproducible:
Deterministic behaviour

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Slooow syslog calls

Expected results:
Fast syslog calls

Additional info:

Comment 1 Tom "spot" Callaway 2009-03-26 22:33:34 UTC
https://admin.fedoraproject.org/updates/F10/FEDORA-2009-2992 updates Sys-Syslog to 0.27 and should resolve this. Please test it and confirm that it does so. :)

Comment 2 Fedora Update System 2009-03-27 14:55:15 UTC
perl-5.10.0-64.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2992

Comment 3 Dieter Stolte 2009-03-27 17:32:34 UTC
works, thanks a lot for the fast fix :)

Comment 4 Fedora Update System 2009-04-07 15:50:19 UTC
perl-5.10.0-66.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2992

Comment 5 Fedora Update System 2009-04-09 16:17:21 UTC
perl-5.10.0-67.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2992

Comment 6 Fedora Update System 2009-04-15 17:59:11 UTC
perl-5.10.0-68.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2992

Comment 7 Fedora Update System 2009-04-22 00:54:44 UTC
perl-5.10.0-68.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2009-04-22 01:08:07 UTC
perl-5.10.0-68.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.