4,474 reputation
1724
bio website BlackMesh.com
location
age
visits member for 4 years, 6 months
seen Dec 3 at 20:52

Director of Emerging Technology at BlackMesh Managed Hosting, longtime Linux aficionado, sometime Drupal developer (and d.o sysadmin), and occasional filesystem tinkerer.


Aug
26
revised Upgrade from php53 to php53u (epel to IUS repositories) - Centos 6.4
added 6 characters in body
Aug
26
comment Avoiding Nagios commands.cfg
Yep! I'd add that you can also do $USER1$/footest $ARG1$ if you don't have a reasonable ability to guess what parameters might be required; you can then use a check_command like footest!-b something -c something.
Aug
26
answered Avoiding Nagios commands.cfg
Aug
26
comment PHP Files being cached by unknown entity
Consider disabling any other accelerators or code-encryption providers, such as Zend or Ioncube. Also, as a debugging step, add an echo above the code that is erroring out, just in case you're not quite running the code you think you are.
Aug
8
comment PHP Files being cached by unknown entity
It sounds like a situation where you are editing, for example, the copy of the file in /var/www2/html, whereas the DocRoot is set to /var/www/html. Try something like updatedb && locate somefile.php to see where else it might be finding the file in question.
Aug
8
answered conversion of a VMDK image with qemu-img failed with “error while reading sector 131072: Invalid argument”
Aug
7
revised PHP Files being cached by unknown entity
This is why we don't type answers when we are distracted.
Aug
7
answered PHP Files being cached by unknown entity
Aug
7
comment PHP Files being cached by unknown entity
Assuming it's not being reached directly, try adding some disk logging (or syslog()) to both the calling page and the file in question.
Aug
7
comment PHP Files being cached by unknown entity
How is the file in question being run? Via {include,require}{,_once}()? If so, how is the file you are using to test being run? For example, could this be an issue of browser cache?
Jul
27
awarded  Favorite Question
Jul
5
comment Varnish memory management
Varnish uses the cache you have configured it to use. It will not respond to a low-memory condition by switching to a disk-backed cache. It does not monitor, at any level, whether you are running out of RAM. It concerns itself solely with itself. To emphasize: it will happily allocate more RAM to store the unlikeliest result in its LRU list, at the expense of causing the OOM killer to kick in and kill mysqld. It simply doesn't know or care. It uses what you've told it to use.
Jun
24
awarded  Yearling
Jun
20
answered Monitor Services with $ in the service name in Icinga / Nagios
Jun
20
comment varnish error 503 service unavailable guru meditation
Correct. To put it another way: either drop the ^ and $, or swap == for ~, in the line where you test for whether to set req.backend to app02.
Jun
20
comment How to do a file/dir exists conditional in Puppet?
You are absolutely correct. Thank you for the taking the time to find that link. I have deleted my comment so as not to confuse the issue. I would like to propose an update your answer, however. Manifests are compiled on the master, but are evaluated on the client. In particular, without this clarification, the mechanism of function of "onlyif" and similar directives becomes unclear.
Jun
17
revised Is there a way to programmatically add a service to Nagios?
added 4 characters in body
Jun
17
answered Is there a way to programmatically add a service to Nagios?
Jun
10
comment extract file on remote server without SSH access
@MIfe Good point! Big enough for a 10+ MB database, given that we're compressing. But yes, for bigger sizes, simply throw the base64 data into a file on the destination side. To re-emphasize: not always the most elegant solution, but occasionally the most practical. Use other solutions if you can.
May
31
comment How do I improve the performance of my Drupal site with a lot of concurrent users?
Excellent! To this I'd add a few notes: 1) Be sure to enable and configure APC. In particular, ensure your apc.shm_size is sufficient to avoid filling the cache. 2) The importance of a tool like Varnish cannot be overstated. Even if 100% of your pages are dynamic and uncacheable, a good VCL will enable you to remove all load related to static content like images, meaning you'll still see a benefit. 3) memory_limit=6000M is not just absurd, it's actually bad. If you have an out-of-control child, you want it to die much sooner than after it malloc(6g)s (and probably OOMs the box).