On 05/07/2011 10:30 AM, Stevan Bajić wrote:
> On Thu, 05 May 2011 18:56:34 -0400
> Jason Boxman<jas...@edseek.com>  wrote:
>
> Hello Jason,
>
>
>> Using the current latest git (29261fb31ec3aca0...), I get the following
>> when using the libsqlite3_drv:  (It works fine with the libpgsql driver.)
>>
>> dspam: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio ==
>> -1 || (new_prio>= __sched_fifo_min_prio&&  new_prio<=
>> __sched_fifo_max_prio)' failed.
>>
> let me quess: You use DSPAM in daemon mode with SQLite3. Can this be? If this 
> is the case then allow me to point you to the excellent README that is 
> included in DSPAM. Especially section "0. PREREQUISITES". There you see that 
> SQLite2/3 is NOT thread safe.
>
> If thread safety is important for you and you want to use the SQLite v2/v3 
> driver then you need to modify the DSPAM storage driver for SQLite v2/v3 and 
> add thread safety to it. If you do that then don't forget to submit a patch 
> to our SourceForge bug tracker.

Problem solved.  I'll use a thread safe driver instead.

Thanks!


-- 

Thursday next week is indeed time for a thorough insight
into the swirling red debian vortex. — leeta


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to