perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damyan Ivanov <diva...@creditreform.bg>
Subject Re: handler object: data sometimes resetting
Date Tue, 27 Sep 2005 07:09:31 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Taras Yurij Vasylovitch wrote:
> And now i'll try to open this page (localhost/projects/tracadmin) in the
> same time in 3 browser windows. After many times of "Refresh" hitting i
> have such log:
> Edited:0 at /home/yura/mod_perl/trac/admin/main.pm line 393. <-- good..
> Edited:0 at /home/yura/mod_perl/trac/admin/main.pm line 393. <-- what's
> that?
> Edited:0 at /home/yura/mod_perl/trac/admin/main.pm line 393. <-- and
> that???
> Edited:1 at /home/yura/mod_perl/trac/admin/main.pm line 393. <-- ok,
> going right...
> Edited:2 at /home/yura/mod_perl/trac/admin/main.pm line 393.
> Edited:3 at /home/yura/mod_perl/trac/admin/main.pm line 393.

A wild guess: Can this be indication that you're using prefork MPM? In this
case it would be normal - each process has its own instance of Edited and
starts incrementing it from zero.

Adding $$ to the debug print above could help diagnosing this.

Whether Edited is shared between threads in threaded MPMs is beyond my knowledge.

dam
- --
Damyan Ivanov          0x9725F63B          Creditreform Bulgaria
divanov@creditreform.bg              http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993            fax: +359(2)920-0994
mob. +359(88)856-6067  ICQ 3028500  dam@jabber.minus273.org/Gaim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDOPArHqjlqpcl9jsRAu1gAJ0UBzCGYi4fOcbYGb7hNXej3erh7ACeNvgw
zCHPZjx8tfmdwNnnVfunTlc=
=2MLW
-----END PGP SIGNATURE-----

Mime
View raw message