From 86830fab88fdee623275a134c82ad8d12662a795 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 4 Oct 2010 17:06:20 +0000 Subject: [PATCH] increase loop checkin can access site table from 20 to 200 starting up. DB2 is real slow after reboot git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index aaba49ed0..088a8073e 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -118,7 +118,7 @@ my $sitetab; my $retries = 0; # The database initialization may take some time in the system boot scenario # wait for a while for the database initialization -while (!($sitetab=xCAT::Table->new('site')) && $retries < 20) +while (!($sitetab=xCAT::Table->new('site')) && $retries < 200) { print ("Can not open basic site table for configuration, waiting the database to be initialized.\n"); sleep 1;