MonsieurBon has asked for the wisdom of the Perl Monks concerning the following question:
Hello
I have been searching for a solution to this problem for quite a while now: I have a website where people can upload a file (usually 10s to 100s of MB). After the upload of the file I need to do some heavy processing with the file like encryption, conversion of file types, etc. The user does not need to wait for the process to finish. He could surf the page and come back later to see the result. The problem is, that lighttpd buffers all output until all process terminate. So printing a redirect before processing, forking a childprocess (even with $SIG{CHLD}='IGNORE';) or using Proc::Simple to start a function in background did not work! Has someone a sollution to this problem?
Best regards
MonsieurBon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Background process with perl and lighttpd
by moritz (Cardinal) on Jun 02, 2010 at 14:13 UTC | |
|
Re: Background process with perl and lighttpd
by jau (Hermit) on Jun 02, 2010 at 16:14 UTC | |
by zwon (Abbot) on Jun 02, 2010 at 19:46 UTC | |
by MonsieurBon (Initiate) on Jun 03, 2010 at 12:16 UTC | |
by Anonymous Monk on Jun 03, 2010 at 12:31 UTC | |
by MonsieurBon (Initiate) on Jun 03, 2010 at 13:44 UTC | |
|