He's baaaaack...
Well folks..
The good news is that APC and my upload progress is working! : )
The bad news is, ...kind of working. : |
It does exactly what I want, but at 1 hour of progress-barring, it
stops. I.e., APC stops returning a response for the given key. Whether
the connection has allowed 100MB, 500MB or 1GB. The file actually
continues to upload, for hours if necessary, and eventually gets there.
APC provides a sort of management page that lets you look at the APC
status, including a listing of "User Cache Entries" which includes any
still-valid upload keys, and any keys created via apc_add(). This
listing includes a Timeout value, which is "none" for the apc_add keys
and 3600 for the upload keys. Somewhat suspicious, I'd say, since the
keys stop being working after 1 hour of use.
APC lets you set a number of timeout values: apc.gc_ttl, apc.user_ttl,
apc.ttl. I have set all of these to be gianormous, but the upload key
timeout value never changes.
I can't believe that this is an inherent limitation, or nobody would
be using this. The Google claims people are using this for big
uploads, so I should be able to. I have looked through Apache/unix to
see if this limit refers to something set deeper in the system, but
everything that I know of that I can loosen up, I have.
Any ideas?
Thanks, Phred
On Sep 15, 2009, at 8:51 AM, Nathan Nobbe wrote:
On Tue, Sep 15, 2009 at 12:05 AM, Phred White
<phplist@xxxxxxxxxxxxxxx>wrote:
Folks:
Thanks for all your help and suggestions.
Miracle of miracles I am now getting a response,so I can start some
level
of debugging.
I am not sure exactly what has been going on. I NEVER got a
response, then
I did - when I tried uploading some different files. It seems that
larger
files always give a negative response for me. Now I am thinking
that it has
been a timing issue. My ajax stuff doesn't repeat yet, so there is
currently
only one request. It seems that if the file is a little too large,
the first
response is always false, that may be the case for very small files
too. I
finally just picked a file that was the right size.
Since I could never verify that APC was responding, it didn't occur
to me
to go ahead and iron out the ajax stuff.
Anyway now I can move forward.
Thanks all for all your suggestions, sorry this ends up being such
a stupid
conclusion.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php