132 reputation
111
bio website addedbytes.com
location Brighton, United Kingdom
age 34
visits member for 4 years, 3 months
seen 2 days ago

Professional geek from Brighton, UK. PHP/HTML/CSS/JS developer, using MODX and Magento. Learning Python.


Oct
14
asked How does iptables execute rules?
Jun
16
awarded  Commentator
Jun
16
comment How can I keep Apache from falling over?
I've had a look at Varnish and that looks like a good solution to dropping the CPU load, at least until I can move to a host with better CPU setup. Thanks.
Jun
16
accepted How can I keep Apache from falling over?
Jun
16
comment How can I keep Apache from falling over?
They're saved in a tmpfs.
Jun
8
awarded  Promoter
Jun
6
comment How can I keep Apache from falling over?
Normally, something like 10-20 processes actively serving requests at any point. When the load is extremely high, then lots more. Magento is something of a monster to run, so while I would expect other systems to be ok with this traffic and setup, I can believe this might just be Magento outgrowing the box. Thanks for the book recommendation.
Jun
5
comment How can I keep Apache from falling over?
Sorry, didn't realise you'd edited your reply. Yes, it's a dual-core VPS (Xeon 2.4ghz). I would have thought this server should be able to handle its current load, which is why I'm worried I've missed something in config or have failed to spot a bottleneck somewhere.
Jun
5
comment How can I keep Apache from falling over?
Here's the output (I'd prefer not to link directly to the site/server): dl.dropbox.com/u/16366/apc.htm
Jun
5
revised How can I keep Apache from falling over?
added 21 characters in body; deleted 11 characters in body
Jun
5
revised How can I keep Apache from falling over?
added 146 characters in body
Jun
5
awarded  Editor
Jun
5
revised How can I keep Apache from falling over?
added 6 characters in body; added 6 characters in body; added 8 characters in body; added 127 characters in body
Jun
5
comment How can I keep Apache from falling over?
First, thanks! The load is still pretty high, so I can try some of these things straight away, which is helpful :). I increased MaxRequestsPerChild to 4000 - load jumped immediately and stayed very high. I reduced it back to 1000, and the load has dropped somewhat, though still too high. APC is installed. SHM is 256. The include_once override is on.
Jun
5
asked How can I keep Apache from falling over?
Feb
12
awarded  Student
Feb
11
comment How can I set up Postfix so that all email sent on my dev box gets routed to the developer email group?
All sorted - thanks rems! I had a couple of issues, which I'll outline here in case anyone else comes looking for this. I didn't realise what postmap was doing, first. So to do the above, I created a text file (/etc/postfix/canonical) with the first line from rems. I then ran postmap from the postix directory, and that generated a database file used by postfix (canonical.db). The line added to main.cf doesn't use the .db extension, but does look for the .db file. Finally you need regexp: instead of hash: if using a regex pattern as above.
Feb
11
awarded  Scholar
Feb
11
accepted How can I set up Postfix so that all email sent on my dev box gets routed to the developer email group?
Feb
11
comment How can I set up Postfix so that all email sent on my dev box gets routed to the developer email group?
I'm probably doing this wrong, but I didn't get very far. There was no /etc/postfix/canonical file, so I created one with the text above. I then ran "postmap canonical", but got this error: "postmap: fatal: open canonical: No such file or directory"