mod_perl memory

Posted by Pavel Georgiev on Stack Overflow See other posts from Stack Overflow or by Pavel Georgiev
Published on 2010-03-16T05:15:16Z Indexed on 2010/03/16 5:26 UTC
Read the original article Hit count: 331

Filed under:
|
|

Hi,

I have a perl script running in mod_perl that needs to write a large amount of data to the client, possibly over a long period. The behavior that I observe is that once I print and flush something, the buffer memory is not reclaimed even though I rflush (I know this cant be reclaimed back by the OS).

Is that how mod_perl operates and is there a way that I can force it to periodically free the buffer memory, so that I can use that for new buffers instead of taking more from the OS?

© Stack Overflow or respective owner

Related posts about mod-perl2

Related posts about perl