Hi,
I have a bizzare problem that I don't think is actually drupal, but it only happens in drupal.
In short, if my site sits idle for a short period of time then the 1 request gives me just a partial part of $conf but then every other request after that is fine until another extended period of idle.
I don't think its something drupal specific because I rsync'ed the whole drupal install off another of my servers and I don't have the same problem on that machine.
I can reproduce this on the command line 100% of the time, for example:
<?php
include_once('./includes/bootstrap.inc');
// disable error reporting for bootstrap process
error_reporting(E_ERROR);
// let's bootstrap: we will be able to use drupal apis
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
// enable full error reporting again
error_reporting(E_ALL);
global $conf;
print_r($conf);
?>
After the idle time when I run the above $conf just has a few things in it, cron_semaphore and rules_inactive_sets and reverse_proxy.
If I turn around and run it again, everything is in there and I can run it 100 times after that and it always has everything in it. Its not until I let it sit idle for a while that it will revert to showing me just the cron_semaphore and rules_inactive_sets and reverse_proxy and nothing else.