> If you have any problems with third-party libs leaking memory not accounted > by Zend MM, you can always lower > the max_requests parameter in your config file. > > That's all. Problem solved. > > Its not the best idea. If you feed imagick with random images, then your memory leak will be pretty random. If you set the max_requests low, then you will see fewer memory limit exhausted, but the overall overhead will be much bigger, because you will respawn a decent amount of worker unnecessary, if you set it high, the overhead will be lower, but you will see much more aborted scripts. With the ability, to respawn processes based on the memory allocation, you could serve the maximal amount of request, without unnecessary respawn or aborted scripts.
Tyrael