2 things:
1) The DBI has a "RaiseError" option you can alter to (hopefully) control whether errors are fatal or just cause error codes to be returned.
2) Even without altering the "RaiseError" flag, you should be able to wrap your code with an "eval" block to stop it killing your process...
Hi peeps,
Just as an update, we still seem have unusually high loads on this webserver but changing the mount options for reiserfs did seem to fix the excessive "writes" problem that I mentioned in the title of this thread so in that sense I think we can close this thread here.
Thanks for the...
Guys,
I think we *might* have found the problem.
We are running reiserfs and it appears that these machines have the wrong mount options.
The /etc/fstab entry is correct but I suspect we mounted specifying a source *and* destination causing mount to ignore the options in /etc/fstab.
Anyway...
Hi Annihilannic,
I did look at installing iotop and I might still do that but this is a live commercial server so I need to be careful with what I install.
Hey Steve, long time no speak. :-)
I can't take the site down (there are over 2000) so I can't do that kind of testing. Would be nice...
yep, all identical.
You do seem to be focussed on network when this appears to be a disk issue.
The iostat numbers I am talking about are for local raid disk (/dev/md0). The network numbers are not dissimilar.
All machines should be identical except for hostname.
Trojan.
These are cloud servers so I don't actually know whether the disks are the same.
The load has been there since we started this server so although it could be specific to the hardware, I suspect we have a difference in the setup.
The fact that the read load is similar to the other servers but...
I have a separate machine taking the traffic and using round-robin load balancing.
I'm convinced that load balancing is not the problem as iostat shows similar or lower read counts on this server relative to the other servers but 4 times the write load (local disk).
The network load (in and...
Hey guys,
I have a set of webservers that should be identical (mirrors of each other).
The web traffic is load balanced to each server but I am finding one server in particular seems to be heavily loaded.
On closer inspection, iostat seems to suggest that it is writing to the disk about 4...
Leonardo da Vinci created some great art with just a pencil.
Being artistically creative and elegant is the most difficult thing of all. Rarely are the tools you are using the limiting factor.
For me, it's impossible. There is not an artistic bone in my body so I have to leave it to others...
If it were me, I'd be tempted to use ImageMagick to process them all.
Not sure exactly how you plan to create the jagged edge but maybe you could create a template image and merge it to each of the 300.
Trojan.
Try "eval"
Also, when you have a question that is unrelated to the current thread it would be wise to start a new thread rather than just tack onto the end of an existing and unrelated thread.
Trojan.
Guys,
We have pgpool configured to talk to two other servers each running postgres (8.3.8).
Each postgres system is configured to autovacuum (every 200 mins).
We create and drop many databases constantly.
It appears that sometimes autovacuum and our database creates occasionally clash when...
Sorry, my mistake.
I guess I should have recognised the Data::Dumper variable naming convention.
Ok, the first thing I'd want to ascertain is whether the problem is client side or server side.
To do this I would suggest you display the URL that the webserver receives. Apache supplies you an...
First thoughts are about your variable names.
VAR1, VAR2 ... VAR25, VAR26.
These are scary. They tell the reader nothing about their intended use. If you name your variables carefully with names that describe the intended use, that alone can often weed out bugs by making type related issues...
I had a little tinker and then got bored.
This is as far as I got:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
I suggest you start by taking a look at a perl module called WWW::Mechanize.
You should be able to use it to collect the page in question from the site and then maybe with regular expressions collect the specific data you're looking for.
Have a go and if you get stuck come back to us with what...
Ok but you need to be aware that there are limitations with any language's ability to handle fractional values.
It is not uncommon for a fractional number to be stored imprecisely.
In my experience it is wise to avoid floats, doubles, reals or any other floating point representation if at all...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.