I'm aware of the Apache directives MaxClients
and ListenBacklog
. I'm trying to set a limit of, let's say 100 concurrent connections after which the new connections will be served a static page. Can this be done? Should MaxClients
and ListenBacklog
be higher or lower than that limit? How can I test it?
Valentin Brasso's questions
I'm a programmer and my Linux knowledge is poor. I have to install rrdtools on a server, and i get some warnings about missing libraries. The server has been set up so that whenever I connect to it via a VPN client, I cannot access the Internet from that server or from the computer I use to access the server. The only way I can bring new files on that server is to put the files on a USB stick and then upload them to the server via pscp.
I normal circumstances, according to a forum post I've found, if I had Internet access from the server, I would use this command:
yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel
I can't do that but I have access to another Red Hat server which has these missing libraries already installed since I was able to install rrdtools on it and I wonder if I can somehow use it to solve my problem.
My question isn't specifically targeted at rrdtools. I expect to encounter this problem further when I'll attempt to install some other software. Is there a way to list the dev packages that yum checks when I run yum install? And a way to find the download location of each package so I can download them manually and try to use something like yum localupdate
as I've seen here?
I've installed a fresh copy of the latest CentOS via iLO (HP's integrated lights out 2). The setup type was Web Server. My server doesn't seem to be able to connect to the Internet anymore. I've lost the old settings for DHCP and hostname but I have the old settings for eth0
and DNS server, still there's something else I should be doing to be able to use wget, yum, ping and to have SSH access from other locations, but I can't seem to find what that is.
Any pointers? Thanks.
Edit: route command:
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xx.xx.68.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
Note that the server IP is xx.xx.68.176, should I change the route?
I have the strangest problem. Like the title says, I've moved some files from the first server to the second, i had http auth on the second server and now i have http auth on the first server but not on the second. That's right, I haven't uploaded any files from what i know on the first server. There are no .htpasswds files or .htaccess files to enforce http auth on the first server now.
Any advice would be much appreciated.
On several of the webservers i'm responsible for there's a javascript virus, a trojan downloader according to the antivirus i'm using. It's a minified javascript that's on the bottom of every page requested from the server. I don't know what the cause is. How can I prevent this from happening again?