FoolCode / FoOlSlide

[NO LONGER MAINTAINED] Online Comics Publishing Software for Authors and Teams
http://foolcode.github.com/FoOlSlide/
Other
115 stars 64 forks source link

Nginx: Unable to allocate memory for pool #22

Closed guneyd closed 12 years ago

guneyd commented 12 years ago

Hello,

I have several Foolside installations running on nginx and even though they SORT OF seem to work... once in a while they display errors. If (the reader or) I'm lucky, just one and at other times a page or two. They are almost always the same kind of errors such as the one displayed belowed. I've changed the php.ini max memory from 128MB to 300MB, but the errors still keep coming. Any way to fix this?


A PHP Error was encountered

Severity: Warning

Message: include(): Unable to allocate memory for pool.

Filename: core/Loader.php

Line Number: 736

Best regards

woxxy commented 12 years ago

It's a problem with APC (Alternative PHP Cache). You can try incrementing the cache size, or disabling it altogether (which I suggest).

Notice that caching can often be counter-productive. If you don't actually need it, don't use it, because it might make things slower due to the caching process.

woxxy commented 12 years ago

Seems to be fixed.