我正在使用Node.js聊天系统(Ajaxim.com),所以基本上我为它设置了一个唯一的node.js服务器。然后我在我的PHP服务器中使用VirtualHost来访问它:
<IfModule mod_proxy.c>
ProxyRequests On
Timeout 3600
ProxyTimeout 3600
<Proxy *>
Order deny,allow
Allow from .nodeserver.com
</Proxy>
ProxyVia Off
NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot /var/www/html/qanda
SSLEngine on
SSLCertificateChainFile /home/ec2-user/verisign/bundle.crt
SSLCertificateFile /home/ec2-user/verisign/www.phpserver.com.crt
SSLCertificateKeyFile /home/ec2-user/verisign/www.phpserver.com.key
ServerName www.phpserver.com
SSLProxyEngine On
ProxyPass /chat https://phpserver.com:8000
ProxyTimeout 3600
Timeout 3600
# ErrorLog logs/phpserver.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javas$
当我刚刚开始它时很好,但是在3-4个小时后,它变得非常慢。就像我甚至不能打开我的网站(PHP方面)或加载一个页面需要2分钟。我该怎么办?