At work I've been virtualizing our Windows servers to run under bhyve, and I've run into some memory-related issues. Namely, servers are crashing due to memory exhaustion, with the message: "pid XXXXX (bhyve), uid 0, was killed: out of swap space" which I assume means the host ran out of...
Hi guys !
So I'm trying to understand why most of my games aren't running or are crashing after a while when I use the Wine built by myself. I downloaded the sources by myself and am using a 32 bit chroot with a base from FreeBSD/i386 and 32 bit packages installed within the chroot.
The Wine...
Hello,
I'm using FreeBSD/i386 to easily build the lastest Wine version. It is for test purposes, I want to improve FreeBSD compatibility in Wine but I saw that FreeBSD/i386 will only use 2 GB of RAM which is clearly not enough for Wine. Every big games like Skyrim, DOOM 3, Quake 4 and so much...
I've got a server with 16G RAM, running 10.3 and a few internal systems (gitlab, jenkins, mysql, etc.)
For some unknown reasons after a while all the memory will be Inactive (at the moment I have 12G of the 16G as Inactive), and then it start swapping, and when there is no more swap processes...
Hi Guys,
I haven't got a problem on my server, this post is more about preventing problem from occuring and learning process...
I have a server with 48GB of ram installed and I can only see 2GB of free Ram available and it is puzzling me as I don't think I should be using that much..
I have 21...
While investigating about a freeze when loading pf, 209475, Olivier has suspected the hash table allocation to be responsible of the loading freeze.
Reading the code, I noticed that the allocation process within pf_initialize() function sets the M_WAITOK flag. This way, the intialisation...
I've been intermittently attempting to solve (or at least explain) this for about a week, and I'm running out of ideas so I was hoping to get some help.
The problem: Upon a fresh boot, the system utilizes about ~50 MB of memory (presumably allocated by the kernel). After a period of 2 hours or...
Hello,
I'm new to freebsdFreeBSD kernel programming. I'm currently trying to allocate kernel RWX pages, but without any success.
I did this:
void* addr = 0;
u32 size = PAGE_SIZE;
u32 maxprot = PROT_WRITE | PROT_READ | PROT_EXEC;
u32 prot = maxprot;
int docow = 0;
int fspace =...
Hello,
I'm running a server for a while, and during summer, I've upgraded its system from FreeBSD 9.3-RELEASE to FreeBSD 10.1-RELEASE.
My sysutils/munin-node monitoring shows a change in memory allocation on this server: there is clearly a before and an after freebsd-update (end of June)...
Hello,
Out of 10 machines one of the machine 90% memory is being put into the Inactive memory. Lot of analysis done still we are not able to solve the issue without rebooting the OS. Someone please help me to fix the issue.
Mem: 78M Active, 1503M Inact, 160M Wired, 112M Buf, 260M Free
Thanks...
Hi, I am having some problem getting hardware acceleration to work with my Intel i945GM graphics card and FreeBSD 10.0. Using glxinfo, I can see it says direct rendering: Yes but it also says OpenGL renderer string: Software Rasterizer and running glxgears -info, it shows GL_RENDERER =...
Hello,
My system does not reallocate inactive memory and is swapping. swapoff -a fails with allocation error (as expected). Inactive memory seems to get to the current level after a few days and stays there.
Machine has 32G RAM. Output of top -n:
113 processes: 1 running, 112 sleeping
Mem...
Hi,
I've had this issue on some of my machines. I can't seem to have freebsd FreeBSD recognize and use the installed memory. I've installed 22 GB DDR2 ECC RAM and the system can only use 8 GB of it. Here are the specifics: I've tried different RAM modules and different configurations but I...
Sometimes this puzzles me: suppose a 32 bit architecture. The kernel is assigned the last gigabyte of virtual addressing, and the user space has the first three gigabytes. One advantage of this is that process switch does not invalidate the kernel memory mapping, right? This also means that a...
[Duplicate thread removed -- mod]
What is the memmap equivalent of Linux in Freebsd. FreeBSD?
In Linux memmap is used to reserve a portion of physical memory. This is used as a kernel boot argument. E.g.: memmap=2G$1G will reserve 1[ ]GB memory above 2[ ]GB in[ ] case I have 3[ ]GB RAM. This...
I have a FreeBSD 9 server and I run it for a Drupal site, which uses Nginx and PHP-FPM and all those setting related with Drupal like Memcached, APC, MySQL.
The problem is now suddenly when the PHP-FPM is running, it calls the sbwait, and it takes too long time to load the page, I get lots of...
Hi,
Please help to solve a kernel memory leak problem.
After few weeks searching forums and googling any help is welcome.
Here is the problem description:
We are installed the latest 9.0 FreeBSD with all recent patches.
Ports tree is also up to date.
Host running a nginx, php-fpm...
Hi,
I've got a couple of doubts about the memory management of BSD, and in general of the vm layer. First of all I'm not sure I understood the aim of the slab allocator. If I'm getting right the slab allocator pre-allocates a set of often used objects, I suspect the vm_ set of structures are...
Hi!
I have installed FreeBSD on a GT2440 ARM9 development board (S3C2440A SoC).
I'm trying to compile the following simple code:
%cat test.c
#include <stdlib.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
unsigned int area_size = 1024*1024;
unsigned int *p =...
I add this little 'story' here as a warning, that may be helpful for performance troubleshooting.
Some time ago I bought used MINI ITX motherboard with Intel T8100 CPU and 965GM chipset, it came along with used 2 x 512MB RAM 667MHz DDR2. I already had 2 x 2GB RAM 800Mhz DDR2 from my older...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.