Hi,

Sorry for the OT, and I'm sure this is common knowledge.

I'm using some C extensions in my mod_perl application.  IIRC, memory used
by perl is never given back to the system.  Does this apply also to
malloc() and free()ed memory in my C extension?  Or is that OS dependent?
Can Apache ever shrink?

I ask because I'm using some C extensions that do a lot of memory
allocating and freeing of somewhat large structures.

I'm running under Linux and Solaris 2.6.

Another memory issue: I'm using File::Cache with a cron job that runs every
ten minutes to limit the amount of space used in /tmp/File::Cache -- it
seemed better than using an Apache child to do that clean up work.  But on
Solaris /tmp is carved out of swap.  Do you think it's risky to use /tmp
this way (since full /tmp could use up all swap)?

Thanks very much,



Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to