[rt-users] Is RT not multi (tasking/threading) safe!
Ruslan U. Zakirov
Ruslan.Zakirov at acronis.com
Fri Nov 5 09:14:22 EST 2004
Sven Sternberger wrote:
> Hello!
>
> I had a similar post before. But I feel that it getting worse. In the
> example I pressed quickly first "take" and then "resolved" . The result
> is the ticket is owned by nobody and resolved?!?!?!
>
> The history:
> Fri Nov 05 14:11:50 2004 sternber - Given to Nobody
> Fri Nov 05 14:11:48 2004 sternber - Status changed from open to
> resolved
> Fri Nov 05 14:11:44 2004 sternber - Taken
>
> My config:
> Debian sarge/RT 3.0.11
> 2 XEON proccessor machine
>
> My idea is that because the http protocol is stateles the
> RT is not able to serialize the task in the right order, so
> while the "take" process is running, the "resolved" task
> has already finished. If this is true, RT has a BIG problem!
It's cache. RT has per apache process records cache(not shared).
Model of your situation:
2 apache processes:
1) load ticket, owner is nobody, record cached in first process
2) take ticket, record cached in second process
1) load resolve page, ticket in cache has owner nobody, in result you
get nobody in owner select box, submit, RT updates ownership.
Solution: turn off cache with DontCacheSearchBuilderRecords option in
the RT config. Very big perfomance pinalties are expected.
>
> Or could it be the apache config???
>
> best regards!
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
More information about the rt-users
mailing list