如题:
编译完成动态库后,启动tuxedo报错。
exec tux_aaa-A -e /cbs/log/err.log -o /cbs/log/out.log -- -S aaa:
tux_aaa: error while loading shared libraries: libtr_aaa.so: failed to map segment from shared object: Cannot allocate memory
CMDTUX_CAT:819: INFO: Process id=13810 Assume started (pipe).
编译动态库命令为:
gcc -o libtr_aaa.so -shared -fPIC $HOME/obj/*.o
操作系统为:REHL 5.4
系统内存大小为2G
ulimit属性为 ulimit -m unlimited
网上查询出的方法都试过了,问题依然,直接执行tux_aaa也会报错:
tux_aaa: error while loading shared libraries: libtr_aaa.so: failed to map segment from shared object: Cannot allocate memory
还请各位大侠解释为什么。