Lite speed webserver + Connection was reset ?



As per my knowledge either session is being expired or another processes or connections are initiating to setup the new connections. This violates to disconnect the established connection. For my case, above error messages usually came out when maximum execution time of the php variable was less than total time required for uploading file. I have increased the value of the variable. Our server lsws has compiled as a CGI sapi and I put the variable in the htaccess file. Here are those my tuned values.

====
root@server [/home/test123/public_html]# tail -15 ~test123/public_html/.htaccess |head -10
php_value post_max_size 900M
php_value upload_max_filesize 900M
php_value max_execution_time 172800
php_value , 172800
php_value session.gc_maxlifetime 172800
php_value output_buffering on
php_value mysql.connect_timeout 86400
root@server [/home/test123/public_html]
====

You can increase the value of ax_execution_time, max_input_time and session.gc_maxlifetime in the php.ini file when php has compiled as a dso module with the webserver. Please note that you need to copy the global php.ini file inside the public_html directory. Then change the value.
By : cpanel.net



Related Posts:



Responses

0 Respones to "Lite speed webserver + Connection was reset ?"

Post a Comment

»Thank you for reading this article
If you have questions or comments, please leave a comment
»You can click on the Subscribe by email to subscribe comments of this post
»You can register directly link pictures, mp3, video on the comment form.
»You may use some HTML tags such
»Please post comments polite and typing accented Vietnamese if possible
»Thank the good faith comment

 

Categories

Recent Comments

Total Pageviews

Return to top of page ©Web Server Tips Tricks 2010 | Develop by Mr.PhanQuan .Powered by Blogger . All rights reserved.