-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Neil Gunton schrieb: > Hi all, > > I am currently using Embperl 1.3.6, with Apache 1.3.33 and mod_perl 1.29 > on a new install of Debian Sarge. Previously this was running on Debian > Woody without issues, but there appears to be a new threaded version of > perl (5.8.4) which is causing messages to the error log every time a > child process exits: > > A thread exited while 2 threads were running.
That's really interesting because on Apache-1 you don't have threads if your application (or one of the third party modules you are using) doesn't start any in the background. > > or sometimes it's: > > A thread exited while 2 threads were running, <Reader> line 7. > > The version of Perl is "v5.8.4 built for i386-linux-thread-multi". It's > the one that came with Sarge. > > Everything works fine otherwise. > > Has anyone else encountered this? Any tips on how to suppress the > warning? It's annoying to have it filling up my server error logs. > > Thanks, > > -Neil > > Upgrading to the latest perl doesn't harm you that much. I prefer it because everthing is under my control and you can gain much speed e.g. compile your perl without thread-support will bring 10%-20% speed enhancement. I'd suggest to install your own perl into e.g. /opt/perl-5.8.7 leaving your old perl untouched, compile your own apache(not a must) and mod_perl (a must because the debian-mod_perl is not using your new perl) and install all missing modules using the cpan-shell. You have to install all modules because I think you cannot use old ones when your perl-5.8.4 is threaded and your new perl-5.8.7 is not threaded because they are not binary compatible but I could be mistaken here. Tom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC21eqkVPeOFLgZFIRAiVBAKC1DpMGX3RYeuw05iV5R4K84OJyVACdGqDp VXZYjNl0PaFtOlhedr427Eo= =P5xD -----END PGP SIGNATURE-----