Hi Wily Dev,

Something you said about threading ( particularly the file io cost) for
my dbin out debug "tool" helped me resolve an issue for a pesky thread
killer I was having trouble locating.

(I know DBIN/OUT change timing etc - still find them useful when the
memory deal isn't helping)... 

But... what you said about the file cost kind of inspired me to do som
grepping for all the hidden assign( someFile, SomeFilename) everywhere
in my code and I found some fileio that wasn't set up to be threadsafe -
now I admit I don't know 100% if converting this to the "way" I do all
my "threadsafe fileio" (Have routines for opening / closing files that
keeps track of what's open and in what mode - to force serialization if
there are two threads wish to append to the same file for example, but
it allows multiple threads to read same file.. but no others to write
while they are reading etC)....

Anyway - since I've made the change - I can't crash my server - even
when I hammer the "cycle server" code that doesn't restart the
application at shell level - all internal - which means I SEEM to have
decently clean object creation and destruction in place (seems like it
anyway so far)... It was 20% of the time (guess) able to get killed via
a "cycle" ... so FAR... Seems 100% rock solid! (fingers crossed).

Thanx - And if you want to share another brain dump about what you know
(threading issues or synapse, pascal whatever) and use a page or two...
be my guest!

Regards,
Jason P Sage



------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to