Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed the php5-geoip module on Ubuntu 10.04 via apt-get install php5-geoip. I've updated the geocities.dat library

The production server performance decreased and load average is soaring. Before the install it was less than 1 for the same traffic level. I suspect that the geoip data is not memory cached.

How can I activate memory caching for this module?

share|improve this question
Update: the server load remains high even if the code doesnt actually use the geoip functions. The linking of the geoip lib into php cause it. Still puzzled and looking for the way to solve it – Niro Mar 4 '12 at 20:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.