"Unable to allocate memory for pool" error - fixed?

Anything related to Biblical Greek that doesn't fit into the other forums.

"Unable to allocate memory for pool" error - fixed?

Postby Jonathan Robie » June 6th, 2011, 2:38 pm

I think the ibiblio staff have fixed the following error, which was occurring frequently:

Code: Select all
[phpBB Debug] PHP Notice: in file /search.php on line 271: require()
[function.require]: Unable to allocate memory for pool.
[phpBB Debug] PHP Notice: in file /search.php on line 525: include()
[function.include]: Unable to allocate memory for pool.


Is anyone still seeing this error?
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1304
Joined: May 5th, 2011, 5:34 pm

Re: "Unable to allocate memory for pool" error - fixed?

Postby Stephen Carlson » June 6th, 2011, 3:33 pm

I just got one when I went to my login page. :-(
Stephen C. Carlson, Ph.D. (Duke)
Post-Doctoral Fellow, Faculty of Theology, Uppsala
Stephen Carlson
 
Posts: 1667
Joined: May 11th, 2011, 10:51 am
Location: Uppsala University

Re: "Unable to allocate memory for pool" error - fixed?

Postby Jonathan Robie » June 6th, 2011, 3:34 pm

sccarlson wrote:I just got one when I went to my login page. :-(


Thanks - I'll report this. They are working on it ...
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1304
Joined: May 5th, 2011, 5:34 pm

Re: "Unable to allocate memory for pool" error - fixed?

Postby Jonathan Robie » June 6th, 2011, 3:35 pm

Sigh. I'm getting them again now too...
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1304
Joined: May 5th, 2011, 5:34 pm

Re: "Unable to allocate memory for pool" error - fixed?

Postby Jason Hare » June 6th, 2011, 5:48 pm

Looks good on my android. :-)
Jason A. Hare
Rehovot, Israel
Jason Hare
 
Posts: 378
Joined: June 2nd, 2011, 5:28 pm
Location: Rehovot, Israel

Re: "Unable to allocate memory for pool" error - fixed?

Postby Jonathan Robie » June 6th, 2011, 5:55 pm

It's looking good to me again now too. I hate intermittent errors!
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1304
Joined: May 5th, 2011, 5:34 pm

Re: "Unable to allocate memory for pool" error - fixed?

Postby Jason Hare » June 7th, 2011, 1:15 am

It just came back. Ugh.
Jason A. Hare
Rehovot, Israel
Jason Hare
 
Posts: 378
Joined: June 2nd, 2011, 5:28 pm
Location: Rehovot, Israel

Re: "Unable to allocate memory for pool" error - fixed?

Postby Jason Hare » June 7th, 2011, 11:31 am

Cleared up again, by the way.
Jason A. Hare
Rehovot, Israel
Jason Hare
 
Posts: 378
Joined: June 2nd, 2011, 5:28 pm
Location: Rehovot, Israel

Re: "Unable to allocate memory for pool" error - fixed?

Postby Jonathan Robie » June 7th, 2011, 5:21 pm

Hopefully permanently. If you see any more errors, please mention that here.

Here's what ibiblio said about this:

Hey Jonathan,

Here's a summary of what has happened and what I have done:

1) APC was originally caching everything/php on ibiblio.org. The cache
was relatively small, and you'd get those nice out of memory errors when
it filled up.

2) I disabled, or rather, thought I had disabled APC for everything in
/public/html/bgreek. You kept getting memory errors.

3) I tweaked the caching settings and memory limits in APC and php.
Things were good for a time, and then you saw memory errors again. The
cache filled up.

4) I have just now disabled APC in a different manner (poor
documentation), after trying out half a dozen methods. I have confirmed
that nothing in /public/html/bgreek is making it into the APC cache.

So you should be set. I know this is the fourth time I've said that,
but it is also the fourth time I expected it. I don't see any bgreek
items in the cache though! Apologies for the run-around :)

Also, if you were curious as to why the memory errors were so difficult
to replicate (especially now, after I have tweaked the cache), it is
because two pieces of this puzzle - or rather, 6 - are variable.
ibiblio.org is handled by three servers, and each of those servers have
APC installed. So you could be hitting any of those servers with any
given request, and each have an APC that may have a full cache one
minute, but not the next.
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1304
Joined: May 5th, 2011, 5:34 pm

Re: "Unable to allocate memory for pool" error - fixed?

Postby Stephen Carlson » June 7th, 2011, 5:35 pm

Intermittent errors are the hardest computer bugs to fix!
Stephen C. Carlson, Ph.D. (Duke)
Post-Doctoral Fellow, Faculty of Theology, Uppsala
Stephen Carlson
 
Posts: 1667
Joined: May 11th, 2011, 10:51 am
Location: Uppsala University


Return to Other

Who is online

Users browsing this forum: No registered users and 1 guest