in reply to FastCGI / Apache memory usage?
For me, I would need some more information:
When using "Apache1" with AIX, I used FastCGI very sucessfully, but with Apache2 and Linux, I stopped using FastCGI due to memory problems. My guess, is that both Apache2 and FastCGI save a lot of $variables that I didn't care about. That may or may not be your problem.
Some things for you to consider (if your using *nix)?
Verify the hash(s) or array(s) that you clean up is(are) the actual one(s) being used. Print the actual address to a log file and visually verify that the addresses are exactly the same. Sometimes I was clearing a copy rather than the actual variable.
Verify sizes with 'use Devel::Size qw(total_size);' on suspect variables. I usually check sizes every 3 to 5 seconds with almost no noticeable impact on performance. I think this is more a by product of multiple core servers today.
Check the real and virtual page usage. A routine I use is here.
Good Luck and best Regards...Ed
"Well done is better than well said." - Benjamin Franklin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |