{"id":16366433,"url":"https://github.com/centminmod/mmap_test","last_synced_at":"2026-02-17T07:30:16.781Z","repository":{"id":80279803,"uuid":"72043407","full_name":"centminmod/mmap_test","owner":"centminmod","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-26T22:15:47.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T01:29:13.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/centminmod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-26T20:51:48.000Z","updated_at":"2020-01-02T08:50:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"84c07119-1d08-4a63-9d77-dd21dcb29f8e","html_url":"https://github.com/centminmod/mmap_test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fmmap_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fmmap_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fmmap_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fmmap_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centminmod","download_url":"https://codeload.github.com/centminmod/mmap_test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239827936,"owners_count":19703782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T02:46:27.054Z","updated_at":"2026-02-17T07:30:16.716Z","avatar_url":"https://github.com/centminmod.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"shared memory mapping test for CentminMod.com LEMP stacks\n===\n\n```\ncurl -sL https://raw.githubusercontent.com/centminmod/mmap_test/master/mmap_test.sh | bash\n```\n\nExample output run:\n\n```\nchecking system shared memory limits for mmap\n\nulimit -aH\ncore file size          (blocks, -c) unlimited\ndata seg size           (kbytes, -d) unlimited\nscheduling priority             (-e) 0\nfile size               (blocks, -f) unlimited\npending signals                 (-i) 255841\nmax locked memory       (kbytes, -l) 64\nmax memory size         (kbytes, -m) unlimited\nopen files                      (-n) 262144\npipe size            (512 bytes, -p) 8\nPOSIX message queues     (bytes, -q) 819200\nreal-time priority              (-r) 0\nstack size              (kbytes, -s) unlimited\ncpu time               (seconds, -t) unlimited\nmax user processes              (-u) 4096\nvirtual memory          (kbytes, -v) unlimited\nfile locks                      (-x) unlimited\n\nsysctl kernel.shm{max,all,mni}\nkernel.shmmax = 33554432\nkernel.shmall = 2097152\nkernel.shmmni = 4096\n\nShmem:             27144 kB\nipcs -m \n\n------ Shared Memory Segments --------\nkey        shmid      owner      perms      bytes      nattch     status      \n\n\n65536 bytes mmaped\n131072 bytes mmaped\n262144 bytes mmaped\n524288 bytes mmaped\n1048576 bytes mmaped\n2097152 bytes mmaped\n4194304 bytes mmaped\n8388608 bytes mmaped\n16777216 bytes mmaped\n33554432 bytes mmaped\n67108864 bytes mmaped\n134217728 bytes mmaped\n268435456 bytes mmaped\n536870912 bytes mmaped\n\nOpenVZ system detected...\nChecking /proc/user_beancounters limits for shmpages\n\nshmpages used \u0026 percentage used: 26 MB (0%)\n\n             total       used       free     shared    buffers     cached\nMem:           128         92         35         26          0         56\n-/+ buffers/cache:         35         92\nSwap:           64          9         54\n\nVersion: 2.5\n       uid  resource                     held              maxheld              barrier                limit              failcnt\n    38444:  kmemsize                 37136362             39624704             67108864             67108864                    0\n            lockedpages                     0                    0                16384                16384                    0\n            privvmpages                 18506               283361  9223372036854775807  9223372036854775807                    0\n            shmpages                     6786               138498  9223372036854775807  9223372036854775807                    0\n            dummy                           0                    0  9223372036854775807  9223372036854775807                    0\n            numproc                        34                   63  9223372036854775807  9223372036854775807                    0\n            physpages                   23604                32768                    0                32768                    0\n            vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0\n            oomguarpages                 6039                10271  9223372036854775807  9223372036854775807                    0\n            numtcpsock                      9                   13  9223372036854775807  9223372036854775807                    0\n            numflock                        6                   16  9223372036854775807  9223372036854775807                    0\n            numpty                          1                    2  9223372036854775807  9223372036854775807                    0\n            numsiginfo                      1                   21  9223372036854775807  9223372036854775807                    0\n            tcpsndbuf                  172352               242640  9223372036854775807  9223372036854775807                    0\n            tcprcvbuf                  147456               212992  9223372036854775807  9223372036854775807                    0\n            othersockbuf               136408               214440  9223372036854775807  9223372036854775807                    0\n            dgramrcvbuf                     0                 4624  9223372036854775807  9223372036854775807                    0\n            numothersock                  103                  128  9223372036854775807  9223372036854775807                    0\n            dcachesize               33538504             33554407             33554432             33554432                    0\n            numfile                       551                  815  9223372036854775807  9223372036854775807                    0\n            dummy                           0                    0  9223372036854775807  9223372036854775807                    0\n            dummy                           0                    0  9223372036854775807  9223372036854775807                    0\n            dummy                           0                    0  9223372036854775807  9223372036854775807                    0\n            numiptent                     627                  627  9223372036854775807  9223372036854775807                    0\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentminmod%2Fmmap_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentminmod%2Fmmap_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentminmod%2Fmmap_test/lists"}