You can create one listener to listen on all local IP addresses. Create a virtual host for each web site.Set up in the web administration console:.This is commonly done by adding an "A" name entry to the DNS zone for the website. Use the following guidelines to setup name based virtual hosting.įorward the domain names of your web sites to the IP address used by your web server. In this case, multiple domain names are pointed to same IP address. With name based virtual hosting, you can host more web sites than the number of How to setup name based virtual hosting? top * set soft limit on file descriptors: set rlim_fd_cur = XXXXĪdd the following line in /boot/nf, * set hard limit on file descriptors: set rlim_fd_max = XXXX The following lines need to be added in /etc/system: Of current process, at least in Kernel 2.4.x. Note: Normal user can use ulimit -n xxxx to change the limit Then increases the current process limit by: Your startup scripts in order to automatically set the limit afterĬheck the system level limit for open files: You need root privilege to change this limit. Use ulimit -a to check current setting of per process file descriptor limit. Otherwise, this limit has to be manually adjusted with Limit automatically based on server configuration when this limit is too low. If the server is started by root user, it will try to adjust this Therefore, the maximum number of concurrent requests that the server can handleĬould be constrained by the process level file descriptor limit. Processes to serve all clients and each request may need up to 4 file descriptors. LiteSpeed server only uses a small number of server There are system level and process level file descriptor limits in UNIX How to increase the operating system limit of file descriptors? top How to use template to configure a group of virtual hosts with similar configuration?.How to use the persistent Perl CGI daemon?. ![]()
0 Comments
Leave a Reply. |