Mailing List Archive

[Bug 65159] mod_unique_id generates non-unique ids
https://bz.apache.org/bugzilla/show_bug.cgi?id=65159

Atle Solbakken <atle@goliathdns.no> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED

--- Comment #43 from Atle Solbakken <atle@goliathdns.no> ---
Hi all

I'm still getting collisions in a production environment. This happens with an
API where requests come from clients in small bursts, the clients access
multiple endpoints regularly. For every request, a session is created using the
unique ID as key. A database backend complains whenever there is a duplicate
key.

There are two hosts (virtual) running the API, both of them get duplicate keys.
They are running 2.4.53-1~deb11u1 which should have the latest patches from
last year. There is no special configuration of Apache on these hosts, but they
use MPM prefork as this is the default when using PHP.

I don't actively try to produce duplicates, it has happened with as little as
three requests per second. We get duplicates in about 1 in 45.000 requests.

A small number of collisions doesn't actually matter in our situation, but
'mod_unqiue_id' does still produce non-unique IDs :)

Atle.

--
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
[Bug 65159] mod_unique_id generates non-unique ids [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65159

--- Comment #44 from Atle Solbakken <atle@goliathdns.no> ---
(In reply to Atle Solbakken from comment #43)

> A database backend complains whenever there is a duplicate key. [...] There are two hosts (virtual) running the API, both of them get duplicate keys

Maybe it should be mentioned that the two hosts have their own database, the
collisions are not due to the same key being generated on two different hosts.

Atle.

--
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