Rate This Document
Findability
Accuracy
Completeness
Readability

Insufficient Cache Reported When Starting Tengine

Symptom

When starting Tengine, the message "failed: no memory" is displayed.

Key Process and Cause Analysis

This problem is caused by insufficient cache. You need to set the cache size to 50 MB in the nginx.conf file and restart Tengine.

Conclusion and Solution

Run the following command before you restart:

1
sed -i "/http {/a\check_shm_size 50m;" /usr/local/tengine-nginx/conf/nginx.conf

Restart Tengine.