Reputation
2,710
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
10 38
Impact
~205k people reached

15h
comment Debian - static ip, /etc/network/interfaces
After you've configured the interfaces file and restarted networking, will ifup eth0 bring it up for you?
1d
awarded  Popular Question
Jul
19
awarded  Popular Question
Jun
19
comment Can't Track Down What's Causing Server To Go Out of Memory
Don't increase them. Think of it this way. For every Apache child process, it's going to use RAM. Let's say that each Apache process is taking up 30 MB of RAM. Right now you're allowing a maximum of 50 child processes. If you have 50 child processes at once, that's roughly 1.5GB RAM. Add on let's say 200 MB for MySQL and then another 300 MB for the rest of the system... you're out of memory. So bumping that MaxClients number up is just going to allow the system to spawn more children when you hardly have the resources to handle your current config. So no, do not increase the MaxClients.
Jun
19
revised Can't Track Down What's Causing Server To Go Out of Memory
added 400 characters in body
Jun
19
answered Can't Track Down What's Causing Server To Go Out of Memory
Jun
10
comment How to account traffic on CentOS Linux?
To add to this, you can also use the ss utility to get a list of connections and what application they're related to, for example ss -nap. Between ss and iftop, you should be able to figure it out.
Jun
5
awarded  Enlightened
Jun
5
awarded  Nice Answer
Jun
4
comment mysql thread count
this will give you an immediate view of current processes and how long they've been running. If you have a specific query thats killing your server, chances are you'll see multiple instances of that query and you'll see that the processes have all been running longer than normal. A good monitoring program is a must. I've grown to love a tool called MONyog. Check it out.
Jun
4
comment mysql thread count
Gosh, this was so long ago I can't remember. But reviewing, I'm guessing it was an issue with slow queries. One way you can tell if it's slow queries is to set the long_query_time to something a little lower than the default (we have it set to 3 seconds). Most normally queries for our app shouldn't take longer than a second, so 3 is a good measure for something that's slow. You can then check the slow query log and see if you have a higher than normal amount of queries taking too long, and from there you can optimize them. Additionally, you can do show processlist...
May
18
answered RAM usage by Apache server in Wordpress Site
Apr
30
comment AD server not using cert for Active Directory LDAP + SSL
Well, a lot has changed. I actually scrapped the openssl x509 CA and installed a AD Certificate Services server with the Enterprise CA role. In the end I got it working with a 3rd party tool that needed AD integartion, but it still wouldn't work locally. Thanks to your suggestion to turn on CAPI2 logging, I found out that I forgot to import the new CA servers cert onto my client machine. Once I did that, it started working.
Apr
30
accepted AD server not using cert for Active Directory LDAP + SSL
Apr
30
comment Why can Apache access most of my file system?
Good catch. An option you can use to prevent accidents like this in the future would be to add Options -FollowSymLinks to your vhost OR find remove Options FollowSymLinks from wherever it is being set (maybe <Directory />?) I don't remember if that's the exact syntax or if the scope needs to be inside a Directory or Location block, but essentially it removes the ability to use symlinks
Apr
29
answered Can someone find out what subdomains I'm hosting?
Apr
29
comment Why can Apache access most of my file system?
It describes the two things I mentioned to you :) Good luck!
Apr
29
revised Why can Apache access most of my file system?
added 85 characters in body
Apr
29
comment Why can Apache access most of my file system?
It's actually more likely that you have mod_userdir enabled. Check for any UserDir tags as well
Apr
29
comment Why can Apache access most of my file system?
The default package with CentOS has only two options: Options FollowSymLinks and AllowOverride None. Maybe post everything in your config between the <Directory /> and the following </Directory> tags so we can see.