process allocation

  1. `Orum

    bhyve memory requirements?

    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...
  2. A

    Error in memory allocation when using Wine built by myself

    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...
  3. A

    How much memory FreeBSD/amd64 can allocate to an i386 binary ?

    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...
  4. S

    Solved inactive memory not reallocated, server goes swapping

    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...
  5. fred974

    RAM allocation troubleshooting

    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...
  6. DavidMarec

    sys/malloc and WAIT_OK option

    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...
  7. D

    Unexplained Memory Usage

    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...
  8. E

    Kernel VM allocation

    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 =...
  9. patpro

    Memory management: changes between 9.x and 10.x?

    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)...
  10. S

    Solved FreeBSD Inactive memory

    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...
  11. T

    How to get hardware acceleration?

    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 =...
  12. R

    Inactive memory not reallocated - swapping

    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...
  13. M

    Available Memory != Real Memory

    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...
  14. fluca1978

    kernel space vs user space memory doubt

    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...
  15. M

    memmap in FreeBSD

    [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...
  16. P

    sbwait is causing problem

    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...
  17. R

    Possible kernel memory leak FreeBSD 9.0 release

    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...
  18. fluca1978

    doubts about virtual memory

    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...
  19. V

    S3C2440A strange perfomance issue

    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 =...
  20. vermaden

    HOWTONOT: upgrade memory

    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...
Back
Top