Thanks for programming 101.
I'll keep your advice when my goal will be optimizing my current work,
which is not currently the case.
I do not simply want something to work here. I am fully capable of finding
workarounds whenever I need/want them.
I'll leave the 'I do not care how it works as long as
OK, I leave you to it.
However, asynchronously spawning subprocesses *will* allow you to
parallelise the process. I'd call it design, rather than a workaround,
but there you go (:
Steve
On Sun, 2013-05-26 at 22:38 -0400, B.R. wrote:
> One way or another, even if an external script is called, PHP
One way or another, even if an external script is called, PHP will need to
wait for the scripts completion, making the parallelization impossible or
at least useless (since, to wait for a return code of an external script is
still blocking).
I am not trying to find a workaround, I need to know how
Surely, you're still serialising the transfer with a loop?
On Sun, 2013-05-26 at 22:11 -0400, B.R. wrote:
> Thanks for your answer.
>
> I didn't go into specifics because my problem doesn't rely at the
> application-level logic.
>
> What you describe is what my script does already.
>
>
> Howe
Thanks for your answer.
I didn't go into specifics because my problem doesn't rely at the
application-level logic.
What you describe is what my script does already.
However in this particular case I have 16 files weighting each a few MB
which need to be transfered back at once.
PHP allocates 30s
Write a script that lists the remote files, then checks for the
existence of the file locally, and copy it if it doesn't exist? That way
no internal loop is used - use a different exit code to note whether
there was one copied, or there were none ready.
That way you scale for a single file transfe
No ideas?
---
*B. R.*
On Sat, May 25, 2013 at 1:01 PM, B.R. wrote:
> Hello,
>
> I am trying to understand how fastcgi_read_timout works in Nginx.
>
> Here is what I wanna do:
> I list files (few MB each) on a distant place which I copy one by one
> (loop) on the local disk through PHP.
> I do n
That was helpful. Thank you!
On May 23, 2013, at 21:31 , Francis Daly wrote:
> On Thu, May 23, 2013 at 08:47:42PM +0200, Jan Teske wrote:
>
> Hi there,
>
>> I want to parse NGINX error logs. However, I did not find any
>> documentation concerning the used log format.
>
> less src/core/ngx_
How soon after making a request do you see the 504 and how does it
relate to your fastcgi_read_timeout setting?
(http://wiki.nginx.org/HttpFastcgiModule#fastcgi_read_timeout).
[ Whilst I might have been able to check your config for this, I'm not
going to bother to download a random rar file and u
Hi everyone!
I am struggling to get a (simple) MVC app work under OpenBSD (5.3) + Mono
(2.10.9) + Nginx (1.2.6)
I can get a simple index.aspx (Hello World) app to work, but the default
MVC 3 template doesn't seem to work.
I made some minor changes to remove any reference to SQL providers in
Web.
On Sat, May 25, 2013 at 02:40:37PM +0300, wishmaster wrote:
[Back to the list]
Hi there,
> > I suspect that the final logic will be something like:
> >
> > if this is not an admin address
> > if the request is for /unav/something, then serve the file
> > else return http 503 with the content co
11 matches
Mail list logo