Re: [Webware-discuss] The appserver crash when high demand?

2006-01-24 Thread Christoph Zwerschke
Marcelo Ametller wrote: yes: from cStringIO import StringIO I suppose that use the memory of the servidor? Yes, it provides a kind of memory file for Reportlab to write to instead a real file on the harddisk. In this case, it would not make much difference, but if you serve many small PDFs it

Re: [Webware-discuss] The appserver crash when high demand?

2006-01-24 Thread Marcelo Ametller
Christoph Zwerschke wrote: > marcelo ametller wrote: > >> it only crash after some time... the time for generate de pdf is 20min. > > > That's way too long. If it really must take so long, you should spawn a > separate process to create the pdf. Your webserver will probably quit > the connection

Re: [Webware-discuss] The appserver crash when high demand?

2006-01-23 Thread Christoph Zwerschke
marcelo ametller wrote: it only crash after some time... the time for generate de pdf is 20min. That's way too long. If it really must take so long, you should spawn a separate process to create the pdf. Your webserver will probably quit the connection with timeout anyway. What do you get

Re: [Webware-discuss] The appserver crash when high demand?

2006-01-23 Thread marcelo ametller
Christoph Zwerschke wrote: > marcelo ametller wrote: > >> I have a servlet, with a form, a button with label "generate". >> When the user press the button, de "action" run a function, it generate >> a pdf (reportlab). >> When the pdf have 200 items, that's ok. But when the pdf have 6000 >> items,

Re: [Webware-discuss] The appserver crash when high demand?

2006-01-22 Thread Chuck Esterbrook
On 1/21/06, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > marcelo ametller wrote: > > I have a servlet, with a form, a button with label "generate". > > When the user press the button, de "action" run a function, it generate > > a pdf (reportlab). > > When the pdf have 200 items, that's ok. But

Re: [Webware-discuss] The appserver crash when high demand?

2006-01-21 Thread Christoph Zwerschke
marcelo ametller wrote: I have a servlet, with a form, a button with label "generate". When the user press the button, de "action" run a function, it generate a pdf (reportlab). When the pdf have 200 items, that's ok. But when the pdf have 6000 items, the appserver crash. The dmesg inform that th

[Webware-discuss] The appserver crash when high demand?

2006-01-21 Thread marcelo ametller
hello my plataform: ubuntu breezy, apache2, webware0.9 , webkit, webform, postgres8 , python2.4 my hard: celeron 1.8 ram 384Mb hd 40gb my problem! I have a servlet, with a form, a button with label "generate". When the user press the button, de "action" run a function, it generate a pdf (repo