[Glass] Request for MFC gclock by session 15 denied, reason: vote state is voting, waiting for promote dead

John McIntosh johnmci at smalltalkconsulting.com
Fri Jan 24 22:33:27 PST 2014


Was trying to setup a backup/cleanup script...
Say

# do backup
topaz -l -T 50000 << EOF
set gemstone seaside
set username DataCurator
login
xxxxxxxxxxx
output push backup.out
errorCount
send SystemRepository markForCollection
send SystemRepository objectAudit
send SystemRepository startNewLog
run
SystemRepository fullBackupCompressedTo:
 '/opt/gemstone/backups/backup-' ,
 (DateTime now asSeconds // 60) printString.
%
logout
errorCount
exit
EOF
# cleanup backups

But usually this results in:

topaz 1> topaz 1> -- Request for MFC gclock by session 15 denied, reason:
vote state is voting, waiting for promote dead

-- Request for MFC gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for MFC gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for MFC gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for MFC gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for MFC gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

ERROR 2501 , a Error occurred (error 2501), An operation that needs to
acquire the gcLock was not able to get the lock within a reasonable amount
of time. (Error)

topaz 1> topaz 1>

Object Audit: Audit successfully completed; no errors were detected.

true

topaz 1> topaz 1> 53

topaz 1> topaz 1> -- Request for Backup gclock by session 15 denied,
reason: vote state is voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

-- Request for Backup gclock by session 15 denied, reason: vote state is
voting, waiting for promote dead

[Error]: Request for Backup gclock by session 15 denied, reason: vote state
is voting, waiting for promote dead during a multi-threaded operation

ERROR 2734 , a RepositoryError occurred (error 2734), Request for Backup
gclock by session 15 denied, reason: vote state is voting, waiting for
promote dead (RepositoryError)

topaz 1> topaz 1>

[Info]: Logging out at 01/25/2014 06:29:09 UTC

For a while now I've had

STN_EPOCH_GC_ENABLED = TRUE;


However I set that to false and restarted the stone and still end usually
with the same problem.

Clues are welcome



-- 
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882
===========================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140125/a1380d16/attachment.html>


More information about the Glass mailing list