Just an FYI.
We have (hopefully!) just fixed an issue that’s been going on for some time.
We use a UPoC with the FTP package to grab appropriate files from a server and place them into another directory for further processing by Cloverleaf.
Every so often we had a crash (see example logs below). Since no data was lost, there was little priority to fix this. After a recent ‘upgrade’, the number of crashes became unacceptable and we investigated further.
A change of timeout value lessened the number of timeouts, but a change from active to passive ensured that Cloverleaf recovered from the timeout.
The exit_log:
Terminated by signal 0, core dumped at Fri Mar 12 04:10:07 2010
The site log file:
error error | E: Timeout of control connection after 2 sec.!
Unknown state “type_sent”
while executing
“error “Unknown state “$ftp(State)”””
(“default” arm line 2)
invoked from within
“switch -regexp — $ftp(State) {
list {
fileevent $sock readable
::HandleList $s $sock]
set ft…”
(procedure “::ftp::InitDataConn” line 27)
invoked from within
“::ftp::InitDataConn 0 sock131 xxx.xxx.xxx.xxx 20”
error error | E: Timeout of control connection after 2 sec.!