pydelion.com

pydelion.com

date –date="5 min ago" +%d/%b/%Y:%H:%M

Menu

Skip to content
  • about
  • devops links
  • dandelion
  • lion
  • contact

Tag Archives: redis

Redis: “Can’t save in background: fork: Cannot allocate memory”

If you get this error

Can't save in background: fork: Cannot allocate memory

it means that your current database is bigger than memory you have. To fix the issue enable vm.overcommit_memory:

sysctl vm.overcommit_memory=1

To have if after reboot add this line to /etc/sysctl.conf:

vm.overcommit_memory=1
Email, RSS Follow
Posted on May 27, 2013 by dandelion. Posted in tips | Tagged redis | 1 Comment
  • FrançaisFrançais
  • EnglishEnglish

Recent Posts

  • Linux. how to find the most recent file in a folder
  • Debian: how to add memtest86 entry to the boot menu
  • Debian: how to solve ‘Can’t locate IPC/Run.pm in @INC (you may need to install the IPC::Run module)’
  • Debian: how to set up VLAN interface
  • Vim: vim behaves as vi and drives you nuts – how to fix

Categories

  • linux
  • mysql
  • news
  • python
  • thoughts
  • tips
  • Uncategorized
  • weekly digests

Tags

amazon boinc celery centos debian distributed computing django dkim fail2ban fedora git grid gunicorn inotify ioncube jabber java linux munin mysql news nodejs openvz pear perl php postfix python rpm rsync ruby sdk security sed seti sinatra sudo svn tag cloud thoughts tips trac webdav weekly digest wordpress

Knowledge is knowing that a tomato is a fruit. Wisdom is knowing that a tomato doesn't belong in a fruit salad.
Miles Kington
Proudly powered by WordPress Theme: Publish by Konstantin Kovshenin.