[Owncloud] Fwd: How I just lost 2/3 of my files to the sync-client
Christian Weiske
cweiske at cweiske.de
Thu Feb 6 09:53:17 UTC 2014
Hello Klaas,
> >>> [Fri Jan 31 11:02:06 2014] [warn] [client 91.66.218.142]
> >>> mod_fcgid: read data timeout in 40 seconds
> >>> [Fri Jan 31 11:02:06 2014] [error] [client 91.66.218.142]
> > He is using FCGI (FastCGI), which starts separate PHP processes and
> > waits for a couple of seconds. If the PHP process doesn't respond
> > within that time, cgi will see it as "fail" and send a 500 back to
> > the client.
> >
> > The PHP process will still run on.
> Ok, in that cas e there is no chance at all to handle that correctly.
Oh, there is.
The server app could send a dot or whatever every couple of seconds, so
that there is something to send to the client and the cgi process sees
that the php process did not crash.
Or finish early with a "processing" state, put it in a queue and let the
client pull every couple of seconds to see if it's done.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20140206/7aa710d3/attachment.sig>
More information about the Owncloud
mailing list