[Mono-bugs] [Bug 608845] New: IPC Semaphores are not cleaned up

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 25 17:34:38 EDT 2010



           Summary: IPC Semaphores are not cleaned up
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86-64
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: io-layer
        AssignedTo: lupus at novell.com
        ReportedBy: rabram at customsinfo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/20100330 Fedora/3.5.9-2.fc12 Firefox/3.5.9

Had a problem with our web servers running mono 2.6.3 that are running out of
semaphores.  I've noticed that the /tmp/.wapi contains nothing ever while the
web server is running.  

Our web servers running do not have this problem and have the
shared_data-xxx and shared-fileshare-xxx files in the /tmp/.wapi directory.

Using the mono-ctrl page, I can restart the web service.  ipcs -s always
contains one or more new semaphores and none are ever cleared up.  This goes
until the maximum number of semaphores is reached and then a reboot or manual
clearing of the semaphores is needed.

I'm using mono 2.6.3 and apache 2.2 on CentOS 5.4.  

Reproducible: Always

Steps to Reproduce:
1. start mod_mono web process
2. restart mono-server2 process manually using mono-ctrl or MonoAutoRestartTime
3. watch semaphores count grow using ipcs -s

Actual Results:  
Semaphore count increases, never decreases or stays the same.

Expected Results:  
Semaphores are cleared during a mono-server2 process restart or halt

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list