添加留言
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]
               

 
Bin Homepage
2011-10-8 04:25
Win版适合做服务器吗
王海
2011-10-6 01:30
张老师 您好,想跟你谈一下关于搜索引擎相关的技术与业务,相信会有很不错的收益!

联系QQ 854854   麻烦您加我QQ沟通一下 ,谢谢了!
suifeng
2011-10-4 12:58
张老师,您好!
APMServ5.2.6在Windows server 2003运行一段时间后出现这个问题,是什么原因,谢谢~
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite

In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.

What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.

In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.

The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
suifeng
2011-10-4 12:00
张老师,您好!
APMServ5.2.6部署出现这个问题?
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite

In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.

What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.

In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.

The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
nnnnnnnn
2011-10-1 14:22
大家别乱说了,张工也要挣钱。apmserv晚推出也没什么?必竟人家是义务的,有必要对某些人负责吗?
wildin Email
2011-9-30 17:43
fastcgi_connect_timeout 300;
    fastcgi_send_timeout 300;
    fastcgi_read_timeout 300;
    fastcgi_buffer_size 64k;
    fastcgi_buffers 4 64k;
    fastcgi_busy_buffers_size 128k;
    fastcgi_temp_file_write_size 128k;
    gzip  on;
    gzip_min_length  1k;
    gzip_buffers     4 16k;
    #gzip_http_version 1.0;
    gzip_comp_level 5;
    gzip_types       text/plain application/x-javascript text/css application/xml;
    gzip_vary on;
    gzip_http_version 1.1;
    server {
        listen       80;
        server_name  moodle.tf-swufe.net;
        index index.html index.htm index.php;
        root  /coredata/htdocs/moodle;
        #charset koi8-r;
       rewrite ^/file.php/(.*)$ /file.php?file=/$1 last;
       rewrite ^/user/pix.php(.*)$ /user/pix.php?file=/$1 last;
       rewrite ^/blocks/graph.php/(.*)$ /blocks/graph.php?file=/$1 last;  
     # access_log  logs/moodle.access.log  main;

       location ~ .*\.(php|php5)?$
       {      
        #fastcgi_pass  unix:/tmp/php-cgi.sock;
        fastcgi_pass  127.0.0.1:9000;
        fastcgi_index index.php;
        include fcgi.conf;
       }
    
       location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
       {
         expires      30d;
       }

       location ~ .*\.(js|css)?$
       {
        expires      1h;
       }    

       log_format  access  '$remote_addr - $remote_user [$time_local] "$request" '
              '$status $body_bytes_sent "$http_referer" '
              '"$http_user_agent" $http_x_forwarded_for';
        access_log  logs/moodle.access.log  access;
        
        location /nginx-status {
            stub_status on;
            access_log  off;
        }        
    }
}
---------------------------------
然后 在另一台机器上用 ab -n 50000 -c 500 http://moodle.tf-swufe.net/ 来压,服务器无所应,且top如图:


点击在新窗口中浏览此图片
http://moodle.tf-swufe.net/other/top.jpg


请教如何优化。。。,谢谢!
wildin Email
2011-9-30 17:42
张老师好:
按照你的NGINX配置文档,在ESX上搭建了WEB服务器,8核CPU 16G内存
----------------------------------
user  www www;
worker_processes  15;
error_log  logs/error.log  crit;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
pid        logs/nginx.pid;
worker_rlimit_nofile 65535;
events {
    use epoll;
    worker_connections  1024;
}
http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;
    
    server_names_hash_bucket_size 128;
    client_header_buffer_size 32k;
    large_client_header_buffers 4 32k;
    client_max_body_size 128m;
    sendfile        on;
    tcp_nopush     on;
    #keepalive_timeout  0;
    keepalive_timeout  65;
    tcp_nodelay on;
jimmy Homepage
2011-9-30 14:31
对于原来使用apache的如何无损平移这个最为重要。不管是用什么web server。apache也好,nginx也罢。关键是升级后如何过渡。因为还要涉及到伪静态问题,apache下面的和nginx下面肯定不一样的
xw
2011-9-29 23:08
张老师,我是刚刚接触到linux,想自己搭一台服务器,做测试使用,但总是搭不起来,到处都是问题,就拿装mysql来说,按照您介绍的方法,有时候安装成功,并且使用正常,但有时候就出现问题,或者编译,或者安装,好像linux版本不一样的原因,我也弄不明白,总是出现问题,一直很困扰,希望您给我指导一下
漫步云端 Email
2011-9-29 21:35
是用APMServ还是Nginx问题不大,问题是怎么让我们这些用您的APMServ 5.2.6老用户平滑升级才是最重要的,我们的网站现在在你APMServ 5.2.6搭建的服务器上,改用新版本后会不会出现很多无知问题啊??希望张老师好好考虑一下啊!
分页: 1526/1675 第一页 上页 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 下页 最后页