Bug 767094

Summary: auth-worker: Error: libgcc_s.so.1 must be installe d for pthread_cancel to work
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-29 14:15:56 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 Jan ONDREJ 2011-12-13 08:33:07 UTC
Description of problem:
After update to new version of dovecot I am unable to log in to my server using libnss-mysql. With older version it works well. Last known working version: dovecot-2.0.15-1.fc16.x86_64

Version-Release number of selected component (if applicable):
dovecot-2.0.16-1.fc16.x86_64

How reproducible:
for all users which uses libnss-mysql

Steps to Reproduce:
1. install and configure libnss-mysql
2. auth using dovecot
  
Actual results:
Dec 13 08:46:48 mail dovecot: auth-worker: Error: libgcc_s.so.1 must be installe
d for pthread_cancel to work
Dec 13 08:46:48 mail dovecot: auth: Error: auth worker: Aborted request: Worker 
process died unexpectedly

Expected results:
normal log in

Comment 1 Jan ONDREJ 2011-12-13 08:46:49 UTC
Curious, my other system Fedora 14 is not affected. May be difference is, that F14 is i686 and F16 is x86_64.

dovecot-2.0.16-1.fc14.i686 - works
dovecot-2.0.16-1.fc16.x86_64 - don't work

Comment 2 Michal Hlavinka 2011-12-13 08:56:08 UTC
do you have system fully updated? what libgcc version do you have installed? (rpm -q libgcc)

Comment 3 Jan ONDREJ 2011-12-13 10:20:39 UTC
Sure, fully updated fedora 16 stable.

Looks like problem is in memory limits. After changing:

default_vsz_limit = 512M

it works again. It's enough to set to 300M for me.
Maybe some libraries are bigger like in previous version of dovecot and does not fit into this limit.

vsz limits are also mentioned in dovecot's changelog:

	* VSZ limits weren't being enforced for any processes. On server with
	  large mailboxes you may now see errors about it if the limits aren't
	  high enough. To fix them, either increase individual service {
	  vsz_limit } values or simply increase the default_vsz_limit setting.

I am not sure, how to fix this problem. Setting default limit to any value can lower user setting. :(

Comment 4 Michal Hlavinka 2011-12-13 11:43:14 UTC
ok, so bigger default_vsz_limit is required. I'll wait to see how many people it affects and either close it as notabug or change default value.

thanks