with Server API: CGI/FastCGI

Apc hit miss cached file, and lost diagrams in apc.php.
How i can make apc run perfect, do this error happen because server use CGI/FastCGi ?
Now , it cached 32MB file but miss 99% .
Edit:It lost digram pictur because i don’t install PHP-GD library.
In case of FastCGI each PHP-process have his own APC-memory (until this process stay alive), so use memcache/d with FastCGI.