Adjusting ServerLimit and ThreadLimit in Apache

No Comments »

I was having this issue for a couple weeks and couldn’t figure it out for the life of me. I would attempt to increase the ThreadLimit (and also ServerLimit) above the default of 64 on Apache on an RHEL6 box, but the change just simply would not take. I continually got the following error:

WARNING: ThreadsPerChild of 128 exceeds ThreadLimit value of 64
threads, lowering ThreadsPerChild to 64. To increase, please see the
 ThreadLimit directive.

Which didn’t make since, because I indeed set the ThreadLimit to 128.

Turns out, it was because I was restarting apache, rather than stopping, then starting it. -_____________-

Freebsd Apache mpm_worker

No Comments »

Building apache w/mpm_worker on FreeBSD breaks several ports. Add the following to /etc/make.conf in order to fix this issue:


Funny and Relatable Slashdot Comment

No Comments »

“why would serious business use shaky unstable things like btrfs? The “well tested” is relatively old, yes.”

Because developers aren’t the ones who have to wake up at 3AM when ShinyNewShitware shits itself and takes down production.


FreeBSD and KDE4, adjusting KDM settings

No Comments »

On FreeBSD using KDE4, if you run into issues when trying to change Login Screen Settings under System Settings, such as receiving the error “Unable to authenticate/execute the action: (code 4)”, make sure you edit /usr/local/etc/dbus-1/system.conf and add the following (the commented section will already be there):

<!-- Config files are placed here that among other things, punch 
       holes in the above policy for specific services. -->

Restarting dbus and logging out then logging in should suffice, otherwise just reboot. 🙂