Displaying 20 results from an estimated 24 matches for "autoflushing".
2006 Mar 01
0
rails equivalent of autoflush
Hello,
Is there an option in rails that will tell the action to output data
to the browser immediately rather than waiting until it''s completely
done. In the perl/mason world there is an autoflush command that does
what I''m looking for.
Thanks,
Mark
2006 May 08
3
Index::Index.new vs. Readers and Writers
Hey gang,
A post on the Rails forum a while back had it sound like you pretty much
had to use the Index Readers & Writers if you were going to be
potentially accessing an index from more than one process. (i.e.
multiple dispatch.fcgi''s, etc)
Is this still the case, or does the main Index class do that black magic
behind the scenes? =)
I was having trouble implementing the
2004 May 05
1
buffered tables, sessions, and transactions
...Remove cancel_transaction
* Rename commit_transaction to end_transaction
* flush is deemed as invalid (or ignored) when in a transaction
* begin_transaction sets an "in_transaction" flag
* if "in_transaction" is set, we don't autoflush
* (Possibly) if we're close to autoflushing already, begin_transaction
could autoflush
The only loss of effiency now is a tiny housekeeping overhead, and the
loss of autoflushing during the transaction (which is only going to be
noticable for a large transaction).
Thoughts?
And lastly, begin_transaction's docs currently say:
&quo...
2007 Jan 10
7
Problem adding facts ...
I have created my first ''fact'', first attempt at Ruby too, and
configured the fileserver to server it but when a Fedora (5 or 6)
client sync''s puppetd appears to hang. CentOS clients sync and use the
new fact fine.
Find attached the fact file and the output from ''puppetd --debug
--factsync'' on a FC5 client is below. This is a 0.20.1 client and
2012 Jun 14
15
Problem with Load Balancing Puppet masters with Apache mod_proxy
I have a single LB running Apache with mod_proxy in front of a Puppet
master. These are the LB and Puppet master configs:
<Proxy balancer://puppetmaster>
BalancerMember http://192.168.1.10:8140
</Proxy>
Listen 8140
<VirtualHost *:8140>
SSLEngine on
SSLCipherSuite SSLv2:-LOW:-EXPORT:RC4+RSA
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite
2007 Oct 09
1
SpamAssassin and Public Namespace
Hi I know i might get flamed for asking this in the dovecot mailing list
instead of the spamassassin one but i thought someone might be kind
enough to help anyway.
TIA
I'm trying to do site-wide spam filtering with a public namespace but
it's not reading the folder i have in the public namespace
This is the public namespace set in my dovecot.conf
#public spam folder
namespace public
2012 Jul 11
6
certname doesn't seem to work on the agent
Hi guys,
I have a box that needs to identify itself to the puppetmaster as something
different from the FQDN. I added certname to the agent configuration before
the first run, but it doesn''t seem to be sufficient. The certificate was
generated for the FQDN, and the host appears in the dashboard as the FQDN,
and the node name used to evaluate the manifest is also the FQDN. I would
2009 May 27
1
avoiding spanning packets
Monty,
I recently noticed half a patch in my libogg tree, and thought I'd
forward it for discussion. I did this some time ago when were were
talking about the long pages issue.
The basic idea is to allow pages to grow up to 100% above the flush
threshold if this allows us to end at a packet boundary. This reduces
the frequency of pages with spanning packets which should be some
assistance to
2008 Feb 12
0
Running a perl script in a rails application
I have a perl script that will be executed in one of my controllers
and will produce text output for a period of time. When I hit my rails
app, the page doesn''t render until the perl script has fully completed
running and then I''ll see all the output in one shot. I know with CGI
I can just autoflush to see the output as it''s produced. Is there some
similar functionality
2008 Dec 18
3
errors after 0.24.7 upgrade ..
After upgrading my puppetmaster to 0.24.7 from 0.24.6 i am getting the
following errors in the puppetmaster logs. Any help would be appreciated.
Thu Dec 18 16:11:39 +1100 2008 Puppet (err): Could not store configs:
undefined method `environment='' for #<Puppet::Rails::Host:0xb72c0c38>
I do not use environment''s and they are not defined anywhere in the
puppet.conf
2005 Dec 21
0
Ferret and Rails transaction
Hi,
following the discussion about acts_as_ferret on the Rails mailinglist,
there was an issue about transactions, which could result in beind the
database and ferret out of sync. I have taken a different approach from
acts_as_ferret trying to resolve the transaction problem. Instead of adding
things to the ferret index in the model, I have added it in the controller.
I have only the create part
2006 Mar 01
9
Updating Index Is Very Slow
Hi,
I am experiencing very poor performance when updating my index. For
example, to update the index for 10 documents, it is taking 3 to 4
seconds. My index is currently very small... with probably less than
100 docs in it.
I have created my index as follows:
GIFT_INDEX = Index::Index.new(:path => "#{index_dir}/gift", :key =>
''id'', :auto_flush => true)
2007 Jul 26
2
BUG?: Assigning a Perl script as user shell + sending commands on ssh connect
Hi,
This is sort of a strange issue. But I am experimenting with ways to
have a user log in and be presented with a perl script to interact
with. When I do either or both of the following:
1) set the user's shell to /usr/bin/myperlscript
2) specify ForceCommand /usr/bin/myperlscript, applied to my user
...I get strange behavior when a command is appended to the client
connect
2011 Feb 09
2
puppet kick and "Could not set 'file on ensure: Is a directory - /var/lib/puppet/facts"
Hello puppet world,
I''m sure this is probably an easy fix, but I cannot seem to resolve this
issue. The puppetmaster starts correctly and so does the puppet agent,
which receives the update correctly if I restart the puppet agent
service manually or during the timed updates; however, if I perform an
"puppet kick", it just fails with the following error:
Triggering
2012 Aug 23
1
Puppet Agent VS User
Hello,
Running into a problem when wanting to daemon-ize the agent. It doesnt
seems to do anything:
- cannot find any daemon process with (ps aux | grep puppet)
- the config is not updated after editing some params on the master
- /var/log/puppet stay empty...
while, when logged as root, it is working without issue with $puppet agent
--test.
##Conf
Ubuntu 12.04
Puppet 2.7.11
## Daemon is
2007 Apr 16
4
Error on first run
I install puppet as part of a Fedora and CentOS kickstart install and
this use to provide a nicely configured client immediately after the
first reboot from the kickstart completion. However with 0.22.3 i now
see the following error on puppets 1st run, as a result the client is
not configured.
The problem is easily rectified by connecting to each client and
restarting puppet.
I have also
2008 Dec 22
0
R 2.8.1 is released
...ave a faulty
conversion. Most cases are now detected and corrected, but
give a warning as such code will not work correctly in earlier
versins of R.
Also, use of \code{} inside a code block such as \examples{}
will give a erroneous conversion that is now detected and
warned against.
o Autoflushing of stdout is turned on when Rd processing, so
warnings/error are likely to appear in the right place in
redirected output (such as that from R CMD check).
UTILITIES
o R_PDFLATEXCMD is added to the environment variables set by
'R CMD' and is used by R CMD Rd2dvi.
R_LATEXCMD...
2008 Dec 22
0
R 2.8.1 is released
...ave a faulty
conversion. Most cases are now detected and corrected, but
give a warning as such code will not work correctly in earlier
versins of R.
Also, use of \code{} inside a code block such as \examples{}
will give a erroneous conversion that is now detected and
warned against.
o Autoflushing of stdout is turned on when Rd processing, so
warnings/error are likely to appear in the right place in
redirected output (such as that from R CMD check).
UTILITIES
o R_PDFLATEXCMD is added to the environment variables set by
'R CMD' and is used by R CMD Rd2dvi.
R_LATEXCMD...
2013 Oct 11
9
[PATCH OSSTEST 0/6] Support for serial logs from marilith boxes
The marilith boxes use a conserver (http://www.conserver.com/) setup for
serial access. Our installation exports the logs via http allowing us to
grab them with wget.
Sending debug keys with is handled separately via xenuse. xenuse
ultimately speaks to the conserver too but it abstracts away the IP and
port to use so this is preferred.
With these changes the correct Serial hostprop for a
2007 Apr 17
7
Still having factsync trouble ...
Some time ago i sent to the list a problem i was having with facts on
fedora core 6 and wasn''t able to find a solution at that time, but with
the release of RHEL5 and CentOS 5 based on fc6 i have hit the problem again.
i have written several facts to collect information about a clients
network and i am also using the vmware fact from the wiki. i have
separated my original fact into