- From: Carlos Camacho <
>
- To: "
" <
>
- Subject: [chef] Re: RE: Client execution time out
- Date: Thu, 7 Aug 2014 17:11:10 +0200
Hello!!
In my case this happens when I'm executing a recipe which unzips a
looot of data.
I can see that the recipe unzips the data correctly, but when it takes
more than 2 ours, the chef-client returns the time-out message.
Cheers.
On Thu, Aug 7, 2014 at 5:00 PM,
<
>
wrote:
>
Hey Carlos, if you are using WinRM there is a timeout setting that you
>
might need to adjust.
>
>
winrm set winrm/config '@{MaxTimeoutms="2700000"}'
>
>
I've set it high as some operations can take up to 4 hours to complete, by
>
default it's something like 5 mins I think.
>
>
Cheers
>
Chris
>
>
-----Original Message-----
>
From: Carlos Camacho
>
[mailto:
>
Sent: 07 August 2014 15:58
>
To:
>
>
Subject: [chef] Client execution time out
>
>
Hello, I'm having some timeouts when unzipping files, this process can take
>
some ours and its giving me this error:
>
>
[2014-08-07T14:49:19+00:00] FATAL: Mixlib::ShellOut::CommandTimeout:
>
batch[unzip_san] (frontiers_custom::populator line
>
129) had an error: Mixlib::ShellOut::CommandTimeout: command timed out:
>
---- Begin output of "cmd.exe" /c
>
"C:/Users/ADMINI~1/AppData/Local/Temp/2/chef-script20140807-2520-1fskyqe.bat"
>
----
>
STDOUT: C:\>7zG x -y C:\san\*.7z -oC:\san\
>
STDERR:
>
---- End output of "cmd.exe" /c
>
"C:/Users/ADMINI~1/AppData/Local/Temp/2/chef-script20140807-2520-1fskyqe.bat"
>
----
>
>
>
There is a way to extend this time? The recipe works fine when i unzip a
>
few files but when i have a case with a lot of files i got the timeout
>
error.
>
>
>
Cheers!
Archive powered by MHonArc 2.6.16.