I have a list of directories that I'd like to delete. However when I do them all at one, load spikes on the box. Does anyone have an example of a script that would wait until load was under a certain level before proceeding with the deletion (interation of the loop)
ckliborn's questions
I want to NAT a certain group of servers in my datacenter so that they all access clients from a single IP. This will make it much easier for documentation that we provide clients.
However there will be a large amount of data traveling between the given servers and clients so I don't want to flood a single proxy machine with all the traffic. What could I do in this scenario?
I am new to the world of Memcached clusters
If I have a php web application that is using memcache - how does it does its hash and decide what node to check for a particular value to avoid having to check them all.
Bonus: How can I easily add a node in a way that avoids having to rebuild all the hashes.
I am aware that I can write a cron job that will run top in batch mode and write the output to a file but I am looking for something more elegant than that. Also I am aware of sysstat (sar) but I am looking for more detailed process data.
Does something like this exist?
I have HA proxy load balancing across 3 web servers. The session limit is set to 200 and I am seeing the "Curr sessions" hit the limit. Am I losing traffic or are the additional requests queued up and served later?
I know this is not ideal, I am going to bump it up but I am curious to know what is actually happening.
My application behind the load balancer does not depend on sticky sessions.
I want to use cgroups to limit resources in linux
http://en.wikipedia.org/wiki/Cgroups
How can I be notified when a limit if hit. For example if I limit a process to 2 gigs or ram how will I know when that is reached if I am not actively monitoring it?
I have an Oracle Application server that has been upgraded. It serves users a java file which they launch in their browser. After the upgrade user's browsers are still pulling the old java file from their local cache and receiving an error. If a user clears their java cache things will work correctly.
There has got to be a way to tell clients that they need to get the new java file rather then using their local cached version.
I want to detect mobile users based on their user_agent.
If a user is browsing the full version of the site and they have a certain user_agent, I want to redirect them (using mod_rewrite) to the mobile site - if the mobile page exists.
Full site URL example http://www.domain.com/page1.html Equivalent mobile site URL example (note .htm instead of .html) http://m.domain.com/page1.htm
I need to do this with apache and not something like php
Bonus: The mobile site could have links to the full site (if the page doens't have a mobile equilelant) and I want to keep redirecting people and I want to continue the redirection unless people click on a "Full Site" link which will opt them out of redirection via a url parameter - ex: ?ver=ful
Is there something I can run from the command line that will let me query postfix (running locally)?
- if an address is in the virtual address file and,
- where the mail for that address is routed to.
Ex: If I have the email address of [email protected]. I want to ask postfix if that virtual alias exists and then see that it's mail get routed to [email protected]
If I have a vacation message set in Exchange and I am over quota, will people get my vacation message or will they just get the exceeded quota message?
My mongodb_mp.log is growing very quickly
A tail -f of the file scrolls very quickly
Do I need to look into connection pooling?
I'd like to set up my own Certificate Authority to sign things that are only used internally.
Does anyone have any steps they've used to set up their own CA and begin signing certs. I'd also like to produce a chain cert.
From there, I'll have used import these as trusted CA's into their OS's and/or browsers.
I want to use openssl for this and not AD.
I don't want to give an external company like s3stat access to my logs. I know that AWS logs S3 and Cloud Front in a format readable by AWStats. Has anyone used AWSats to analyze them?
S3stat used to offer a hosted version of their software that was in beta but I believe it has been discontinued.
I am not tied to AWStats, I will consider other self hosted web log analyzing software options.
Would the remount command do it if I add the option in /etc/fstab?
Is this this a good idea?
I have virtual center that manages a few ESX hosts and I would like to join it to my Active Directory domain. What things should I consider when making this move? Is there any reason why I would want to avoid this? I believe it will make user management in virtual-center easier.
I hate the interface for managing firewall in Widows Server 2008. Is there another GUI interface that I can use? Free is great but I'd even accept a 3rd party solution.
Similar to how a memcache server can stampede a db after a missed hit.
Should I ever expect high traffic from my CDN(s)?
I am changing CDNs and I would like to preload some content to AWS Cloud Front so that my origin server is not hammered during that transition. Any tips?