Hi all,
Am Freitag, den 20.04.2007, 19:24 +0200 schrieb Heiko
Jansen:
> Am Freitag, den 20.04.2007, 09:25 -0700 schrieb Philip
M. Gollucci:
> > > I have to maintain a multithreaded (150+)
C++ application (running as
> > > 64Bit App on Solaris 10, SPARC, SunCC) which
uses embedded perl to allow
> > > for easy data modification (utf-8 encoded
strings) in certain places.
> > > This does work in general, but every now and
then the application
> > > crashes although the same perl code has been
run for a few days.
> >
> > I only briefly read this, but you're not hitting a
system limit of some
> > kind are you ? Max open files, sockets, processes
?
just to let you know:
Some minor tweaks in the CPP-Code may have helped but it
looks like the
most successful action I could take was switching to the
latest code in
the 5.8.x maintenance tree
(htt
p://public.activestate.com/pub/apc/perl-5.8.x/).
Especially the recent thread safety fix for
"tr///" seems to have helped
a lot.
I still see senseless error messages like
-- snip --
(in cleanup) Can't find string terminator '"' anywhere
before EOF
at /digibib/tools/lib/perl5/5.8.8/unicore/To/Fold.pl line
108
-- / snip --
although the respective files are perfectly fine, but at
least the
processes don´t die anymore.
I can´t see a reason why perl should be unable to read and
parse the
entire file but maybe I can fix that by preloading these
files/modules
in an interpreter instance which is then cloned for every
new instance.
heiko
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe perl.apache.org
For additional commands, e-mail: dev-help perl.apache.org
|