search for: autoflush

Displaying 20 results from an estimated 24 matches for "autoflush".

Did you mean: auto_flush
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
.../www.xapian.org/docs/apidoc/html/classXapian_1_1WritableDatabase.html#a7 This is actually very easy to implement like so: * begin_transaction flushes any pending changes and sets an "in_transaction" flag * if "in_transaction" is set, we ignore explicit flushes and don't autoflush * cancel_transaction closes and reopens the Btree table (or calls a new method of Btree which has this effect but without all the file descriptor and memory allocation releasing and reobtaining) * commit_transaction flushes any pending changes and clears the "in_transaction" flag...
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
...il::IMAPClient; use IO::Socket::SSL; my $debug=1; my $salearn; my $username = 'user'; my $password = 'password'; my $server = 'server.example.com'; my $ssl=new IO::Socket::SSL("$server:imaps"); die ("Error connecting - $@") unless defined $ssl; $ssl->autoflush(1); my $imap = Mail::IMAPClient->new( #Server=> 'imapmailhost:143', Socket => $ssl, User => $username, Password => $password,...
2012 Jul 11
6
certname doesn't seem to work on the agent
...ed to evaluate the manifest is also the FQDN. I would like to set it up so that, for all intents and purposes, the node/agent has a different name. I''m running Puppet 2.7.6 via Apache/Passenger. Here is my agent config: [agent] # Whether log files should always flush to disk. autoflush = true # Reporting setup for Puppet Dashboard report = true # Randomize agent runs to avoid clusters splay = true # The main Puppet configuration directory. The default for this parameter is calculated based on the user. If the process # is running as root or the user...
2009 May 27
1
avoiding spanning packets
...algorithms, at the expense of introducing more variance in the page size. I say half a patch because the self tests haven't been updated for the new behaviour, so 'make check' fails. Also, you know, it needs review. Let me know what you think. Somewhere I also have a patch to make the autoflush threshold adjustable, which helps reduce overhead on video streams. At SD resolutions and above, the default 4k threshold is too low and packets usually end up spanning multiple pages. The target value is stashed at the end of the the internal lacing vals array, one of the few private areas allocat...
2008 Feb 12
0
Running a perl script in a rails application
...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 with RoR? Or is there some AJAX solution? I''m new to rails so any help is much appreciated. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed t...
2008 Dec 18
3
errors after 0.24.7 upgrade ..
...ppet/rails.log]/owner (warning): Cannot manage ownership unless running as root My puppet.conf looks like: [main] modulepath = /opt/puppet/modules:/usr/share/puppet/modules masterlog = $logdir/puppetmaster.log manifestdir = /opt/puppet/manifests bucketdir = /opt/puppet/bucket autoflush = true logdir = /var/log/puppet ssldir = $vardir/ssl factpath = $vardir/lib/facter vardir = /var/lib/puppet rundir = /var/run/puppet pluginsync = true certdnsnames = puppet:< removed > report = true configtimeout = 300 puppetdlog = $logdir/puppetd.log...
2005 Dec 21
0
Ferret and Rails transaction
...redirect_to :action => ''new'' end end end How does it work, or at least how do I think it works. If everything goes well, the entry gets in the Ferret index. I had to use index.flush, because without I got a lock. Don''t know why this happens, because I set autoflush to true. When I have a validation error (field of form is empty, or...) in my model, the else part of @ad.save is taken, there I close the index. I don''t know if this is necessary, but just to be sure. When their is another error: ferret index is not available, trying to add wrong field or...
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"
...nf on the puppet agent (note, the server is not puppet.example.org): [agent] server = myserver.example.org report = true listen = true puppetdlog = /var/log/puppet/puppet.log logdir = /var/log/puppet httplog = /var/log/puppet/http.log autoflush = true Any help would be greatly appreciated. Thank you, Edwin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-us...
2012 Aug 23
1
Puppet Agent VS User
...sion-production debug: Using cached ce ..............* it works* ## User mode config root@vusion-production:~# puppet config print all --mode user allow_duplicate_certs = false archive_file_server = puppet archive_files = false async_storeconfigs = false authconfig = /etc/puppet/namespaceauth.conf autoflush = false autosign = /etc/puppet/autosign.conf bindaddress = "" bucketdir = /var/lib/puppet/bucket ca = true ca_days = "" ca_md = md5 ca_name = Puppet CA: vusion-production ca_port = 8140 ca_server = puppet ca_ttl = 5y cacert = /var/lib/puppet/ssl/ca/ca_crt.pem cacrl = /var/lib/pu...
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_LATEX...
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_LATEX...
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 ...
...debug: puppet: Setting logdir to ''/var/log/puppet'' debug: puppet: Setting rundir to ''/var/run/puppet'' debug: puppet: Setting ssldir to ''$vardir/ssl'' debug: puppet: Setting report to ''true'' debug: puppet: Setting autoflush to ''true'' debug: puppetd: Setting classfile to ''$vardir/classes.txt'' debug: puppetd: Setting localconfig to ''$vardir/localconfig'' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:229: warning: Insecure world writable dir /home/INTERNAL...