Bug 104582

Summary: traceback while trying to log
Product: [Retired] Red Hat Linux Beta Reporter: Michael K. Johnson <johnsonm>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: beta1CC: gafton, mihai.ibanescu
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-26 21:36:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Michael K. Johnson 2003-09-17 15:42:35 UTC
I was using up2date, and it seemed to hang (that is, wouldn't redraw
the display) for a long time in the package retrieval stage.  I finally
got the following traceback:

Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1862, in doRetrieval
  File "/usr/share/rhn/up2date_client/up2date.py", line 330, in getPackage
    buffer = rpcServer.doCall(repos.getPackage, pkg, msgCallback, progressCallback)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 143, in doCall
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 137, in updateLoginInfo
    loginInfo = login()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 112, in login
    loginInfo = rpcServer.doCall(server.up2date.login, systemId)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 117, in doCall
    log.log_me("A socket error occurred: %s, attempt #%s" % (
  File "/usr/share/rhn/up2date_client/up2dateLog.py", line 31, in log_me
  File "/usr/share/rhn/up2date_client/up2dateLog.py", line 42, in write_log
    log_file = open(log_name, 'a')
IOError: [Errno 24] Too many open files: '/var/log/up2date'

Looking in /proc/<pid>/fd, I only see 8 file descriptors open, but
of course this is after the fact.

Comment 1 Mihai Ibanescu 2003-09-17 15:50:48 UTC
rpm -q up2date
rpm -q rhnlib


Comment 2 Michael K. Johnson 2003-09-17 19:26:03 UTC
$ rpm -q up2date
$ rpm -q rhnlib