ftp uploads failing
Posted: Tue 05 Jul 2022 1:01 pm
Over the past 10 days or so some of my ftp uploads fail. Sometimes CMX's recovery system works as planned and on the next cycle or two the upload resumes. However, for some the failure remains on all subsequent cycles and only a restart of CMX can restore the upload. Typically, this seems to become the case for about 3 files each day. The files that fail in this way vary - sometimes it is a standard file (eg realtime.txt), sometimes an extra web file (I have 8 of these at various intervals), and sometimes a MySQL upload. And yes I realize the number of different files being uploaded is profligate!
These uploads have been working for a long time - ie several years - albeit in various forms - but no recent changes
I think the failing files are usually being uploaded at the realtime interval (12 seconds) although the MySQL file that failed on a couple of occasions is at 1 minute intervals. The realtime uploads are finished within 3 seconds - when working correctly
I'm using plain simple ftp, and have tried two different, and completely independent, commercial web servers. The failures have occurred across both recent releases b3190 and b3184.
Attached is a recent diagnostic file where four files became "stuck" and CMX was never was able to restart them - until I restarted CMX.
I'd be grateful if those who are able to read these "tea leaves" can give me an insight into what the cause may be or better still what the fix is!
Some key time-points in the file:
FIRST
2022-07-03 16:55:09.336 ProcessTemplateFile: Error writing to file 'web_cmxui/realtimetagsT.phptmp'
Successful recovery from this error after a couple more attempts
SECOND
2022-07-04 00:06:45.279 Error encountered during Realtime file update.
2022-07-04 00:06:45.279 Sharing violation on path /home/linc/CumulusMX/realtime.txt
Remains in error until CMX restarted
THIRD
2022-07-04 00:20:09.455 ProcessTemplateFile: Error writing to file 'web_cmxui/realtimetagsT.phptmp'
Remains in error until CMX restarted
FOURTH
2022-07-04 01:29:09.386 ProcessTemplateFile: Error writing to file 'web/cumuluswebtags.txttmp'
Remains in error until CMX restarted
FIFTH
2022-07-04 02:14:09.509 ProcessTemplateFile: Error writing to file 'web_cmxui/realtime-xT.txttmp'
Remains in error until CMX restarted
These uploads have been working for a long time - ie several years - albeit in various forms - but no recent changes
I think the failing files are usually being uploaded at the realtime interval (12 seconds) although the MySQL file that failed on a couple of occasions is at 1 minute intervals. The realtime uploads are finished within 3 seconds - when working correctly
I'm using plain simple ftp, and have tried two different, and completely independent, commercial web servers. The failures have occurred across both recent releases b3190 and b3184.
Attached is a recent diagnostic file where four files became "stuck" and CMX was never was able to restart them - until I restarted CMX.
I'd be grateful if those who are able to read these "tea leaves" can give me an insight into what the cause may be or better still what the fix is!
Some key time-points in the file:
FIRST
2022-07-03 16:55:09.336 ProcessTemplateFile: Error writing to file 'web_cmxui/realtimetagsT.phptmp'
Successful recovery from this error after a couple more attempts
SECOND
2022-07-04 00:06:45.279 Error encountered during Realtime file update.
2022-07-04 00:06:45.279 Sharing violation on path /home/linc/CumulusMX/realtime.txt
Remains in error until CMX restarted
THIRD
2022-07-04 00:20:09.455 ProcessTemplateFile: Error writing to file 'web_cmxui/realtimetagsT.phptmp'
Remains in error until CMX restarted
FOURTH
2022-07-04 01:29:09.386 ProcessTemplateFile: Error writing to file 'web/cumuluswebtags.txttmp'
Remains in error until CMX restarted
FIFTH
2022-07-04 02:14:09.509 ProcessTemplateFile: Error writing to file 'web_cmxui/realtime-xT.txttmp'
Remains in error until CMX restarted