Few other options, which you might consider playing with are …

Saturday, 1st October 2022

Comment on Few nginx.conf configuration options for Nginx to improve webserver performance by hip0.

Few other options, which you might consider playing with are the nginx size limits:

## Size Limits
client_body_buffer_size 8k;
client_header_buffer_size 1k;
client_max_body_size 1k;
large_client_header_buffers 1 1k;

Try to change the values to accustomize it to your specific server requirements.

hip0 Also Commented

Few nginx.conf configuration options for Nginx to improve webserver performance
Note that the client_body_buffer_size: should match the size of the largest page you are going to serve, otherwise you will experience problems.

Another options which you might find useful as a mean of nginx speed up is:
proxy_buffering on

Also timer_resolution: might save some kernel syscalls and boost up the nginx server.

But I have experimented with it, according to online documentation it is useless on operating systems like Linux, but if the nginx server is running on NetBSD or FreeBSD, it’s a value worthy to experiment with.


Recent Comments by hip0

Webserver farm behind Load Balancer Proxy or how to preserve incoming internet IP to local net IP Apache webservers by adding additional haproxy header with remoteip

One important thing I forgot to mention in the article.
If you don't  have the Apache already configured to accept messages with the proxy headers e.g. in the send-proxy protocol format, you will have to enable also the following proxy modules to do so:

root@webserver:/etc/apache2/mods-enabled# a2enmod proxy; a2enmod proxy_connect; a2enmod proxy_http


How to install and configure djbdns from source as a Cachening Localhost Proxy resolver to increase resolving efficiency on Debian 6 Squeeze
Note that one issue I have faced on newer Linux distributions is that the 53 port on 127.0.0.1 might be taken up. Either by bind already running or by another resolver like systemd-resolver service. If that is the case check out with fuser/tcp part of psmisc package in debian and check what is using the listener and disable / remove it and restart the dnscahe service with

# svc -d /etc/dnscache
# svc -u /etc/dnscache

enjoy the speedy djbdns resolver 😉 Cheers ! 


The Holy and Great Week of Passions of Christ in the Church – Day by day explained
The Stations of the Cross or the Way of the Cross, also known as the Way of Sorrows or the Via Crucis, refers to a series of images depicting Jesus Christ on the day of his crucifixion and accompanying prayers. The stations grew out of imitations of the Via Dolorosa in Jerusalem, which is a traditional processional route symbolising the actual path Jesus walked to Mount Calvary. The objective of the stations is to help the Christian faithful to make a spiritual pilgrimage through contemplation of the Passion of Christ. It has become one of the most popular devotions and the stations can be found in many Western Christian churches, including those in the Roman Catholic, Lutheran, Anglican, and Methodist traditions.


The Holy and Great Week of Passions of Christ in the Church – Day by day explained
The exact path which Christ has walked is nowadays a common place for pilgrimage in Jerusalem it is called Via Dolorosa.
 


LDAP Server Installation and Configuration on CentOS 7.9 Linux or howto simply Store and use SSH User account credentials from LDAP
A good idea I forgot to mention is to configure below sysctl kernel variables to make the LDAP work better especially if you're planning to have a large database and machines accesing the server host from unstable networks

ldap:~# cat /etc/sysctl.conf

# ldap required variables
net.ipv4.tcp_keepalive_time = 300
net.ipv4.ip_local_port_range = 1024 65000
fs.file-max = 64000

 


Share this on:

No tags for this post.

Comments are closed.