Sure, I just meant that running it manually was stupid, but cron makes perfect sense. Or doing something else, like Clayton was doing with his earlier versions.
-----Original Message----- From: Vadim Pushkin [mailto:[EMAIL PROTECTED] Sent: Wed 7/19/2006 5:44 PM To: Freeman, Michael; [email protected] Cc: [EMAIL PROTECTED] Subject: Re: [Php-syslog-ng-support] Host count on main page is broken? On the contrary, this *is* the best way. Try loading data, especially from very chatty NT boxes, then reload everytime you do a search, see how long this takes. You can always run this from cron, same way you do logrotate.php, or even manually after you've pointed a new server at it, but *not* dynamically, that would be far too ineffective... >From: "Freeman, Michael" <[EMAIL PROTECTED]> >That is sub-optimal.. It should be done "on-demand".. > >-----Original Message----- >From: Vadim Pushkin [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 19, 2006 5:23 PM >To: Freeman, Michael; [email protected] >Cc: [EMAIL PROTECTED] >Subject: RE: [Php-syslog-ng-support] Host count on main page is broken? > >When you go to "Config" then to the bottom of that page and click on >"Reload Cache", it updates the names and count of all of the hosts you >have as an option on the first page. > >.vp > > >From: "Freeman, Michael" <[EMAIL PROTECTED]> > > >Re-load cache? 8) why would I do that? > > > >-----Original Message----- > >From: Vadim Pushkin [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, July 19, 2006 5:00 PM > >To: Freeman, Michael; [email protected] > >Cc: [EMAIL PROTECTED] > >Subject: RE: [Php-syslog-ng-support] Host count on main page is broken? > > > > > >Look in includes/search.php and search for hostcount and hostarray. > >Mine shows this properly, have you re-run the reload cache? > > > >.vp > > > > > > >From: "Freeman, Michael" <[EMAIL PROTECTED]> > > > > >The counter that displays how many hosts are in the database on the > > >mainpage only shows two hosts, from the sample data, when I know > > >there are at least 3. > > > > > >How is this being built? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Php-syslog-ng-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support

