所以,我创build了这样一个存储库: svnadmin create /path/to/repository 什么是删除等价物? 我无法find它。
我最近用Debian 5.0 Lenny(i386), 512MB RAM购买了Xen VPS (linode.com)。 目前,我只有三个小型网站(用Drupal构build),每天大约有600个用户在该服务器上运行。 作为一个networking服务器,我使用nginx 0.7.67 ( PHP 5.3.3与php-fpm )。 平均内存消耗约为100-105MB 。 这是穆宁图显示: 这是什么“顶部”命令diplay(按内存使用sorting): 在我的php5-fpm.conf中: pm = dynamic pm.max_children = 50 pm.start_servers = 2 pm.min_spare_servers = 2 pm.max_spare_servers = 5 pm.max_requests = 500 在将一些更大的项目迁移到此VPS之前,我想知道这是否是这种服务器configuration的正常内存消耗? 网站上有多less用户(比方说,用Zend Framework构build)这个VPS可以处理? 谢谢!
什么是高负载,非常繁忙的内容stream媒体服务器最好的sysctl.confconfiguration? 服务器从亚马逊,s3等远程服务器获取内容,然后使用phpdynamic地将内容stream式传输到用户,而不必将其保存到硬盘上。 PHP使用CURL来获取文件,然后使用flush()来同步stream式传输,所以没有太多的硬盘工作…只有networking和带宽。 该服务器是四核心Xeon,具有1Gbit全双工NIC,8GB内存和500GBx2的RAID。 服务器内存使用情况和CPU负载相当低。 我们正在运行debian lenny和lighttpd2(是的,我知道它还没有发布:-))与PHP 5.3.6和PHP的FastCGI与spawn-FBCG绑定在4个不同的Unixsockets,每个20个孩子。 最大fcgi请求数为20,使用lighttpd2configuration中的mod_balancer模块来平衡SQF(短队优先)configuration中这4个套接字之间的fastcgi请求。 我们的服务器使用了大量的带宽,即networking连接一直很忙。 在100到200个并行连接之后,服务器开始减速并最终变为无响应,开始发出连接超时错误。 当我们有cPanel的时候,我们从来没有超时的错误,所以它不能成为一个脚本问题。 它必须是networkingconfiguration问题。 lighttpd2configuration:工作进程= 8,保持活动请求为32,保持活动空闲超时时间为10秒,最大连接数为8192。 我们目前的sysctl.conf内容是: net.ipv4.tcp_fin_timeout = 1 net.ipv4.tcp_tw_recycle = 1 # Increase maximum amount of memory allocated to shm kernel.shmmax = 1073741824 # This will increase the amount of memory available for socket input/output queues net.ipv4.tcp_rmem = 4096 25165824 25165824 net.core.rmem_max = 25165824 […]
我正在运行Debian(Lenny)。 当我运行这个: curl –ssl https://www.google.com 我得到这个错误: curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the –cacert […]
如果我在Debian Lenny上运行以下命令: apt-get install git …我无法使用Git: # git –version bash: git: command not found
我需要从Debian中的应用程序创build一个守护进程。 在Debian中是否有这样的标准工具,比如Ubuntu中的“upstart”? 我只需要启动 – 停止命令,作为守护进程启动一个程序,有一些选项和一个pid文件,并用pid文件杀死它。 我看着init.d,但似乎这是为了启动时启动。 我想手动启动我的守护进程。
在过去的几天里,我无法更新Debian 5.0 (lenny)上的apt-sources。 我得到以下错误。 W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/contrib/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/non-free/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/main/source/Sources 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/contrib/source/Sources 404 Not […]
这是我的/etc/apt/sources.list ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ lenny main contrib non-free ###### Debian Update Repos deb http://security.debian.org/ lenny/updates main contrib non-free deb http://ftp.us.debian.org/debian/ lenny-proposed-updates main contrib non-free 当我这样做时: # apt-get update 我得到一些好的线,然后: Err http://ftp.us.debian.org lenny/contrib Packages 404 Not Found [IP: 35.9.37.225 80] Err http://ftp.us.debian.org lenny/non-free Packages 404 Not Found [IP: 35.9.37.225 80] Err http://ftp.us.debian.org lenny-proposed-updates/main […]
我有一个服务foo目前开始在运行级别3和以上。 我该如何阻止它,而不使用update-rc.d foo stop 3 . (如果我理解正确的话)会在每次运行级别更改时closures服务。 (即,如果我在运行级别1并启用了foo ,那么当我改变到运行级别3时 ,它将被禁用,不是?) 运行Debian GNU / Linux Lenny。