Got an unexpected error trying to allocate some memory for the JIT

Jeffrey Hu <[email protected]> Wed, 9 Aug 2023 05:35:43 -0700
Newsgroups gmane.comp.python.pypy
Message-ID <CAPhH__9AxWUYNX4rMPCM+nzomaN1VT9P+evhFF8q33F2PopzpQ@mail.gmail.com>
Hi,

Got an unexpected error trying to allocate some memory for the JIT (tried
to do mmap() with PROT_EXEC|PROT_READ|PROT_WRITE).  This can be caused by a
system policy like PAX.  You need to find how to work around the policy on
your system.

I'm running apache on centos, what's the correct folders set for httpd?

drwxr-xr-x. jhu    jhu    system_u:object_r:httpd_sys_content_t:s0
pypy3.10-v7.3.12-linux64

-rwxrwxr-x. jhu jhu system_u:object_r:httpd_exec_t:s0 libpypy3.10-c.so
-rw-r--r--. jhu jhu system_u:object_r:httpd_sys_content_t:s0
libpypy3.10-c.so.debug
lrwxrwxrwx. jhu jhu system_u:object_r:httpd_sys_content_t:s0 pypy ->
pypy3.10
lrwxrwxrwx. jhu jhu system_u:object_r:httpd_sys_content_t:s0 pypy3 ->
pypy3.10
-rwxr-xr-x. jhu jhu system_u:object_r:httpd_exec_t:s0 pypy3.10
-rw-r--r--. jhu jhu system_u:object_r:httpd_sys_content_t:s0 pypy3.10.debug
lrwxrwxrwx. jhu jhu system_u:object_r:httpd_sys_content_t:s0 python ->
pypy3.10
lrwxrwxrwx. jhu jhu system_u:object_r:httpd_sys_content_t:s0 python3 ->
pypy3.10
lrwxrwxrwx. jhu jhu system_u:object_r:httpd_sys_content_t:s0 python3.10 ->
pypy3.10

Thanks,

Jeffrey

_______________________________________________
pypy-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pypy-dev.python.org/
Member address: [email protected]