You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Mike Martinet <mm...@netscape.net> on 2002/05/15 22:17:38 UTC

Re: MLDB Tie Errors

Joshua,

Below please find ( for the benefit of the mailing list ) the shortened
version of my error log just before the error occurred.

I will send you the entire tarzip (526k) of the log if you wish as an
attachment.

MjM

Application: Apache::ASP::Application=HASH(0x8533054); GlobalASA:
Apache::ASP::GlobalASA=HASH(0x854c3a4); Internal:
Apache::ASP::State=HASH(0x854c494); Request:
Apache::ASP::Request=HASH(0x8528fe4); Response:
Apache::ASP::Response=HASH(0x8533150); Server:
Apache::ASP::Server=HASH(0x854c398); Session:
Apache::ASP::Session=HASH(0x85332f4); app_state: 1; basename:
Office.asp; cleanup: ARRAY(0x852c398); compile_checksum:
4dee2f5e874b1f2f13009641c74b68b7; compile_includes: TRUE; cookie_path:
/; dbg: 1; debugs_output: ARRAY(0x854c4f4); dirname:
/mnt/hdb/www/Linktivity/content/webdemo//; filename:
/mnt/hdb/www/Linktivity/content/webdemo//Office.asp; global:
/mnt/hdb/www/Linktivity/content/webdemo///.; global_package: ;
group_refresh: 120; id:
__ASP_nktivity_content_webdemo_Office_aspx27eb0316d7e735aeebfdbd0243daecd2;
includes_dir: ARRAY(0x855cd2c); init_packages: ARRAY(0x853c284);
lang_comment: #; lang_language: PerlScript; lang_module:
Apache::ASP::Lang::PerlScript; lang_object:
Apache::ASP::Lang::PerlScript=HASH(0x853c0b0); mtime: 1021396210;
no_cache: ; no_session: 0; no_state: ; package:
Apache::ASP::Compiles::__ASP_db_www_Linktivity_content_webdemo__x6d950a10a5bd82b1979767ed86850c5f; 

packages_init: HASH(0x87195d8); paranoid_session: 0; parse_config: 1;
parse_file_count: 2; pod_comments: 1; r: Apache=SCALAR(0x854c38c);
remote_ip: 216.253.192.212; response_tied: 1; search_dirs_cache:
HASH(0x855cd74); secure_session: ; session_cookie: 1; session_count: ;
session_id: 06f971ab4098596121a2f50cf64e98cb; session_serialize: ;
session_timeout: 1200; session_url: ; session_url_match: ;
session_url_parse: ; session_url_parse_match: ; start_time: 1021480895;
stat_inc: ; stat_inc_match: ; stat_scripts: 1; state_db: ; state_dir:
./.state; state_manager: 10; state_serialize: ; state_serializer: ;
subid:
Apache::ASP::Compiles::__ASP_db_www_Linktivity_content_webdemo__x6d950a10a5bd82b1979767ed86850c5f::__ASP_nktivity_content_webdemo_Office_aspx27eb0316d7e735aeebfdbd0243daecd2; 

total_time: 0.00000; ua: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.0); unique_packages: ; use_strict: ; win32: 0; xml_subs_match: ;
xml_subs_strict: ; xslt: ;
[Wed May 15 09:41:35 2002] [error] [asp] [29160] [debug] destroying ASP
= Apache::ASP=HASH(0x8528f9c)
[Wed May 15 09:41:35 2002] [error] [asp] [29160] [debug] testing
internal time for cleanup groups
[Wed May 15 09:41:35 2002] [error] [asp] [29160] [debug] current_master
- Checked: 1021480384; PID: 29150; ServerID: d93e81b6237b9ed2;  -
is_master - 0
[Wed May 15 09:41:35 2002] [error] [asp] [29160] [debug] 1021480448 time
is stale, is_master 0 - Checked: 1021480384; PID: 29150; ServerID:
d93e81b6237b9ed2;
[Wed May 15 09:41:35 2002] [error] [asp] [29160] [debug] sleep for
acquire master check in case of shared state
[Wed May 15 09:41:36 2002] [error] [asp] [29160] [debug] is_master 1
after update 3524b71c6d216255 - 29160
[Wed May 15 09:41:36 2002] [error] [asp] [29160] [debug] groups  - 0d;
09; 04; 01; 03; 0f; 08; 0b; 02; 0c; 0e; 07; 06; 0a; 00; 05
[Wed May 15 09:41:36 2002] [error] [asp] [29160] [debug] group check 0d,
next in 1 sec
[Wed May 15 09:41:36 2002] [error] [asp] [29160] [debug] group check 09,
next in 1 sec
[Wed May 15 09:41:36 2002] [error] [asp] [29160] [debug] resetting
timeout for deletion lock on 09f8a8ea69cbf90fa7f09c6eb6edf6dc <-->
[Wed May 15 09:41:36 2002] [error] [asp] [29160] [debug] creating dbm
for file , db SDBM_File, serializer: Data::Dumper
MLDBM error: Second level tie failed, "Invalid argument" at
/usr/lib/perl5/site_perl/5.6.1/MLDBM/Sync.pm line 209
[Wed May 15 09:41:36 2002] [error] can't tie to MLDBM with args:
,66,416; error:  at /usr/lib/perl5/site_perl/5.6.1/MLDBM/Sync.pm line 209.




joshua@chamas.com wrote:

  > Mike Martinet wrote:
  >
  >>Are you suggesting that I modify Sync.pm?
  >>
  >>MjM
  >>
  >>
  >
  > No.  I had asked for an error_log trace with Debug set to -1
  > to help solve your specific problem.  My last bit about
  >
  >   tie %hash, "MLDBM::Sync", $storage, O_RDWR | O_CREAT, 0660;
  >   tied(%hash)->Lock;
  >
  > was more relevant to Franck's problem.  If you want, you could
  > try something like
  >
  > # global.asa
  > sub Script_OnStart {
  >   $Session->Lock();
  > }
  >
  > to similar effect.  Also the SessionSerialize config
  > achieve this as well.  But I do not know that these things
  > will fix your problem, and if they don't I'll need to see
  > that error_log system debug trace.
  >
  > --Josh
  >
  >




---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org