Hello, I am having performance issues ending with a 'time out' from Apache when I try to generate a PDF file using pdf-writer. It seems to happen at the render_on(pdf) function call ; the table I am trying to draw has 8 colums which values are generated on the fly. Can't find anything about pdf-writer and the 'time out' on the Web so far. Any ideas ? Anybody experienced the same issue ? Is there any more friendly user and faster PDF generation tool ? Thank's, Jonathan.
on 2006-01-24 23:21
on 2006-01-25 02:18
I've ran into this error with fop and java (years ago). I haven't tried generating "large" pdf files with PDF::Writer. In the jsp/java world I had a popup window that would refresh every 5 seconds or so to avoid the timeout issue. I don't know if ror has a built-in solution for this.
on 2006-01-25 09:54
This might be a trick, but the table I create is certainly not big : 8 columns (and only 4 are dynamic) and 2 rows. The final pdf file contains half a page.
on 2006-01-25 15:07
On 25/01/06, Jonathan DERROUGH <email@example.com> wrote: > This might be a trick, but the table I create is certainly not big : 8 > columns (and only 4 are dynamic) and 2 rows. > The final pdf file contains half a page. Have you tried timing how long it takes to create the document in a command-line mode? -austin -- Austin Z. * firstname.lastname@example.org * Alternate: email@example.com
on 2006-01-25 15:46
> Have you tried timing how long it takes to create the document in a > command-line mode? > Nope, I am using Rails with Apache and FastCGI, and I am having trouble with the 'console' script. I will try to fix it tonight and get the timing.