Skip to content

Run C++ Application with NGINX Unit #882

Open
@junsoo999

Description

@junsoo999

Hello, I am newbie in this filed, and I am working on binding my C++ application and NGINX Unit to implement the fast Web Application Server.

But C++ language is not supported in NGINX Unit, so I made the wrapper function with other languages (Go, Python, Java). And it was confirmed that the wrapper function work well alone.

However, when I use NGINX Unit. it always aborted in C++ side. I passed all the environment variables like LD_LIBRARY_PATH, but I still get the Segmentation Fault. I realized that all the Segmentation Fault occurs at File I/O, which is work well without NGINX Unit.

Can I get some advise to handle this problem? To avoid the permission issue, I ran the NGINX Unit in "user": "root" but it did not help. Segmentation Fault or exceptions are called when the C++ code open some files...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions