More on MySQL -- Fatal trap 12

Jeff Roberson jroberson at chesapeake.net
Sat Feb 21 17:37:46 PST 2004


On Thu, 19 Feb 2004, David Xu wrote:

> Kris Gale wrote:
>
> >>Can you tell us what scheduler are you using ?  if it is ULE, can you
> >>try 4BSD too ?
> >>I think this is a heavy load for scheduler too, not just for pthread
> >>library.
> >>
> >>
> >
> >Originally, I was using 4BSD, but I switched to ULE yesterday.  Same
> >problems either way.
> >
> >
> With ULE,  your test program failed on my machine, but with 4BSD, I got:
>
> Threads (connected/running/created/cached): 1801/91/3607/0
> Threads (connected/running/created/cached): 1801/90/3607/0
> Threads (connected/running/created/cached): 1801/91/3607/0
> Threads (connected/running/created/cached): 1801/91/3607/0
> Threads (connected/running/created/cached): 1801/91/3607/0
> ...
>
> It is working fine 10 minutes without any problem.

If KSE is failing with ULE in some way then you are not properly using the
sched api.  The scheduler has to be told when threads, kses, ksegrps, and
procs are created and destroyed.  ULE is more sensitive to this than 4BSD
because it tracks more state on each object.

Cheers,
Jeff

>
> >Kris Gale
> >_______________________________________________
> >freebsd-threads at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> >To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
> >
> >
> >
> >
>
>
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
>


More information about the freebsd-threads mailing list