[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-bugs
Subject: [Bug 55449] AH01185: worker slotmem_create failed --> slotmem file name/ID not unique
From: bugzilla () apache ! org
Date: 2013-08-22 21:01:47
Message-ID: bug-55449-7868-BMafgOCXbI () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]
https://issues.apache.org/bugzilla/show_bug.cgi?id=55449
--- Comment #2 from enteiser@googlemail.com ---
We experience semaphore collisions too when there a many apache instances on a
machine. Apache tries to create a semaphore which is already occupied by
another users apache instance.
If I interpret the code correctly the username prefix for the ID won't work
because the ID is passed to shmget, and key_t is an integer.
So various data is passed to a hash function to create a unique key_t. To me it
seems it's not so unique and collisions are more likely than intended?
Isn't it possible to use IPC_PRIVATE?
For quick lookup:
AH01179 happens here in line 797:
http://svn.apache.org/viewvc/httpd/httpd/tags/2.4.6/modules/proxy/mod_proxy_balancer.c?revision=1503324&view=markup
conf->id is some hashed value of some data created in line 766, and is
presumably passed as key_t to shmget at the end.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic