FreeBSD ERROR: (8011-323-1057) Failed to allocate memory and Solution

Q. I’m running application called Urchin or Google Analytics under FreeBSD and I’m getting the error that read as follows:
ERROR: (8011-323-1057) Failed to allocate memory

ADVERTISEMENTS

How do I fix this error?

A. Urchin is used to analyze web server log file content and display the traffic information on that website based upon the log data.

According to Google Urchin support pages – FreeBSD has a hard-coded process datasize limit of 500MB. This limit is exceeded because of Urchin’s geodata that must be memory resident during log processing. As a result, you will see the following runtime error:

ERROR: (8011-323-1057) Failed to allocate memory

To fix this issue, you’ll need to increase the FreeBSD system’s default process datasize, which you can do by editing the /boot/loader.conf file, enter:
# vi /boot/loader.conf
Append the following lines
# Increase max process data segment size to 1GB
kern.maxdsiz="1073741824"

Reboot the system to accept new changes, enter:
# reboot

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.